Configuring Observer example to only accept Coded Phy messages

I'm trying to use the Observer example in zephr-sdk-0.16.5 to work with beacons that only use long range coded phy mode.   I've updaed prj.conf to take what I believe to be the correct settings to allow coded phy.   What I see is that the code is only seeing a coded phy message about once a minute even though the beacon is transmitting every 8s.  

I've heard it mentioned that maybe the stack is switching between modes, and that could be the cause of the message loss.   Is there any function I can call to fix it in the Coded Phy mode?

I've seen examples for the older SDK, but they do not compile on zephr.

Can anyone point me in the right direction please?  I'm trying to compile the code for the MG100 gateway that uses the nRF52840 SOC.

Here's my prj.conf updates

CONFIG_BT=y
CONFIG_BT_OBSERVER=y
CONFIG_BT_CENTRAL=y

# Coded PHY support
CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_PHY_CODED=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_USER_PHY_UPDATE=y

Parents Reply Children
  • Can you please show me what your advertising is set up (the init and start function) after your modification?

    I would like to be able to say that "you need to do this and that", but I don't know exactly what to do, and whether it is possible using our SoftDevice controller. And I don't have a peripheral that behaves like the one you have. I believe it is out of specification, which is why it may not be supported out of the box.

    BR,
    Edvin

Related