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

How to implement CODED_PHY in ble_app_uart in SDK 15.3.0

I am working long nrf52840 and trying to implement long range in my project. There were examples in SDK 15.2.0 but i couldn't find any example or post which is related to SDK 15.3.0. I tried my own modification like changing the advertising layer from 1 Mbps to CODED in ble_adverstisement.c file(15.3.0) but after i made the changes my device keep resetting. I did not make any other changes in sdk_config and main. file

p_advertising->adv_params.secondary_phy   = BLE_GAP_PHY_CODED;
this line i added in ble_advertisement_init() function. i don't more what changes need to be done to make it work in coded mode.

Parents Reply
  • i have tried your code now what is happening is peripheral is transmitting and central is powered but it is not receiving any packet from peripheral. It receives only one packet whenever i hit reset button in central and stops. can you tell me how to receive packets continue?

    i added RSSI print in BLE_GAP_EVT_ADV_REPORT switch case in ble_evt_handler() function to check the packets are receiving are not.

Children
Related