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

I use nRF52832 as a central and i would like to connect peripheral devices that are phones . How can i do that?

I use nRF52832 as a central device. I also use ble_app_uart_c  as a SDK(17.0.2) . I would like to connect my peripheral which is my phone(iPhone 6) and i want to see my phone's RSSI value on the terminal. But when i run the code  I see NULL instead of my phone's RSSI value. How can i configure my code to see my phone's RSSI value??

Parents Reply
  • My uart app's name is  TERMITE.  printf("%s\n",scan_evt.params.p_whitelist_adv_report->rssi);  I write that printf code above ,   in ble_app_uart_c>nrf_ble_scan_c is that nrf_ble_scan_start() function. For exp: For same place in code printf("Alperen"); I can see Alperen on the  UART terminal. When I write that code printf("%s\n",scan_evt.params.p_whitelist_adv_report->rssi); , I see NULL on the terminal. I guess my central device that is nRF52DK  don't give my returned phone's RSSI value.

Children
Related