Page 1 of 8
LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 11:27 am
by neuron
Hey Riley, I posted some information about the LTAR TRRS Protocol to the modders page last night. I think you asked a question about the frequency of the signals last night. My wife does the facebook thing so I can't actually see the page since it's private. It was late and I tried responding on her phone so I'm sure it wasn't a great answer.
Edit: Updating some incorrect information I had posted.
The lower frequencies are around 2Khz and the higher frequencies are around 4khz.
Here's a picture of the frequency spectrum as seen in Audacity.
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 11:36 am
by neuron
Here's an example of a single tagger shot. I tried to make it lighter in the picture. The heart beat or pulse come at regular intervals. It's pretty much right on at 1 second.
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 11:49 am
by neuron
So, in the post from last night, if you zoom in on the heartbeat portion of the waveform you'll see something like attached picture. This is zoomed in to the heartbeat. It's right before the gun trigger is pulled. I set the team to team 2 in the attached picture.
![zoomed_in.png](./download/file.php?id=7&sid=68d537522acf05c57b5bf318332dcb1c)
- zoomed_in.png (66.37 KiB) Viewed 18746 times
Edit: After some additional guidance this is how the bits are separated 0xxxxxxxx11. The x bits, 8 of them, are the data and the initial 0 and ending 11 are the tokens.
Code: Select all
Player / Tags n = total ammo Minutes Seconds Check
Team Health Magazine nnnnnnnn nn Shield Left Left Sum
0xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx110xxxxxxxx11
00100000011000010000110100000011100101000011001010000110111111111101111111111011110000110000000001101000000011001001010
aaabb??? gg h
aaa - Player number when networked, 000 - 111 is 8 Players
bb - Team number
??? - Not sure yet ... maybe Game Type
gg - When changing the gun to auto these bits change
h - LTTO Hunt when the team being hunted changes this bit also changes. Only confirmed as Team 2 Player 1
Magazine - The number of shots, or ammo you have before you need to reload
n - This is the total amount of shots or ammo you have for the whole game. These bits are set when Reload is limited in network mode.
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 12:05 pm
by riley
This is great stuff. Thanks for the info.
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 12:11 pm
by neuron
Cool deal. I hope people find it useful. And it's much easier to post on a forum or wiki.
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 1:30 pm
by riley
Did you save any of these recordings? Could you send some to me at
[email protected]?
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 1:46 pm
by neuron
Yeah, I was saving them at first, but it's pretty easy to recreate them. I can make whatever configuration with the tagger you want. I was saving them in a raw format because I was initially doing some other processing with them, so I'll save some in wav format and send them to you. Any requests for what you would like to see? Also do you want the countdown sequence included?
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 6:31 pm
by neuron
Hey Riley, I think it was mentioned that the higher frequency represents 1's and not 0's, but I'm not sure. Can you confirm for me when you get a chance?
Re: LTAR TRRS Protocol
Posted: Tue Mar 28, 2017 8:07 pm
by riley
Ryan confirmed on Facebook that the higher frequency represents 0.
Re: LTAR TRRS Protocol
Posted: Sat Aug 05, 2017 10:32 am
by DrDDS
Hey guys. I had heard there was some additional discussion here regarding the TRRS protocol on the LTAR. I wanted to ask about the conditions when you are reading these signals. Are you connected to a smart device? Are you reading just the raw output from the TRRS cable without anything attatched? Or perhaps with Ryan's displays attatched? I would love to start participating in this discussion. Thanks for your hard work with this. I think this is a huge step forward!