I want to send static data from nrf52 to esp8266. I have used serial Program from examples. I am able to send data dynamically from the serial monitor.
I want to send static data from nrf52 to esp8266. I have used serial Program from examples. I am able to send data dynamically from the serial monitor.
static char tx_message[] = "Hello nrf_serial!\n\r";
static char k[] = "jio";
ret = nrf_serial_write(&serial_uart,
k,
strlen(k),
NULL,
NRF_SERIAL_MAX_TIMEOUT);
APP_ERROR_CHECK(ret);
No this part is not working I tried
So what debugging have you done to find why it works with 'tx_message', but not with 'k' ?
Are you sure that your terminal doesn't depend on there being a CR and/or LF on the end?
It worked now actually i kept a delay and executed the code