Smart Remote automatically starts advertising after a power-on or a wakeup. Depending on the remote state and configuration, the firmware chooses one of the following advertising modes.
Requirements:
No bond information stored in flash or whitelist and directed advertising modes are both disabled (both CONFIG_ADV_WHITELIST and CONFIG_ADV_DIRECTED are set to 0).
In this mode, the remote advertises for 180 seconds waiting for host connection. If there is no connection attempt during that time, the remote triggers a shutdown procedure and enters power-down state. In this mode, the advertising interval is configurable and can be set using the CONFIG_ADV_INTERVAL_MS define.
Requirements:
Bond information is stored in flash and directed advertising is disabled (CONFIG_ADV_DIRECTED is set to 0).
In this mode, if there is no connection attempt for CONFIG_ADV_TIMEOUT seconds, the remote triggers a shutdown procedure and enters power-down state. The advertising interval is configurable and can be set using the CONFIG_ADV_INTERVAL_MS define.
Requirements:
Bond information is stored in flash and directed advertising is enabled (CONFIG_ADV_DIRECTED is set to 1).
In this mode, the remote repeats high duty cycle directed advertising for CONFIG_ADV_TIMEOUT seconds. If there is no successful connection attempt during that time, the remote triggers a shutdown procedure and enters power-down state.