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.

  • Hi Karl.

    And what would improve implementing this Slow Mode versus playing with APP_ADV_INTERVAL?
    Thanks.

    Best regards.
    Juan

  • Hello Juan,

    p143 said:
    what would improve implementing this Slow Mode versus playing with APP_ADV_INTERVAL?

    There would be no difference between these two as long as they have the same advertising interval and duration configured.
    I mentioned the Advertising library approach because I thought you were using the Advertising library directly. If you are not, you may just set the advertising interval and duration directly, like demonstrated in the beacon example from the SDK.

    Best regards,
    Karl

  • 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

  • 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

  • Hi Karl.


    What I mean is that, since my app is permanently advertising, and it must use LE Coded, and my advertising payload is small, I could use ADV_EXT_IND, which, as far as I understand, is a type of advertising PDU that can advertise in primary channels (that is maximum payload 29 Bytes) "and" implement LE Coded. Is that right?.
    Thanks

    Best regards,
    Juan

Related