[Solved] MKR1000 hangs on trying to connect to Losant

In my previous post the last error that was received was error code 5 for Unauthorized. We have solved this issue.

The MKR1000\WiFi101 was trying to connect to the Losant Platform with an incorrect client certificate instead of using the device id, key, and secret. We implemented a fix which is active now that if the client certificate does not succeed that it will try again with the device id, key, and secret.

The steps above in the previous post still apply which are:

  1. Update the MQTT_MAX_PACKET_SIZE from 128 to 256 in PubSubClient.h
  2. Use the Arduino Firmware Updater to upload the broker.losant.com:8883 certificate to the MKR1000\WiFi101.

Thank you,
Kevin