raytheonbbn / hammer

A software acoustic modem for the Android Team Awareness Kit (ATAK) that allows multiple ATAK devices to share data using only voice comms (e.g., over a walkie talkie)
GNU General Public License v3.0
151 stars 39 forks source link

Hammer Packet Preamble - Bug/Feature Request #15

Closed kenktk closed 3 years ago

kenktk commented 3 years ago

Howdy,

Hardware: 2x Pixel 3a 2x AnyTone 878UV 2x BTECH APRS Cable

Versions: ATAK - 4.3.1.5 Hammer - 4.3.1 GrapheneOS - Android 11

This feature request is based off of an issue I am currently having. When transmitting CoT markers or messages, the receiving radio returns "Error: src.length=8000 srcPos 4143 dst.length=2000 dstPos=0 length=3857", and "Error: bad checksum." I have heard the audio output of one of the radios and it seems like the packet header is not fully transmitted with the packet. I am aware that VOX has an inherent delay, and on my radios the minimum delay is 0.5 seconds. I believe that the Hammer CoT packet header is less than 0.5 seconds in length and does not fully transmit across the radios.

A note on APRSdroid: APRSdroid has mitigated this issue by adding a preamble time to open up VOX on the radio. The length of the preamble is adjustable based on the user's requirements. My feature request is that a similar adjustable preamble timer should be added to increase the compatibility on VOX based transmissions in Hammer. It seems as if it would not be too difficult to implement as it is simply adding time between Hammer outputting audio and when it begins sending data.

For any further questions in my testing environment, please leave them below. Thanks development team for this product.