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.

    Thanks for your prompt answer, but just to make sure, let me, please ask you a few more questions.


    As I told you, my goal is to save even more battery in a permanently transmitting module, and I understand that online profiling would help with this, but before using this tool, I would like to have my ideas a bit more clear.


    Right now, to increase battery life, I trade with the radiated power and the advertising frequency with reasonably good results. Still, before I order sample PCBs, I want to make sure I can't get any better regarding battery consumption. So my douts are:


    1.- I understand that a module radio permanently advertising (therefore transmitting) consumes more battery than permanently scanning (therefore receiving). Am I right?
    2.- I also understand that advertising packets, if you don't connect with the central module, are simply broadcasted, so no being addressed to any particular module. Okey?

    So:

    3.- Would it be possible for the advertising module to set itself as a central scanning module A and the central module B as a permanently advertising module ONLY until module A detects the presence of B? Then, module A would set itself as a peripheral (for a preset period, though) and module B as a scanning module (for the same preset period).

    Would this make sense for you?

    Best regards, 

    Juan

Reply
  • Hi Karl.

    Thanks for your prompt answer, but just to make sure, let me, please ask you a few more questions.


    As I told you, my goal is to save even more battery in a permanently transmitting module, and I understand that online profiling would help with this, but before using this tool, I would like to have my ideas a bit more clear.


    Right now, to increase battery life, I trade with the radiated power and the advertising frequency with reasonably good results. Still, before I order sample PCBs, I want to make sure I can't get any better regarding battery consumption. So my douts are:


    1.- I understand that a module radio permanently advertising (therefore transmitting) consumes more battery than permanently scanning (therefore receiving). Am I right?
    2.- I also understand that advertising packets, if you don't connect with the central module, are simply broadcasted, so no being addressed to any particular module. Okey?

    So:

    3.- Would it be possible for the advertising module to set itself as a central scanning module A and the central module B as a permanently advertising module ONLY until module A detects the presence of B? Then, module A would set itself as a peripheral (for a preset period, though) and module B as a scanning module (for the same preset period).

    Would this make sense for you?

    Best regards, 

    Juan

Children
  • Hello again, Juan

    p143 said:
    1.- I understand that a module radio permanently advertising (therefore transmitting) consumes more battery than permanently scanning (therefore receiving). Am I right?

    Not quite, because scanning is a continuous process within the configured scan window - meaning that the radio will be active continuously for the duration of the scan window - while advertisings only have the radio active for a limited time once during the advertising interval. There are many configurations you could change to reduce the advertising's power consumption as well, such as advertising mode, interval and duration.
    So, advertising is in the general case less power consuming than scanning.

    p143 said:
    2.- I also understand that advertising packets, if you don't connect with the central module, are simply broadcasted, so no being addressed to any particular module. Okey?

    This is also configurable - if you use directed advertising then you are looking for a specific central device to connect. All advertisements are visible to all nearby BLE devices, however.

    p143 said:
    3.- Would it be possible for the advertising module to set itself as a central scanning module A and the central module B as a permanently advertising module ONLY until module A detects the presence of B? Then, module A would set itself as a peripheral (for a preset period, though) and module B as a scanning module (for the same preset period).

    I think my answer to the first question might have negated the need for this question, since the assumption that scanning comes with a lesser power consumption was not valid.
    In short; you could have done this like you proposed, but it would waste a lot of power for very little / no gain.

    Please do not hesitate to ask if any part of my answer should be unclear, so that I may elaborate.

    Best regards,
    Karl

Related