Can't get new eRPC Wifi Api working on Wio Terminal

Hello,
I could work successfully with the atWiFi Api on the Wio Terminal.
Since this Api is going to be replaced by the new rpcWiFi, I wanted to switch to the new Api.
I followed the tutorial https://wiki.seeedstudio.com/Wio-Terminal-Network-Overview/#update-the-wireless-core-firmware
to update the Wio Terminal to the new firmware (https://github.com/Seeed-Studio/seeed-ambd-firmware/releases/download/v2.0.1/20201106-seeed-ambd-firmware-rpc-v2.0.1.zip) where everything worked as explained in the tutorial on my Windows 10 PC.
(It seemed remarkable that the firmware files were much smaller than they were before. Is this correct?)
Then when I tried to run the first example code from https://wiki.seeedstudio.com/Wio-Terminal-Wi-Fi/

  #include "rpcWiFi.h"
 
void setup() {
Serial.begin(115200);
while(!Serial); // Wait for Serial to be ready
delay(1000);
 
// Set WiFi to station mode and disconnect from an AP if it was previously connected
WiFi.mode(WIFI_STA);
WiFi.disconnect();
delay(100);
 
Serial.println("Setup done");
}

the program reached to line: WiFi.mode(WIFI_STA);
but didn’t return from this function.
What could I be doing wrong?
Kind regards
RoSchmi

After another try following this video tutorial I finally got it working.


I don’t know what I did wrong before.
Thanks to Seeed Studio for the comprehensive tutorial.
RoSchmi
1 Like