[CRITICAL] Alvik / Nano ESP32 - Cloud Association Failure: "Unknown Device" and Sketch Upload Blockage

Hello everyone,

I'm facing a frustrating issue that prevents me from properly associating my Arduino Alvik (which uses an Arduino Nano ESP32 as the main controller) with the Arduino IoT Cloud.

The core problem lies in the device recognition and provisioning flow on the Cloud platform:

The Exact Problem and the Interrupted Flow

  1. Adding the Device (Add Device): When I go to Devices and click "Add Device," the Nano ESP32 on my Alvik is not detected at all by the Cloud Agent.

  2. Manual Setup: I am forced to manually configure the device as Arduino Nano ESP32 in compatible devices.

  3. Thing Association: Only after the manual setup can I create a Thing and associate my Alvik with it.

  4. Upload Blockage: Once the Thing is created and I open the generated Sketch (which contains the required Thing libraries and credentials), the Cloud DOES NOT RECOGNIZE THE CONNECTED BOARD. It doesn't allow me to select it or upload the code, because the device provisioning (secure association) process was never completed.

The only condition under which the Cloud editor can "see" and upload a sketch to the board is this:

  • If I go to the Sketch editor without an associated Thing, the editor detects the port as "Unknown Device".

  • If I select it and manually choose Arduino Nano ESP32 from the list, the editor unlocks, and I can upload a generic sketch.

Alvik is physically detected by the Cloud Agent, but it is not recognized as a registered/provisioned device (with its unique Device ID and Secret Key).

Has anyone solved this specific failed handshake issue with the Alvik's Arduino Nano ESP32?

Thank you for any suggestions on how to overcome this deadlock and get Alvik properly registered with the Cloud!