Theta-Limited / OpenAthenaAndroid

OpenAthena allows common drones to spot precise geodetic locations
GNU Affero General Public License v3.0
65 stars 7 forks source link

Revise CoT UID format, display CoT name and number within app #141

Closed mkrupczak3 closed 4 months ago

mkrupczak3 commented 5 months ago

The UID format for OpenAthena v0.20 and earlier is:

OpenAthena-00000000-1

Where the middle 8 characters come from a sha256 hash of the device's hostname and the final characters after the dash are a unique serial number for calculations performed by the same device across any number of sessions.

An issue with this format however is it's very difficult to verbally disambiguate between CoT's generated by different users of OpenAthena on the same network. The format should be revised to one that is easier to relay verbally by humans.

mkrupczak3 commented 4 months ago

New format is:

OpenAthena-Alfa01-1

Where the middle characters are a NATO phonetic alphabet codeword for a letter A-Z followed by two digits 0-9. This gives 2600 possible permutations, which are now assigned based on Android_ID (an Android device UID) rather than hostname.

Should be fairly robust in practice with few opportunities for collision to occur.

Screenshot_20240620-185408

Screenshot_20240620-185422