Hello, I am using my android hotspot, my ssid is short, my passcode is short. in the serial monitor, i am seeing the following. I would appreciate any sort of help, Thanks.
ArduinoIoTCloudTCP::begin could not read device id.
***** Arduino IoT Cloud - configuration info *****
Device ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
MQTT Broker: iot.arduino.cc:8883
WiFi.status(): 0
Current WiFi Firmware: 0.4.1
Connected to "paophone"
TimeServiceClass::getRemoteTime cannot get time from NTP, fallback on connection handler
TimeServiceClass::getRemoteTime cannot get time from connection handler
ArduinoIoTCloudTCP::handle_SyncTime could not get valid time. Retrying now.
TimeServiceClass::getRemoteTime cannot get time from NTP, fallback on connection handler
TimeServiceClass::getRemoteTime cannot get time from connection handler
ArduinoIoTCloudTCP::handle_SyncTime could not get valid time. Retrying now.
Firmware name: "/tmp/arduino-build-95D080D32334F77FC9C075BCD03D90B6/Crane_v0_2.ino", compiled on: Sep 17 2024
Fault on interrupt or bare metal(no OS) environment
===== Thread stack information =====
addr: 20007e28 data: 00000000
addr: 20007e2c data: 0000002f
addr: 20007e30 data: 0000000f
addr: 20007e34 data: 00000002
addr: 20007e38 data: 00000012
addr: 20007e3c data: 00000008
addr: 20007e40 data: 0000007c
addr: 20007e44 data: 00000003
addr: 20007e48 data: 00000105
addr: 20007e4c data: 00000000
addr: 20007e50 data: 20000e80
addr: 20007e54 data: 66ea37d3
addr: 20007e58 data: 20000cb4
addr: 20007e5c data: 20002d70
addr: 20007e60 data: 000022b3
addr: 20007e64 data: ffffffff
addr: 20007e68 data: 20003064
addr: 20007e6c data: 05000000
addr: 20007e70 data: 0001f000
addr: 20007e74 data: 0000c02f
addr: 20007e78 data: 0001e5ec
addr: 20007e7c data: 00000000
addr: 20007e80 data: 00000000
addr: 20007e84 data: 00000000
addr: 20007e88 data: 00000000
addr: 20007e8c data: 00000000
addr: 20007e90 data: 20000968
addr: 20007e94 data: 00004040
addr: 20007e98 data: 20000cb4
addr: 20007e9c data: 00004e89
addr: 20007ea0 data: 0001d4f1
addr: 20007ea4 data: 0000844f
addr: 20007ea8 data: 0000000e
addr: 20007eac data: 66ea37d3
addr: 20007eb0 data: 00100000
addr: 20007eb4 data: 20000968
addr: 20007eb8 data: 00004040
addr: 20007ebc data: 0000a500
addr: 20007ec0 data: ffffffff
addr: 20007ec4 data: 0000520d
addr: 20007ec8 data: 00000000
addr: 20007ecc data: 00004201
addr: 20007ed0 data: 00000000
addr: 20007ed4 data: 00014a91
addr: 20007ed8 data: 0001ef78
addr: 20007edc data: 40046f00
addr: 20007ee0 data: 00000000
addr: 20007ee4 data: 00014acf
addr: 20007ee8 data: 0001ef78
addr: 20007eec data: 0000c983
addr: 20007ef0 data: 0001ef78
addr: 20007ef4 data: 00011713
addr: 20007ef8 data: 00011709
addr: 20007efc data: 00002599
====================================
=================== Registers information ====================
R0 : 00000000 R1 : 20007e78 R2 : 20002d70 R3 : 2000399c
R12: 00000003 LR : 0000bdf5 PC : 2000399c PSR: 600f0000
==============================================================
Usage fault is caused by attempts to switch to an invalid state (e.g., ARM)
Show more call stack info by run: addr2line -e "/tmp/arduino-build-95D080D32334F77FC9C075BCD03D90B6/Crane_v0_2.ino".elf -a -f 2000399c 0000bdf4 0000c02e 00004e88 0000844e 0000520c 00004200 00014a90 00014ace 0000c982 00011712 00011708
And what did you see when you followed the debugging instructions above?
I am not sure what to do, or how to check that. I am new to arduino in general
What does your sketch do? do you have the same behaviour with all the sketches?
@charly_42 i see in your log
this means you do not have provisioned your device on ArduinoCloud.
You need to register your device first