mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* 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:
parent
2e3d2d13b2
commit
f46263a263
4 changed files with 26 additions and 7 deletions
|
|
@ -115,6 +115,7 @@ class MyMesh : public BaseChatMesh, ContactVisitor {
|
|||
success = success && (file.read((uint8_t *) &c.out_path_len, 1) == 1);
|
||||
success = success && (file.read((uint8_t *) &c.last_advert_timestamp, 4) == 4);
|
||||
success = success && (file.read(c.out_path, 64) == 64);
|
||||
c.gps_lat = c.gps_lon = 0; // not yet supported
|
||||
|
||||
if (!success) break; // EOF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue