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

how to implement long range in ble mesh (v0.9.2) for nrf52840 ?

we have used the ble mesh sdk v0.9.2 to implement long range ble mesh network on nrf52840 SOC it is successfully working with s132 softdevice. with default configuration. please let me know how to change mesh configuration for long range communication.

as of now default configuration tx power is 0dBm and tx bandwidth is 1 Mbit/s Nordic proprietary radio mode.

i have tried to set values to Output power Register (0x4000150C) to 8 dBm and Data rate and modulation Register (0x40001510) to 5 (kbit/s).

but it fallback to default configuration at 0dBm and 1 Mbit/s.

Parents
  • Hi,

    The softdevice blocks access to the RADIO peripheral when it is activated. You cannot change the mode in the registers directly like this, you have to go through the softdevice API.

    The s132 softdevice is designed for use with nRF52832, which does not support Coded PHY (long range mode) or 8 dBm output power like the nRF52840 does. The API does therefore not support setting this configuration.

    We are working on adding support for nRF52840 into the build system as well, but I do not have any timeline on when this will be completed. Note that long-range packets cannot be decoded by BLE devices that does not implement the long-range feature. If you are creating mesh using this mode, only devices supporting this mode will be able to participate in the mesh.

    Best regards,

    Jørgen

Reply
  • Hi,

    The softdevice blocks access to the RADIO peripheral when it is activated. You cannot change the mode in the registers directly like this, you have to go through the softdevice API.

    The s132 softdevice is designed for use with nRF52832, which does not support Coded PHY (long range mode) or 8 dBm output power like the nRF52840 does. The API does therefore not support setting this configuration.

    We are working on adding support for nRF52840 into the build system as well, but I do not have any timeline on when this will be completed. Note that long-range packets cannot be decoded by BLE devices that does not implement the long-range feature. If you are creating mesh using this mode, only devices supporting this mode will be able to participate in the mesh.

    Best regards,

    Jørgen

Children
No Data
Related