My device has BLE and I can successfully use any example (for example ble_peripheral/ble_app_bps) to advertise different services.
It also has a serial port from where I can successfully read data using peripheral/serial example.
However my task is to read serial port and write received data to one of BLE characteristics. When I am trying to combine those 2 examples it fails to read from serial port.
Basically after ble_stack_init() function nrf_serial_read always returns with timeout.
What I am doing wrong?