You can first see what channels the old (atWiFI) Wio Terminal connected in your WiFi. Then in the new (rpcWiFi) Wio Terminal connect to the wifi with specific channel like this:
/**
* Start Wifi connection
* if passphrase is set the most secure supported mode will be automatically selected
* @param ssid const char* Pointer to the SSID string.
* @param passphrase const char * Optional. Passphrase. Valid characters in a passphrase must be between ASCII 32-126 (decimal).
* @param bssid uint8_t[6] Optional. BSSID / MAC of AP
* @param channel Optional. Channel of AP
* @param connect Optional. call connect
* @return
*/
wl_status_t WiFiSTAClass::begin(const char *ssid, const char *passphrase, int32_t channel, const uint8_t *bssid, bool connect)
{
if (!WiFi.enableSTA(true))
{
log_e("STA enable failed!");
return WL_CONNECT_FAILED;
}
if (!ssid || *ssid == 0x00 || strlen(ssid) > 31)
{