Dear All:
I want to know in SimpleBLEPeripheral project , main.c
power saving is enable or disable?
Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have one wifi mode is UART , it's connect in CC2650 EVM Board ,
I use UART_open(), I want to know , when UART_open() is running , the power saving will into STANDBY mode ?
For Example:
UART_Handle open_wifi(uint32_t rate, Bool timeout)
{
UART_Params uartParams;
UART_Handle uart;
uint32_t baud_rate[] = {1200, 2400, 4800, 9600, 19200, 38400, 57600};
if (rate >= MAX_UART_RATE)
return NULL;
UART_Params_init(&uartParams);
uartParams.writeDataMode = UART_DATA_BINARY;
uartParams.readDataMode = UART_DATA_BINARY;
uartParams.readReturnMode = UART_RETURN_FULL;
uartParams.readMode = UART_MODE_BLOCKING;
uartParams.writeMode = UART_MODE_BLOCKING;
uartParams.readEcho = UART_ECHO_OFF;
uartParams.baudRate = baud_rate[rate];
if (timeout)
uartParams.readTimeout = 3 * (ONE_SECOND / 10); // 300ms
uart = UART_open(Board_UART, &uartParams);
if (uart == NULL) {
System_abort("Error opening the UART");
}
UART_control(uart, UARTCC26XX_CMD_RETURN_PARTIAL_ENABLE, NULL);
return uart;
}