首页 > 解决方案 > Azure Sphere MT3620 稍后重试以发送到 IoT 中心

问题描述

如果连接丢失,尝试查找有关在 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 事件?

标签: azure-iot-sdkazure-sphere

解决方案


您可以使用 Azure Sphere 的可变存储类型。可变存储存储设备重新启动时持续存在的数据。看这里怎么做。

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


推荐阅读