Azure Sphere MT3620稍后重试以发送到IoT中心

时间:2019-05-22 14:04:14

标签: azure-iot-sdk azuresphere

如果连接丢失,尝试查找有关在Azure Sphere MT3620设备上存储本地信息的任何信息。某种故障回复存储供以后重试?

示例

Try to send a timestamp that the button was press to Azure IoT Hub
Connection failed due to the wifi router was unplugged.
Save that event to some type of on non-volatile storage.
When the chip does comes online the ship send all of the data that it was unable to send when it was offline.

读取该芯片有两个内核,是否有可能在发生故障时将一个设置为日志,另一个设置为发送,以使该内核不会阻止io事件?

1 个答案:

答案 0 :(得分:0)

您可以使用可变存储类型的Azure Sphere。可变存储器存储设备重启时仍保留的数据。请参阅here的操作方法。

[编辑] Azure Sphere 19.05版本解锁了驻留在MT3620(ARM Cortex-M4F)上的实时功能内核。该操作系统和SDK支持在MT3620的两个M4内核上开发,部署和调试SPI,I2C,GPIO,UART和ADC实时功能的应用程序。