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

Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)

I am facing some issue, I am using HM10 ble module as peripheral and NRF52832 (Redbear NANO v2) as central device. I using SDK "nRF5_SDK_12.3.0_d7731ad" and example program "nRF5_SDK_12.3.0_d7731ad\nRF5_SDK_12.3.0_d7731ad\examples\ble_central\ble_app_uart_c". I changed UUID's according to HM10 service and char UUID here "NUS_BASE_UUID, BLE_UUID_NUS_SERVICE, BLE_UUID_NUS_TX_CHARACTERISTIC, BLE_UUID_NUS_RX_CHARACTERISTIC". When I flashed code in chip and tried to run in my serial terminal I am getting

"Uart_c Scan started\n Connecting to target b5c81319fdc8\n Connected to target Starting discovery of service with UUID 0xffe0 for Connection handle 0\n

Uart_c Scan started\n Connecting to target b5c81319fdc8\n Connected to target Starting discovery of service with UUID 0xffe0 for Connection handle 0\n

Uart_c Scan started\n Connecting to target b5c81319fdc8\n Connected to target Starting discovery of service with UUID 0xffe0 for Connection handle 0"\n

and so on.......... in a continues loop

Why this is not stopping after it finding peripheral and not moving for TX RX communication.

-Is this code is only designed for to connect only with NRF5832 chips? -Can I connect to any generic BLE peripheral device using "ble_app_uart_c" example?

Waiting for reply soon

Thanks in Advance.

Related