;Send cmd+CR+LF
;------example to start ---------------
;Here's my RN4020 setup, this works
SF,2 ;// factory default
R,1 ;// reboot
sn,MY_4020 ;//set the BT-name for the device again.
R,1 ;// reboot
//SP,7 ;// power to the max, no need
SR,32000800 ;// auto advertise, enb mldp, peripheral,
;// cts/rts, mldp after connect, NO-IOS.
R,1 ;// reboot
ST,0064,0002,0064 ;// setup IOS required timing
R,1 ;// reboot
;--------------------------------------------------------
Can send/receive messages between Android device and PC-serial-terminal or MCU with soft-UART. Works very very well. Use it to cmd the MCU or terminal to do something and sens me messages and values...
My code is no masterpiece, You change it yourself for the best....
Claude