#include </home/clem/local/src/opie/noncore/settings/networksettings2/opietooth2/OTDriver.h>
Collaboration diagram for Opietooth2::OTDriver:

Signals | |
| void | error (const QString &) |
| void | stateChange (OTDriver *, bool) |
| void | driverDisappeared (OTDriver *) |
Public Member Functions | |
| OTDriver (OTGateway *Ot, struct hci_dev_info *di) | |
| ~OTDriver () | |
| OTGateway * | gateway () const |
| void | init (struct hci_dev_info *di) |
| bool | open () |
| OTHCISocket * | openSocket () |
| void | closeSocket () |
| int | isOpen () |
| int | reset () |
| void | setUp (bool Mode) |
| void | bringUp () |
| void | bringDown () |
| bool | isUp () const |
| int | currentState () |
| QString | name () |
| int | devId () const |
| QString | devname () |
| int | fd () const |
| void | setfd (int _fd) |
| void | setType (int _type) |
| int | type () const |
| QString | strType () |
| int | iscan () const |
| void | setIScan (int _iscan) |
| int | pscan () const |
| void | setPScan (int _pscan) |
| int | authentication () const |
| void | setAuthentication (int _auth) |
| int | encryption () const |
| void | setEncryption (int _encrypt) |
| void | setDevId (int _dev_id) |
| void | setDev (char *_dev) |
| void | setFlags (unsigned long flags) |
| const OTDeviceAddress & | address () |
| void | setFeatures (unsigned char *_f) |
| QString | features () |
| void | setManufacturer (int compid) |
| QString | manufacturer () |
| QString | revision () |
| void | setScanMode (bool iscan, bool pscan) |
| void | setClass (unsigned long cls) |
| void | changeDevName (const char *name) |
| void | changeEncryption (bool _encryption) |
| void | changeAuthentication (bool _auth) |
| void | getClass (QString &service, QString &device) |
| void | changeClass (unsigned char service, unsigned char major, unsigned char minor) |
| QString | getPeerName (const OTDeviceAddress &PAddr) |
| long | getLinkQuality (const OTDeviceAddress &Address) |
Private Slots | |
| void | reinit () |
| void | SLOT_CloseFd () |
Private Member Functions | |
| QString | getRevEricsson () |
| QString | getRevCsr (unsigned short rev) |
Private Attributes | |
| QString | Name |
| QString | Dev |
| QString | Revision |
| QString | Manufacturer |
| OTDeviceAddress | Address |
| QString | Features |
| QTimer * | AutoClose |
| int | Dev_id |
| int | Fd |
| int | Type |
| bool | IsUp |
| int | Iscan |
| int | Pscan |
| int | Auth |
| int | Encrypt |
| OTHCISocket * | Socket |
| OTGateway * | OT |
|
||||||||||||
|
Definition at line 149 of file OTDriver.cpp. References AutoClose, devname(), init(), IsUp, odebug, oendl, OT, SLOT_CloseFd(), and Socket. |
|
|
Definition at line 165 of file OTDriver.cpp. References closeSocket(), and SLOT_CloseFd(). |
|
|
Definition at line 161 of file OTDriver.h. References Address. Referenced by Opietooth2::OTPairing::OTPairing(), and Opietooth2::OTManage::SLOT_DriverListChanged(). |
|
|
Definition at line 144 of file OTDriver.h. References Auth. |
|
|
Definition at line 411 of file OTDriver.cpp. References Dev, devId(), devname(), error(), fd(), isUp(), odebug, oendl, open(), reinit(), and tr. Referenced by setUp(). |
|
|
Definition at line 388 of file OTDriver.cpp. References Dev, devId(), devname(), error(), fd(), isUp(), odebug, oendl, open(), reinit(), and tr. Referenced by setUp(). |
|
|
Definition at line 478 of file OTDriver.cpp. References devId(), devname(), error(), fd(), open(), reinit(), and tr. |
|
||||||||||||||||
|
Definition at line 523 of file OTDriver.cpp. |
|
|
Definition at line 464 of file OTDriver.cpp. |
|
|
Definition at line 500 of file OTDriver.cpp. References devId(), devname(), error(), fd(), open(), reinit(), and tr. |
|
|
Definition at line 672 of file OTDriver.cpp. References devname(), odebug, oendl, and Socket. Referenced by Opietooth2::OTInquiry::stopInquiring(), and ~OTDriver(). |
|
|
Definition at line 207 of file OTDriver.cpp. References Dev_id, Opietooth2::OTGateway::getSocket(), init(), IsUp, OT, and SLOT_CloseFd(). Referenced by reinit(), and Opietooth2::OTGateway::timerEvent(). |
|
|
Definition at line 109 of file OTDriver.h. References Dev_id. Referenced by bringDown(), bringUp(), changeAuthentication(), changeEncryption(), Opietooth2::OTHCISocket::open(), open(), reset(), and setScanMode(). |
|
|
|
|
|
|
Definition at line 149 of file OTDriver.h. References Encrypt. |
|
|
Referenced by bringDown(), bringUp(), changeAuthentication(), changeClass(), changeDevName(), changeEncryption(), getClass(), getRevEricsson(), name(), open(), reset(), revision(), and setScanMode(). |
|
|
Definition at line 123 of file OTDriver.h. References Fd. Referenced by bringDown(), bringUp(), changeAuthentication(), changeClass(), changeDevName(), changeEncryption(), getClass(), getLinkQuality(), getPeerName(), getRevEricsson(), name(), open(), reset(), revision(), setScanMode(), and SLOT_CloseFd(). |
|
|
Definition at line 165 of file OTDriver.h. References Features. |
|
|
Definition at line 48 of file OTDriver.h. References OT. Referenced by Opietooth2::OTInquiry::slotHCIEvent(). |
|
||||||||||||
|
Definition at line 544 of file OTDriver.cpp. References CM, ClassMap_t::Description, devname(), error(), fd(), MainClassMap_t::Major, major_devices, MainClassMap_t::Map, ClassMap_t::Minor, open(), s, services, and tr. Referenced by Opietooth2::OTManage::SLOT_DriverListChanged(). |
|
|
Definition at line 699 of file OTDriver.cpp. References fd(), GET_LINK_QUALITY_RP_SIZE, Opietooth2::OTDeviceAddress::getBDAddr(), odebug, oendl, and open(). Referenced by Opietooth2::OTScan::SLOT_UpdateStrength(). |
|
|
Definition at line 680 of file OTDriver.cpp. References fd(), Opietooth2::OTDeviceAddress::getBDAddr(), name(), open(), and S. Referenced by Opietooth2::OTInquiry::slotHCIEvent(). |
|
|
Definition at line 348 of file OTDriver.cpp. References csr_map, i, str, and tr. Referenced by revision(). |
|
|
Definition at line 320 of file OTDriver.cpp. References devname(), error(), fd(), NULL, open(), revision(), and tr. Referenced by revision(). |
|
|
Definition at line 178 of file OTDriver.cpp. References Address, Dev, Manufacturer, Opietooth2::OTDeviceAddress::setBDAddr(), setDevId(), setfd(), setFeatures(), setFlags(), and setType(). Referenced by currentState(), and OTDriver(). |
|
|
Definition at line 134 of file OTDriver.h. References Iscan. |
|
|
Definition at line 71 of file OTDriver.h. References Fd. Referenced by open(), and SLOT_CloseFd(). |
|
|
Definition at line 96 of file OTDriver.h. References IsUp. Referenced by bringDown(), bringUp(), setFlags(), setUp(), Opietooth2::OTMain::SLOT_DriverListChanged(), Opietooth2::OTManage::SLOT_DriverListChanged(), and Opietooth2::OTGateway::timerEvent(). |
|
|
Definition at line 169 of file OTDriver.h. References Manufacturer. Referenced by Opietooth2::OTManage::SLOT_DriverListChanged(). |
|
|
Definition at line 250 of file OTDriver.cpp. References devname(), error(), fd(), open(), and tr. Referenced by getPeerName(), and Opietooth2::OTManage::SLOT_DriverListChanged(). |
|
|
Definition at line 227 of file OTDriver.cpp. References AutoClose, devId(), devname(), error(), fd(), isOpen(), setfd(), tr, and TRUE. Referenced by bringDown(), bringUp(), changeAuthentication(), changeClass(), changeDevName(), changeEncryption(), getClass(), getLinkQuality(), getPeerName(), getRevEricsson(), name(), reset(), revision(), and setScanMode(). |
|
|
Definition at line 664 of file OTDriver.cpp. References devname(), odebug, oendl, and Socket. Referenced by Opietooth2::OTInquiry::OTInquiry(). |
|
|
Definition at line 139 of file OTDriver.h. References Pscan. |
|
|
Definition at line 193 of file OTDriver.cpp. References currentState(), IsUp, and stateChange(). Referenced by bringDown(), bringUp(), changeAuthentication(), changeEncryption(), and setScanMode(). |
|
|
Definition at line 360 of file OTDriver.cpp. References devId(), devname(), error(), fd(), open(), and tr. |
|
|
Definition at line 289 of file OTDriver.cpp. References devname(), error(), fd(), getRevCsr(), getRevEricsson(), open(), setManufacturer(), and tr. Referenced by getRevEricsson(), and Opietooth2::OTManage::SLOT_DriverListChanged(). |
|
|
Definition at line 146 of file OTDriver.h. References Auth. Referenced by setFlags(). |
|
|
|
|
|
Definition at line 156 of file OTDriver.h. References Dev. |
|
|
Definition at line 154 of file OTDriver.h. References Dev_id. Referenced by init(). |
|
|
Definition at line 151 of file OTDriver.h. References Encrypt. Referenced by setFlags(). |
|
|
Definition at line 125 of file OTDriver.h. References Fd. Referenced by init(), open(), and SLOT_CloseFd(). |
|
|
Definition at line 656 of file OTDriver.cpp. References Features, and NULL. Referenced by init(). |
|
|
Definition at line 271 of file OTDriver.cpp. References BT_UNKNOWN, BTVALUE, isUp(), IsUp, setAuthentication(), setEncryption(), setIScan(), and setPScan(). Referenced by init(). |
|
|
Definition at line 136 of file OTDriver.h. References Iscan. Referenced by setFlags(). |
|
|
Definition at line 660 of file OTDriver.cpp. References Manufacturer. Referenced by revision(). |
|
|
Definition at line 141 of file OTDriver.h. References Pscan. Referenced by setFlags(). |
|
||||||||||||
|
Definition at line 433 of file OTDriver.cpp. References devId(), devname(), error(), fd(), open(), reinit(), and tr. |
|
|
Definition at line 128 of file OTDriver.h. References Type. Referenced by init(). |
|
|
Definition at line 380 of file OTDriver.cpp. References bringDown(), bringUp(), and isUp(). Referenced by Opietooth2::OTManage::SLOT_UpDriver(). |
|
|
Definition at line 170 of file OTDriver.cpp. References AutoClose, fd(), isOpen(), and setfd(). Referenced by currentState(), OTDriver(), and ~OTDriver(). |
|
||||||||||||
|
Referenced by reinit(). |
|
|
Definition at line 652 of file OTDriver.cpp. References Type. |
|
|
Definition at line 130 of file OTDriver.h. References Type. |
|
|
Definition at line 216 of file OTDriver.h. |
|
|
Definition at line 222 of file OTDriver.h. Referenced by authentication(), and setAuthentication(). |
|
|
Definition at line 218 of file OTDriver.h. Referenced by open(), OTDriver(), and SLOT_CloseFd(). |
|
|
Definition at line 213 of file OTDriver.h. Referenced by bringDown(), bringUp(), devname(), init(), and setDev(). |
|
|
Definition at line 220 of file OTDriver.h. Referenced by currentState(), devId(), and setDevId(). |
|
|
Definition at line 222 of file OTDriver.h. Referenced by encryption(), and setEncryption(). |
|
|
Definition at line 220 of file OTDriver.h. |
|
|
Definition at line 217 of file OTDriver.h. Referenced by features(), and setFeatures(). |
|
|
Definition at line 222 of file OTDriver.h. Referenced by iscan(), and setIScan(). |
|
|
Definition at line 221 of file OTDriver.h. Referenced by currentState(), isUp(), OTDriver(), reinit(), and setFlags(). |
|
|
Definition at line 215 of file OTDriver.h. Referenced by init(), manufacturer(), and setManufacturer(). |
|
|
Definition at line 212 of file OTDriver.h. |
|
|
Definition at line 228 of file OTDriver.h. Referenced by currentState(), gateway(), and OTDriver(). |
|
|
Definition at line 222 of file OTDriver.h. Referenced by pscan(), and setPScan(). |
|
|
Definition at line 214 of file OTDriver.h. |
|
|
Definition at line 225 of file OTDriver.h. Referenced by closeSocket(), openSocket(), and OTDriver(). |
|
|
Definition at line 220 of file OTDriver.h. |
1.4.2