org.bluez.AdvertisementMonitor
BlueZ D-Bus AdvertisementMonitor API documentation
- Provided by: bluez (Version: 5.85-4)
- Report a bug
BlueZ D-Bus AdvertisementMonitor API documentation
This API allows an client to specify a job of monitoring advertisements by registering the root of hierarchy and then exposing advertisement monitors under the root with filtering conditions, thresholds of RSSI and timers of RSSI thresholds.
Once a monitoring job is activated by bluetoothd(8), the client can expect to get notified on the targeted advertisements no matter if there is an ongoing discovery session (see StartDiscovery() in org.bluez.Adapter(5)).
This gets called as a signal for a client to perform clean-up when:
After a monitor was exposed, this gets called as a signal for client to get acknowledged when a monitor has been activated, so the client can expect to receive calls on DeviceFound() or DeviceLost().
This gets called to notify the client of finding the targeted device.
Once receiving the call, the client should start to monitor the corresponding device to retrieve the changes on RSSI and advertisement content.
This gets called to notify the client of losing the targeted device.
Once receiving this call, the client should stop monitoring the corresponding device.
The type of the monitor. See SupportedMonitorTypes in org.bluez.AdvertisementMonitorManager(5) for the available options.
Used in conjunction with RSSILowTimeout to determine whether a device becomes out-of-range.
Valid range is -127 to 20 (dBm), while 127 indicates unset.
Used in conjunction with RSSIHighTimeout to determine whether a device becomes in-range.
Valid range is -127 to 20 (dBm), while 127 indicates unset.
The time it takes to consider a device as out-of-range. If this many seconds elapses without receiving any signal at least as strong as RSSILowThreshold, a currently in-range device will be considered as out-of-range (lost). Valid range is 1 to 300 (seconds), while 0 indicates unset.
The time it takes to consider a device as in-range. If this many seconds elapses while we continuously receive signals at least as strong as RSSIHighThreshold, a currently out-of-range device will be considered as in-range (found).
Valid range is 1 to 300 (seconds), while 0 indicates unset.
Grouping rules on how to propagate the received advertisement packets to the client.
Possible values:
Currently this is unimplemented in user space, so the value is only used to be forwarded to the kernel.
If the Type property is set to "or_patterns", then this property must exist and have at least one entry in the array.
The structure of a pattern contains the following: