flighttactics / TAKTracker

iPhone version of the TAK Tracker Application
Other
19 stars 4 forks source link

TAK Chat #12

Open CoryFoy opened 1 year ago

CoryFoy commented 1 year ago

Is your feature request related to a problem? Please describe. Users of TAK Tracker may need a way to send messages to other team members. TAK Chat is the standard way of doing this.

Describe the solution you'd like We already have the screen for TAK Chat. This will need to implement two-way comms for sending and receiving messages, as well as displaying message counts in the icon when a new message comes in. Might be a nice feature to have a Notification Center alert on new messages with a badge count update.

CoryFoy commented 1 year ago

Moving to Milestone 1.1. We were able to successfully send chat messages and have them received by ATAK, but upon inspection receiving them requires immediately diving into the Protobuf hybrid message format

Here's the Spec https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/master/atak/docs/TakChatSpec.odt

Some other handy reference links

https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/tree/master/takproto

https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/22d11cba15dd5cfe385c0d0790670bc7e9ab7df4/atak/ATAK/app/src/main/java/com/atakmap/android/chat/ChatMessageParser.java#L371

https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/22d11cba15dd5cfe385c0d0790670bc7e9ab7df4/takcot/xsd/details/__chat.xsd

https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/22d11cba15dd5cfe385c0d0790670bc7e9ab7df4/atak/ATAK/app/src/main/java/com/atakmap/android/chat/GeoChatService.java#L557

https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/22d11cba15dd5cfe385c0d0790670bc7e9ab7df4/commoncommo/core/ChangeLog.txt#L916