|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.appliancestudio.jbluez.HCIDeviceInfo
This HCIDeviceInfo class is the information relating to a local HCI device.
This class is essentially a Java representation of the hci_dev_info
struct in the hci.h
file provided in the BlueZ libraries.
The information stored in the various fields is collected directly from the registers in the Bluetooth device. Therefore, some of it, for example the features
is not very "human readable". For more information refer to the Bluetooth specification document, with particular reference to the HCI specification.
Field Summary | |
int |
acl_mtu
HCI ACL (asynchronous connection-less) MTU (max transmission unit). |
int |
acl_pkts
HCI ACL (asynchronous connection-less) packets transferred. |
com.appliancestudio.jbluez.BTAddress |
bdaddr
Bluetooth device address |
int |
dev_id
HCI device ID |
com.appliancestudio.jbluez.HCIFeatures |
features
HCI device features. |
long |
flags
HCI device flags |
long |
link_mode
HCI link mode. |
long |
link_policy
HCI link policy. |
java.lang.String |
name
HCI device name |
long |
pkt_type
HCI packet type(s). |
int |
sco_mtu
HCI SCO (synchronous connection-oriented) MTU (max transmission unit). |
int |
sco_pkts
HCI SCO (synchronous connection-oriented) packets transferred. |
com.appliancestudio.jbluez.HCIDeviceStats |
stat
HCI device statistics. |
short |
type
HCI device type |
Constructor Summary | |
HCIDeviceInfo()
Default constructor. |
|
HCIDeviceInfo(int _dev_id,
java.lang.String _name,
com.appliancestudio.jbluez.BTAddress _bdaddr,
long _flags,
short _type,
com.appliancestudio.jbluez.HCIFeatures _features,
long _pkt_type,
long _link_policy,
long _link_mode,
int _acl_mtu,
int _acl_pkts,
int _sco_mtu,
int _sco_pkts,
com.appliancestudio.jbluez.HCIDeviceStats _stat)
Constructor which sets all the fields in the class. |
Method Summary | |
java.lang.String |
toString()
Returns a String representation of all the information represented by this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int dev_id
public java.lang.String name
public com.appliancestudio.jbluez.BTAddress bdaddr
BTAddress
public long flags
public short type
public com.appliancestudio.jbluez.HCIFeatures features
public long pkt_type
public long link_policy
public long link_mode
public int acl_mtu
public int acl_pkts
public int sco_mtu
public int sco_pkts
public com.appliancestudio.jbluez.HCIDeviceStats stat
HCIDeviceStats
Constructor Detail |
public HCIDeviceInfo()
public HCIDeviceInfo(int _dev_id, java.lang.String _name, com.appliancestudio.jbluez.BTAddress _bdaddr, long _flags, short _type, com.appliancestudio.jbluez.HCIFeatures _features, long _pkt_type, long _link_policy, long _link_mode, int _acl_mtu, int _acl_pkts, int _sco_mtu, int _sco_pkts, com.appliancestudio.jbluez.HCIDeviceStats _stat)
_dev_id
- _name
- _bdaddr
- _flags
- _type
- _features
- _pkt_type
- _link_policy
- _link_mode
- _acl_mtu
- _acl_pkts
- _sco_mtu
- _sco_pkts
- _stat
- Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |