I’m having trouble with getting the same functionality on the firmware side from these two boards. The basic scheme is:
- Power up and wait for a boot button press to request data from a Raspberry PI.
- It’s networking data so it asks for an SSID, password, and MQTT broker data.
- If the button is pressed within a specified delay the request is send, received data back and written to preferences.
- if no button press then the code used data already in preferences.
- Now the WiFi connection is established, followed by the broker connection.
- If all goes well we start publishing MQTT data now.
With the IoT board this isn’t an issue. However, when I’m using the same code with the Thing Plus it doesn’t go so well. Sometimes updated data doesn’t get stored to preferences properly but the biggest issue is the Thing never starts publishing data.
My question is, what course of action should I take to get the Thing Plus working as I want it to; what should I be looking at to fix this?
I could just use the IoT forever but I liked the range I could get with the Thing Plus with U.FL over the IoT.