sxjack / uav_electronic_ids

Arduino classes for various UAV electronic IDs and ATM/UTM interfaces.
MIT License
64 stars 27 forks source link

Not an issue but a question #14

Closed simon88 closed 2 years ago

simon88 commented 2 years ago

Hi,

I'm lokking in the source code, and in id_open.cpp line 706 I have this

// Pack the WiFi data. // One group every 300ms and another every 3000ms.

If I want to change the time for example 300ms to 500ms where is it the ino file or in the lib ?

sxjack commented 2 years ago

The timing is controlled by the code starting at line 594. Changing the 74 to 124 would do what you want.

FYI, the 300ms/3s split goes back to an old opendroneid specification and probably should reviewed.

simon88 commented 2 years ago

Thanks @sxjack , by the way the 300ms/3s is good, acutally in EU for example the maximum time to send packet are 1s/3s