The protocol defines the payload of an advert as:
| Field |
Size (bytes) |
Description |
| flags |
1 |
specifies which of the fields are present, see below |
| latitude |
4 (optional) |
decimal latitude multiplied by 1000000, integer |
| longitude |
4 (optional) |
decimal longitude multiplied by 1000000, integer |
| feature 1 |
2 (optional) |
reserved for future use |
| feature 2 |
2 (optional) |
reserved for future use |
| name |
rest of appdata |
name of the node |
The current parser (and AFAIK the mobile app) is not checking the flags bit and it's not parsing the feat1 and feat2 fields, it considers all app data as "name" which is incorrect.
The protocol defines the payload of an advert as:
The current parser (and AFAIK the mobile app) is not checking the flags bit and it's not parsing the feat1 and feat2 fields, it considers all app data as "name" which is incorrect.