Problem with a Plasma
Jeff
Posts: 374
Some of y'all will remember the plasma I have with a checksum integrated into its protocol. Such fun this thing is.
I'm having a bit of a problem with it. The protocol for the plasma is located here.
Basically, I got my checksum stuff taken care of. I have a function that adds a checksum onto each command on the way out, and I have a function that reads and parses them on the way in.
Now I'm having just a standard problem. My input switching and mode requests and such commands all work perfectly, but the audio control commands aren't doing anything. I'm not getting any response back from the plasma at all. I dont think this plasma responds to commands it doesn't like.
Where send_to_plasma is a function that takes what is in there and adds a checksum to the end, then sends it out.
I'm tracking the output in debug. Here is an example of what actually gets sent to the plasma
DF,80,60,7F,2,5,1,16,5C
That SHOULD work. I don't understand why nothing is happening.
Am I missing something stupid?
J
I'm having a bit of a problem with it. The protocol for the plasma is located here.
Basically, I got my checksum stuff taken care of. I have a function that adds a checksum onto each command on the way out, and I have a function that reads and parses them on the way in.
Now I'm having just a standard problem. My input switching and mode requests and such commands all work perfectly, but the audio control commands aren't doing anything. I'm not getting any response back from the plasma at all. I dont think this plasma responds to commands it doesn't like.
level_event[dvTP,17] //If the volume bar is touched { nVolume=level.value //Store the volume send_to_plasma("$DF,$80,$60,$7F,$02,$05,$01,nVolume") }
Where send_to_plasma is a function that takes what is in there and adds a checksum to the end, then sends it out.
I'm tracking the output in debug. Here is an example of what actually gets sent to the plasma
DF,80,60,7F,2,5,1,16,5C
That SHOULD work. I don't understand why nothing is happening.
Am I missing something stupid?
J
0
Comments
If so, I believe the $02 you have in your command needs to be $03.
At least that's what worked for me.
How do you print a nonproofread protocol guide? Seriously? I spent 2 hours trying to figure out what I was doing wrong, and its their typo.
Thanks man
J
Still, thats dang impressive to notice that, I only saw it once I knew what I was looking for
J