The forest from the trees... adventures in serial transparency
rjo__
Posts: 2,114
Today, I was trying to programmatically set up a couple of HC-05's using AT commands embedded in Spin calls.
I finally had to resort to a terminal interface... to do exactly what I was trying to do with Spin calls. I succeeded and have a completely transparent duplex serial bridge between two Propellers. Whatever I type at one terminal... shows up in the other. SO, that's not the issue. The issue is that my spin code should have been able to configure the HC-05's just as well as I can do it by hand entering AT commands in the terminal one at a time and it doesn't. I have used this same routine many times without an issue...but not with the HC-05.
I looked at Duane's code... don't have the link right now... you can see the spin file in the picture. Somewhere in there, Duane mentioned the issue of FDS framing... which I don't understand... is that the issue here?
I finally had to resort to a terminal interface... to do exactly what I was trying to do with Spin calls. I succeeded and have a completely transparent duplex serial bridge between two Propellers. Whatever I type at one terminal... shows up in the other. SO, that's not the issue. The issue is that my spin code should have been able to configure the HC-05's just as well as I can do it by hand entering AT commands in the terminal one at a time and it doesn't. I have used this same routine many times without an issue...but not with the HC-05.
I looked at Duane's code... don't have the link right now... you can see the spin file in the picture. Somewhere in there, Duane mentioned the issue of FDS framing... which I don't understand... is that the issue here?
zip
53K
Comments
error(0) is "AT command error."
For example:
Should be:
Thanks Duane. I have a chronic problem editing my own stuff. I see it the way I want to see.. not what is actually there.