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

can't find peripheral device name with relay example code

Hi, I am using relay example code to test, the example code is under below folder: C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Examples\11.0.0-2.alpha\ble_central_and_peripheral\experimental\ble_app_hrs_rscs_relay\pca10028\s130\arm5 after I download the S130 softdevice and the relay program HEX to the NRF51822. then I use nRF Master controller on my mobile phone (Andriod 6), or use Nordic USB dongle on PC with NRF connect, when I click scan button, it can't find the relay device.

  • Could you try with SDK 12.1? Available here. If not, are you able to debug?

  • I am using the third party module for testing (ISP Insight, ISP130301), the modules is used NRF51822 chipset. I am using Keil V5 IDE, when I import the zip file to the pack, it prompt Cannot install Pack nRF5_SDK_12.1.0_0d23e2a: Cannot find PDSC file, how can I install the SDK_V12.1 to Keil 5? thanks.

  • What do you mean import the zip file to the pack? Just unzip anywhere and open the project in \examples\ble_central_and_peripheral\experimental\ble_app_hrs_rscs_relay\pca10028\s130\arm5_no_packs

    In Keil go into Pack Installer and click "Check for Updates" (green arrows).

    Flash the SoftDevice found in \components\softdevice\s130\hex first. Then you application.

  • Hi Petter thanks for your relpy. I unzip the SDK V12.1 and build the example code. then I flash the SoftDevice (s130_nrf51_2.0.1_softdevice.hex) and application to the modules, it is the same issue that the Central can't scan to get the peripheral device name. on the same way, I use the USB development dongle to do as peripheral role with HRS service, it also can’t connect to the relay module.

    But when I use the modules as Central role with HRS service only, the USB development dongle as peripheral with HRS, the dongle can connect to the device. and it is OK when the modules as peripheral role only.

  • Do any other examples work? Have you tried to debug? If you put a breakpoint in main() do you hit it? Do you get any errors? It could be that you are just restarting over and over. See this for more information.

1 2 3