Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.cpp
- Branch:
- PassingRegression
- Revision:
- 107:f1a83fd41b17
- Parent:
- 105:e5ce023eee93
- Child:
- 108:3c8fb2c6e7bf
--- a/source/ATCmdManager.cpp Mon May 06 10:24:53 2019 +0000 +++ b/source/ATCmdManager.cpp Mon May 06 16:44:40 2019 +0000 @@ -742,6 +742,7 @@ } #define TTP_DEBUGGING +#define TTP_DEBUGGING_UART_NOCHANGE void ATCmdManager::_oob_uart_setup(){ int uOpts[NUM_UART_OPTIONS]; //if(_parser.recv("=%d,%d,%d,%d,%d,%d", &uOpts[0], &uOpts[1], &uOpts[2], &uOpts[3], &uOpts[4], &uOpts[5])) { @@ -750,12 +751,12 @@ //printf("\nATCmdParser: Uart Options=%d,%d,%d,%d,%d,%d\n", uOpts[0], uOpts[1], uOpts[2], uOpts[3], uOpts[4], uOpts[5]); //AT+UMRS=230400,2,8,1,1,1 dbg_printf(LOG, "\n Changing Baud Rate to %d\n", uOpts[0]); -#ifdef TTP_DEBUGGING +#ifdef TTP_DEBUGGING_UART_NOCHANGE sendAtConfirmation(OK_RESP); #else sendAtConfirmation(OK_RESP); //_parser.send(OK_RESP); - wait(0.1); + //wait(0.1); _serial.set_baud(uOpts[0]); wait(0.1); dbg_printf(LOG, "\n Baud Rate now %d\n", uOpts[0]);