如果连接丢失,尝试查找有关在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事件?
发布于 2019-05-30 14:18:58
您可以使用Azure Sphere的可变存储类型。可变存储设备重新启动时持续存在的数据。请看这里如何做到这一点。
编辑AzureSphere19.05发行版,解锁驻留在MT3620 (ARM Cortex-M4F)上的实时内核。OS和SDK支持在M4 3620的两个M4核上开发、部署和调试SPI、I2C、GPIO、UART和ADC实时应用程序。
https://stackoverflow.com/questions/56258710
复制相似问题