This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_app_uart_c example not work

Hello!

I have:

  • nRF52840-Preview-DK (pca10056)
  • nRF5_SDK_13.0.0_04a0bfd (s140)

I load **nRF5_SDK_13.0.0_04a0bfd\examples\ble_central\ble_app_uart_c\hex\ble_app_uart_c_pca10056_s140.hex** to first board and **nRF5_SDK_13.0.0_04a0bfd\examples\ble_peripheral\ble_app_uart\hex\ble_app_uart_pca10056_s140.hex** to second board, and it work fine.

Next, I load SoftDevice via nRFgo studio to first board, compile ble_app_uart in IAR and load hex file. It work fine.

Next, I load SoftDevice via nRFgo studio to second board, compile **ble_app_uart_c** in IAR and load hex file. This does not work. I compile **ble_app_uart_c** in Keil and load hex file.  It is not work too: Board get error and reset when try ble_nus_c_tx_notif_enable(p_ble_nus_c) in ble_nus_c_evt_handler... Function  ble_nus_c_tx_notif_enable return NRF_ERROR_INVALID_STATE error, because p_ble_nus_c->handles.nus_tx_cccd_handle == BLE_GATT_HANDLE_INVALID...

Please help me!

Parents Reply Children
No Data
Related