* ContactInfo, added gps_lat, gps_lon

* companion_radio: now also save gps_lat, gps_lon
* BaseChatMesh: now parses gps_lat, gps_lon out of Advertisement
This commit is contained in:
Scott Powell 2025-01-29 13:56:39 +11:00
parent 2e3d2d13b2
commit f46263a263
4 changed files with 26 additions and 7 deletions

View file

@ -17,6 +17,7 @@ struct ContactInfo {
uint32_t last_advert_timestamp; // by THEIR clock
uint8_t shared_secret[PUB_KEY_SIZE];
uint32_t lastmod; // by OUR clock
int32_t gps_lat, gps_lon; // 6 dec places
};
#define MAX_SEARCH_RESULTS 8