How do I program the BL600 to run at a different BaudRate ( 115200)?

Answer

Here is the order to enable the new baud rate:

 

Add the following baud rate example to the top of your smartBASIC program 

dim rc

sub SetUart()

uartclose()

rc=uartopen((Baudrate 115200),0,0,“CN81H”)

endsub

SetUart()

 

Run UWTerminal at the default 9600 baud rate

Load the smartBASIC program then run

From the terminal you should see the terminal as non-responsive or spitting out garble

Close UWTerminal

Reopen UWTerminal and set the baud rate to whichever baud you previously set (in this case 115200)

 

Please note, should the module be power cycled, it will revert to 9600. If you want to keep baud rate at 115200 then you should put the openuart command into an autorunning program.