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

How to make the nRF51 UART Peripheral Example connect/function with the nRF52 UART Central Example

I am attempting to connect and send data between an nRF51422 (DK) running the UART Peripheral Example Code and an nRF52832 (DK) running the UART Central example. I am able to successfully load the code onto both devices and monitor print statements through FTDI. I can see that the Central sees the Peripherals advertisement, connects, but then does not properly handle the GATT service discovery response and never receives a "BLE_NUS_C_EVT_DISCOVERY_COMPLETE" event.

I have placed print statements in the Central's "ble_nus_c.c" source in the function "ble_nus_c_on_db_disc_evt(ble_nus_c_t * p_ble_nus_c, ble_db_discovery_evt_t * p_evt)" and can see that I never enter the "Check if the NUS was discovered" "if" statement. My initial concern is that this is a SoftDevice compatibility issue due to the differences in chips/SDKs/etc. Is there anything additional I am missing or need to do to allow the devices to connect and communicate through UART?

The nRF51422 is compiling its Peripheral example with SDK 12.3.0 and SoftDevice 130. The nRF52832 is compiling its Central example with SDK 13.0.0 and SoftDevice 132.

Related