Login  Register

Re: Entering RN52 command mode from terminal

Posted by Seth on May 11, 2016; 11:59am
URL: http://bluesaab-forum.90.s1.nabble.com/Entering-RN52-command-mode-from-terminal-tp339p340.html

That's awesome :)

Yes, you have to remove the 328 because the RX/TX lines that you use to talk to the RN52 are also used by the 328. So you can either use "test code", or upload blank code, or remove the 328, all in order to talk to the rn52.

Just be careful what settings to choose to play with...things might not work right after :)

Here is the Command Reference Guide from Microchip.

It's not 100% right, as Karlis has found out, and some things in there aren't very descriptive. But for each "S" command to set a value, you can also replace the "S" with a "G" to read back what the set value is. ie,
SK,04 will set the connection mask to A2DP.
GK will return what the K value is set to (default is FF).
NC, USA