ble_app_uart_c from ble central needs to connect with nrf connect app .

project set up: Development board used nrf52832  ,SDK 15.0 ,SEGGER 5.10 

actually i want to read data string from ESP32  using nrf52832 via UART (RX,TX)  and send  it to nrf connect app.

for that  used  example code ble_app_uart_c from ble_central folder.

but i m not able to scan device.

how to link  nrf52832 with nrf connect app using ble_app_uart_c example.

  • Hi,

    The ble_app_uart_c is the central side NUS example, and there is also a corresponding peripheral side ble_app_uart example. It is not entirely clear to me if it was coincidental that you used ble_app_uart_c instead of ble_app_uart? In other words, is it intentional for it to have the central role? While it is possible, it is (for several good reasons) more common to have the phone act as central and the nRF to act as peripheral.

    So unless this was a deliberate choice, I would switch to using ble_app_uart as base instead and use the peripheral role. If it was intentional, then you can make the nRF Connect app for both desktop and mobile act as simple BLE peripheral devices. The functionality is a bit limited in some of them, but it can be done. For instance, if using nRF Connect for iOS, select "peripheral" in the bottom of the screen and configure the advertiser and GATT server, with correct UUIDs etc.

Related