paulmandal / atak-forwarder

Forwards packets to/from ATAK over an off-grid communication layer
MIT License
399 stars 42 forks source link

AtakUid is null, no location sent #153

Closed Josh-SMU closed 1 year ago

Josh-SMU commented 1 year ago

Meshtastic 2.0.14 and newest Forwarder. If device is managed by Forwarder it works, if managed by Meshtastic it does not. In the logging console, it says AtakUid=null despite being on the same channel and displaying the member name.

paulmandal commented 1 year ago

I'm not able to reproduce this -- I'm seeing markers with the device being managed by Meshtastic. Try clicking the "Broadcast Discovery" button and see if that sorts it out, the plugin uses that message to map ATAK UIDs to Meshtastic IDs. It may also be from having the Meshtastic app open in the background but that feels unlikely, still might be worth a try if you have it open.

Josh-SMU commented 1 year ago

I've hit the broadcast button a hundred times on both devices with no change.

Do you mean try NOT having Meshtastic open while ATAK is managing the device?

Josh-SMU commented 1 year ago

It is possible that my other issue is causing this? With the LongName ending in a special char?

It may be good to test that fix before tackling this one

Josh-SMU commented 1 year ago

I'll have to figure out how to set up Android Studio and test this; I might not have the bandwidth or knowledge to do this. My other thoughts are:

Josh-SMU commented 1 year ago

Actually after doing more testing the plugin is failing to communicate at all. I uninstalled and reinstalled the plugin, disabled plugin manages device, conigured the channel via the Meshtastic app, and even when hitting broadcast, nothing happens, not even in the debug panel (which I have set to verbose). However in Meshtastic I can send messages to the channel and both devices get it instantly.

Josh-SMU commented 1 year ago

Ok I have it working now, with Meshtastic Android 2.0.14 and firmware 2.017. The versions listed in your releases blurb crash ATAK and Android 2.0.9 fails. Marking this as closed