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
  • Hi Karl.

    In your last comment, you mention, "There are many configurations you could change to reduce the advertising's power consumption as well, such as advertising mode... ".
    In my project, I am permanently advertising, and my APP_ADV_INTERVAL is 128. My init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
    May I ask you which "mode" you would suggest to save even more battery?
    Thanks.
    Best regards,

    Juan

  • Hi Karl.
    Thanks for your prompt answer.
    And since you mention that the payload is one the choices to save battery, my adv messages are short, and I need Long Range to be implemented, I imagine that using ADV_EXT_IND to advertise only through primary channels would be a good idea. Wouldn´t it?
    Thanks

    Best regards
    Juan

Reply
  • Hi Karl.
    Thanks for your prompt answer.
    And since you mention that the payload is one the choices to save battery, my adv messages are short, and I need Long Range to be implemented, I imagine that using ADV_EXT_IND to advertise only through primary channels would be a good idea. Wouldn´t it?
    Thanks

    Best regards
    Juan

Children
  • Hello Juan,

    p143 said:
    Thanks for your prompt answer.

    No problem at all, I am happy to help!

    p143 said:
    And since you mention that the payload is one the choices to save battery, my adv messages are short, and I need Long Range to be implemented, I imagine that using ADV_EXT_IND to advertise only through primary channels would be a good idea. Wouldn´t it?

    Payload length does indeed play into current consumption, because it influences how long the radio must be in use for each advertising event.
    Could you elaborate / be more specific about what you mean when you say that you need long range?
    To achieve longer range without increasing the radio TX power you could use the Coded PHY.

    Best regards,
    Karl

Related