|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.appliancestudio.jbluez.InquiryInfoDevice
Represents the information gather about a remote device during an HCI Inquiry.
Many devices may be found for an inquiry. The InquiryInfoDevice
class is the information relating to a single device. All the discovered devices are collectively kept in the InquiryInfo
class.
InquiryInfo
Field Summary | |
com.appliancestudio.jbluez.BTAddress |
bdaddr
|
int |
clock_offset
|
short |
dev_class0
|
short |
dev_class1
|
short |
dev_class2
|
short |
pscan_mode
|
short |
pscan_period_mode
|
short |
pscan_rep_mode
|
Constructor Summary | |
InquiryInfoDevice()
Default constructor. |
|
InquiryInfoDevice(com.appliancestudio.jbluez.BTAddress _bdaddr,
short _pscan_rep_mode,
short _pscan_period_mode,
short _pscan_mode,
short _dev_class0,
short _dev_class1,
short _dev_class2,
int _clock_offset)
Constructor which sets all the fields in the class. |
Method Summary | |
boolean |
equals(com.appliancestudio.jbluez.InquiryInfoDevice dev)
Compares two InquiryInfoDevice objects to see if they represent the same Bluetooth device. |
java.lang.String |
toString()
Returns a String representation of all the data held in this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public com.appliancestudio.jbluez.BTAddress bdaddr
public short pscan_rep_mode
public short pscan_period_mode
public short pscan_mode
public short dev_class0
public short dev_class1
public short dev_class2
public int clock_offset
Constructor Detail |
public InquiryInfoDevice()
public InquiryInfoDevice(com.appliancestudio.jbluez.BTAddress _bdaddr, short _pscan_rep_mode, short _pscan_period_mode, short _pscan_mode, short _dev_class0, short _dev_class1, short _dev_class2, int _clock_offset)
_bdaddr
- _pscan_rep_mode
- _pscan_period_mode
- _pscan_mode
- _dev_class0
- _dev_class1
- _dev_class2
- _clock_offset
- Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(com.appliancestudio.jbluez.InquiryInfoDevice dev)
equals
method on the bdaddr
field, hence seeing if they have the same Bluetooth device address.
dev
- The InquiryInfoDevice object for comparison.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |