Contacts: Refresh downloads GET_CONTACTS into a backed-up Palm database (VisorMeshContacts), keeping the previous list if the download fails, and sorts by name. The screen lists name with type and route, taps show details (key prefix, last advert). Path lengths are decoded as hash size (bits 7-6) + hop count (bits 5-0), since PhillyMesh uses 2-byte hashes. session.c keeps unread received bytes across waits; before, bytes after a completed frame in the same read were dropped, which would lose back-to-back frames like the contact list. Settings commands get two tries (the Visor's USB link can drop while idle). Ports moves to an Options menu. Local presets (tools/local-presets.json, PhillyMesh) are listed before MeshCore's and survive gen_presets.py --fetch.
15 lines
405 B
JSON
15 lines
405 B
JSON
{
|
|
"comment": "Local mesh presets, listed before MeshCore's in the app. Not overwritten by gen_presets.py --fetch.",
|
|
"entries": [
|
|
{
|
|
"title": "PhillyMesh",
|
|
"description": "919.500MHz / SF10 / BW500 / CR5 / 2B",
|
|
"frequency": "919.500",
|
|
"spreading_factor": "10",
|
|
"bandwidth": "500",
|
|
"coding_rate": "5",
|
|
"network_settings": { "path_hash_size": 2 }
|
|
}
|
|
]
|
|
}
|