This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Conditional advertising

Hi.

In order to save battery in an "advertising only"  peripheral, would it be possible for this module to remain in sleep status and start advertising (for a preset period, though) only when it detects a central module scanning for peripherals?  Thanks.

Parents
  • Hello,

    would it be possible for this module to remain in sleep status and start advertising (for a preset period, though) only when it detects a central module scanning for peripherals?  Thanks.

    No, this is not possible since it would require that the peripheral constantly uses the RADIO peripheral to listen for central scan requests (which are directed at other devices, since itself is not advertising yet).
    This would consume more energy than regular advertising.

    Could it be an option to have the advertising started by an external event, such as a button press or sensor reading, instead? Alternatively, what is your application's requirements / constraints in regards to power consumption? 
    You could use the Online Power Profiler to estimate the power consumption of different advertising configurations, and to see how the different parameters affects your consumption.

    Best regards,
    Karl

Reply
  • Hello,

    would it be possible for this module to remain in sleep status and start advertising (for a preset period, though) only when it detects a central module scanning for peripherals?  Thanks.

    No, this is not possible since it would require that the peripheral constantly uses the RADIO peripheral to listen for central scan requests (which are directed at other devices, since itself is not advertising yet).
    This would consume more energy than regular advertising.

    Could it be an option to have the advertising started by an external event, such as a button press or sensor reading, instead? Alternatively, what is your application's requirements / constraints in regards to power consumption? 
    You could use the Online Power Profiler to estimate the power consumption of different advertising configurations, and to see how the different parameters affects your consumption.

    Best regards,
    Karl

Children
No Data
Related