Yes, it is possible. If you want to treat the data as files, you will need to use a third-party library. The pico-vfs library allows you to read and write files within a file system deployed on the onboard flash.
The pico-vfs library includes sample code for an MQTT client that stores sensor data in a file when the network is disconnected and sends it once the network is restored.
https://github.com/oyama/pico-vfs/blob/ ... ent/main.c
The pico-vfs library includes sample code for an MQTT client that stores sensor data in a file when the network is disconnected and sends it once the network is restored.
https://github.com/oyama/pico-vfs/blob/ ... ent/main.c
Statistics: Posted by 0yama — Sat Jul 06, 2024 6:41 am