gauteh / sfy

🌊 A lightweight wave buoy for near-shore deployments.
MIT License
42 stars 6 forks source link

Requesting data #66

Closed gauteh closed 2 years ago

gauteh commented 2 years ago

Currently request-info is overwritten because of synchronization behavior, change to:

storage-info (only change by buoy):

request-data (change by hub, and delete by buoy):

if sent_id >= request_end: delete request-data AND sent_id if no request-data: delete sent_id (i.e. request has been cancelled by hub)