Hello,
I am attempting to use my Arduino Nano 33 IoT board to connect to Blynk with Blynk.Edgent; however, I keep getting 701 errors that the board isn’t able to connect.
Here is my code for the main Edgent file:
/*
* Required libraries:
* - WiFiNINA
* - ArduinoOTA
* - ArduinoHttpClient
* - Timer5
*
* Please also update the WiFi module firmware, if needed
*/
// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLLiurIf6F"
#define BLYNK_DEVICE_NAME "Aquaponics System"
#define BLYNK_FIRMWARE_VERSION "0.1.0"
#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG
#define APP_DEBUG
#include "BlynkEdgent.h"
void setup()
{
Serial.begin(115200);
delay(2000);
BlynkEdgent.begin();
}
void loop() {
BlynkEdgent.run();
}
And here is the output:
[99090] WAIT_CONFIG => CONFIGURING
[99091] Sending board info...
[129231] Sending board info...
[129361] Sending networks...
[140697] Applying configuration...
[140699] WiFi SSID: **** Pass: *******
[140699] Blynk cloud: [I'm hiding my auth] @ blynk.cloud:443
[140700] CONFIGURING => SWITCH_TO_STA
[140704] Switching to STA...
[141705] SWITCH_TO_STA => CONNECTING_NET
[141706] Connecting to WiFi: ****
[205124] Last error code: 701
[205126] Configuration stored to flash
[205127] CONNECTING_NET => ERROR
[215134] Restarting after error.
I should note that I have not been able to find an Edgent file for the Arduino Nano 33 IoT, so I am using the Arduino MKR1010 file for Edgent that I found other people have seemed to have some luck with on my board.