Hi!
My setup:
* nRF52 DK
* nRF5_SDK_15.0.0_a53641a
* s132_nrf52_6.0.0
* SES V3.34b 64-bit
* android ver.8 smartphone with nRF Connect / LightBlue / nRF UART v2.0
I am using uart_ble_app example and I am able to send data through "RX Characteristic" which then shows in terminal. But I can't get any reasonable data in "TX Characteristic". Infocenter says that I should enable notifications but then again I see TX Characteristic value = "Notifications enabled".
I have enabled:
char_md.char_props.read = 1;
inside static uint32_t tx_char_add(ble_nus_t * p_nus, ble_nus_init_t const * p_nus_init), ble_nus.c
No success.
I have even tried to send predeclared data from chip to smartphone:
uint8_t data_[3] = {17,18,19}; uint16_t length_ = 3; err_code = ble_nus_data_send(&m_nus, data_, &length_, m_conn_handle);
inside void uart_event_handle(app_uart_evt_t * p_event), main.c.
but no success at all.
I have tried sdk15 uart example as well as sdk13, but I can't send string data from nRF chip to android device.
My question:
I can send data from smartphone to chip, but does NUS allow sending string data, hexes, int arrays from nRF chip to smartphone? Or am I doing something wrong that it's not happening?
Thanks