Bluetooth specific realization of the MAbstractPinger interface.
Inheritance:
Public Methods
-
bool Ping()
- Checks if a remote device is in range.
-
const std::string& GetAddress()
- Returns remote device's Bluetooth address.
-
bool InRange()
- Tells whether a device is in range or not.
Documentation
Bluetooth specific realization of the MAbstartactPinger interface.
Pinging is done by sending the L2CAP_ECHO message on the Bluetooth
signalling channel. If there's no response in one seconds time then the
remote device is assumed to be out of range.
bool Ping()
-
Checks if a remote device is in range. The check is done by sending
the L2CAP_ECHO request via the Bluetooth signalling channel. If a response
isn't received during one second then the remote device is assumed to be out
of range.
- Returns:
- true if the remote device is in range, otherwise false
const std::string& GetAddress()
-
Return the Bluetooth address of the device under monitoring.
- Returns:
- remote device's address
bool InRange()
-
Tells whether a device is in range or not.
- Returns:
- true if the device is in range
- This class has no child classes.
- See Also:
- MAbstractPinger
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.