You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check out Cleanurge Backend Docs for detailed information about all the routes.
All the appropriate routes along with their HTTP methods are commented in PIO-Arduino/src/main.cpp methods shown below:
void send_http_alive(): Makes a get request with the Device ID and receives the waste threshold and update it, this has to be done more frequently to stay updated
void send_data_http(): Sends the waste level to the server (along with the location once on boot, check booted flag state to do this "once in boot" event), this has to be done every 'n' hours, check the value of http_timing.
The text was updated successfully, but these errors were encountered:
Check out Cleanurge Backend Docs for detailed information about all the routes.
All the appropriate routes along with their HTTP methods are commented in PIO-Arduino/src/main.cpp methods shown below:
send_http_alive()
: Makes a get request with the Device ID and receives the waste threshold and update it, this has to be done more frequently to stay updatedsend_data_http()
: Sends the waste level to the server (along with the location once on boot, checkbooted
flag state to do this "once in boot" event), this has to be done every 'n' hours, check the value ofhttp_timing
.The text was updated successfully, but these errors were encountered: