Hi All!
Hope you are doing well! I am using nrf52840 and nrf58233. Is there any example available for both transmitter and receiver for connectable coded PHY beacons?
Thanks in advance!
Hi All!
Hope you are doing well! I am using nrf52840 and nrf58233. Is there any example available for both transmitter and receiver for connectable coded PHY beacons?
Thanks in advance!
Hi
Are you planning to use the nRF5 SDK or the newer nRF Connect SDK?
For the nRF5 SDK there is an unofficial example here showing how to connect two devices over coded phy using the Nordic UART service, but this is not really a beacon application. Also it is quite outdated at this point, and was made for an older version of the SDK.
For the nRF Connect SDK there are some official examples using coded phy, but using the heart rate service.
Best regards
Torbjørn
Hi Torbjorn!
I tried the unofficial example. It compiled successfully but was unable to detect the j-link as mentioned in the image can u please help me in this regard?

Although other all examples load successfully other than this!
I also tried to check the setup as mentioned in the image

Hi Torbjorn!
I tried the unofficial example. It compiled successfully but was unable to detect the j-link as mentioned in the image can u please help me in this regard?

Although other all examples load successfully other than this!
I also tried to check the setup as mentioned in the image

Hi Muhammad
I assume the kit you have connected have a different number, than the one listed in the message?
It seems like the project have been connected to a specific kit during development, and by mistake this setting was not removed when the project was pushed.
Can you try to change the assigned kit by opening the project options, and changing the Host Connection setting?

Either just remove the current assignment, or assign the project to your kit number.
Best regards
Torbjørn
Hi Torbjorn!
Again Thanks for the response! Yes, you are right that pushed the project with a specific kit setting.
I removed the serial number as well. It worked! Thank You so much!
Can you please help me in this regard? If I try other options in parallel
1) I also used ble_app_blinky_c and ble_app_blinky but it only works for 1M_Phy. Although it has the provision of coded_phy.Can you please help me with how to enable coded PHY in the above-mentioned examples?
When I set 1M_Phy both the devices successfully connected but when i set
adv_params.primary_phy = BLE_GAP_PHY_1MBPS;
then it works fine!
2)Can we use ble_app_beacon for coded PHY connectable mode coded phy ? if yes can you please mention the central example for the ble_app_beacon to receive the packets?
Is there any other example
Thanks & Regards,
Muhammad Usman
Hi Muhammad
Muhammad Usman said:1) I also used ble_app_blinky_c and ble_app_blinky but it only works for 1M_Phy. Although it has the provision of coded_phy.Can you please help me with how to enable coded PHY in the above-mentioned examples?
Did you have a look at how coded PHY is selected in the ble_app_uart and ble_app_uart_c examples?
The service you use doesn't really matter for the PHY setup, and you should be able to do it in a similar way to those examples.
Muhammad Usman said:2)Can we use ble_app_beacon for coded PHY connectable mode coded phy ? if yes can you please mention the central example for the ble_app_beacon to receive the packets?
Normally beacons are not connectable, the idea of beacons is that anyone in the area can pick them up. Can you give me a brief explanation of your use case, so I understand why you want to use beacons and be connectable at the same time?
I don't think we have a central version of this example. Instead we provided a mobile app in order to have a smart phone be the central device for receiving beacon packets (the main use case for beacons is to have them scanned by smart phones).
Best regards
Torbjørn