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.
LTAR TRRS Protocol
LTAR TRRS Protocol
- Attachments
-
- Specg.png (39.42 KiB) Viewed 24599 times
Last edited by neuron on Tue Mar 28, 2017 6:37 pm, edited 1 time in total.
Re: LTAR TRRS Protocol
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.
- Attachments
-
- SingleShot.png (69.57 KiB) Viewed 24612 times
Re: LTAR TRRS Protocol
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.
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.
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.
Last edited by neuron on Thu Aug 31, 2017 8:53 pm, edited 9 times in total.
Re: LTAR TRRS Protocol
This is great stuff. Thanks for the info.
Re: LTAR TRRS Protocol
Cool deal. I hope people find it useful. And it's much easier to post on a forum or wiki.
Re: LTAR TRRS Protocol
Did you save any of these recordings? Could you send some to me at riley@lazerswarm.com?
Re: LTAR TRRS Protocol
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
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
Ryan confirmed on Facebook that the higher frequency represents 0.
Re: LTAR TRRS Protocol
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!