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

nRF52840 SDK 16 Peripheral Blinky with CODED PHY

What all do I need to modify in the Blinky peripheral (from SDK 16) with in order for the 840 DK to advertise and connect with CODED PHY in long range mode?

My code compiles but the advertising LED hasn't lit and I get a fatal error in the advertising parameters. The error I get is NRF_ERROR_INVALID_PARAM when calling sd_ble_gap_adv_set_configure. 

So far I've changed the primary and secondary phys to PHY_CODED and the properties type to BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED. 

Thank you for your time, 

Sam

Parents Reply
  • Simon,

    I already have that flag set to the value you described as I believe that's how it's set in the Nordic Blinky example fresh from SDK16. I haven't changed too much in the example code out of the box. 

    Don't really need to worry about the central right now because, as I mentioned, the peripheral example is still throwing an error. And therefore not advertising anyway. 

Children
No Data
Related