class CBTPinger

Bluetooth specific realization of the MAbstractPinger interface.

Inheritance:


Public Methods

[more]bool Ping()
Checks if a remote device is in range.
[more]const std::string& GetAddress()
Returns remote device's Bluetooth address.
[more]bool InRange()
Tells whether a device is in range or not.


Inherited from MAbstractPinger:


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.

obool 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

oconst std::string& GetAddress()
Return the Bluetooth address of the device under monitoring.

Returns:
remote device's address

obool 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++.