I get error 0x3401 in ble_app_uart_pca10040_s132 (nrf52 dk, sdk17) in ble_nus.c line 95:
err_code = sd_ble_gatts_value_get(p_ble_evt->evt.gap_evt.conn_handle,
p_nus->tx_handles.cccd_handle,
&gatts_val);
I am running an unmodified version of the ble_app_uart.
The error appears when connecting using the nrfConnect app (iOS, iPhone X).
nrfConnects, but no Tx or Rx characteristics shows up in nrfConnect.
Is there a bug in sdk17? Maybe related to the handling of cccd?
Running the ble_app_uart as in sdk15.3.0, gives no issues...
sdk17 details: SDK_17.0.0_9d13099