#include <bluelink.h>
Collaboration diagram for BlueLink:

Public Member Functions | |
| BlueLink () | |
| ~BlueLink () | |
| int | connectRfcomm (const QString &, const QString &) |
| int | disconnectRfcomm (const QString &) |
| void | connecttoPhone (const QString &) |
| v24_port_t * | getPort () |
| bool | getState () |
| void | disconnectPhone () |
| QStringList | talktoPhone (v24_port_t *, const QString &) |
Private Attributes | |
| bool | m_communicate |
| bool | m_connected |
| v24_port_t * | m_port |
| QStringList | m_phoneAnswer |
| QString | m_phoneMode |
| QString | m_rfcommCommand |
Diese Klasse stellt die serielle Verbindung zum Telephon bereit. Als Traeger werden Bluetooth, IrDA und serielle Kabel unterstuetzt.
Definition at line 34 of file bluelink.h.
|
|
Erstellt ein BlueLink Objekt. Definition at line 25 of file bluelink.cpp. References m_communicate, m_connected, and m_port. |
|
|
BlueLink Destruktor Definition at line 37 of file bluelink.cpp. |
|
||||||||||||
|
Diese Methode verbindet das rfcomm Device mit dem entfernten Bluetooth Device (dem Telephon). Parameter: const QString& comDevice, btAddr Definition at line 66 of file bluelink.cpp. References connectRfcomm(), and m_rfcommCommand. Referenced by connectRfcomm(), and BluePhone::phoneConnect(). Here is the call graph for this function: ![]() |
|
|
Diese Methode erstellt die Verbindung zum Telephon. Parameter: QString mit dem zu verwendenden Device, diese sind unter Linux normalerweise: /dev/rfcomm0 fuer Bluetooth, /dev/ircomm0 fuer IrDA oder /dev/ttyS0 fuer ein serielles Kabel Definition at line 144 of file bluelink.cpp. References connecttoPhone(), m_communicate, m_connected, m_phoneAnswer, m_phoneMode, m_port, and talktoPhone(). Referenced by connecttoPhone(), and BluePhone::phoneConnect(). Here is the call graph for this function: ![]() |
|
|
Diese Methode trennt die Verbindung zum Telephon. Definition at line 189 of file bluelink.cpp. References m_communicate, m_connected, and m_port. Referenced by BluePhone::phoneDisconnect(). |
|
|
Diese Methode trennt die rfcomm Verbindung mit dem Telephon. Parameter: const QString& comDevice Definition at line 106 of file bluelink.cpp. References disconnectRfcomm(), and m_rfcommCommand. Referenced by disconnectRfcomm(), and BluePhone::phoneDisconnect(). Here is the call graph for this function: ![]() |
|
|
Diese Methode liefet einen Pointer auf einen v24_port_t zurueck. Siehe http://ezv24.sourceforge.net/api-html fuer weitere Informationen. Definition at line 46 of file bluelink.cpp. References m_port. Referenced by BluePhone::phoneConnect(). |
|
|
Diese Methode liefert den Status des Links zum Telephon zurueck. Rueckgabewert: bool Status Definition at line 56 of file bluelink.cpp. References m_connected. Referenced by BluePhone::contactsBackup(), BluePhone::contactsCall(), BluePhone::contactsDelete(), BluePhone::contactsEdit(), BluePhone::contactsNew(), BluePhone::contactsRead(), BluePhone::contactsRestore(), BluePhone::contactsSms(), BluePhone::fileExit(), BluePhone::fileSend(), BluePhone::phoneConnect(), BluePhone::phoneDisconnect(), BluePhone::phoneGetInfo(), BluePhone::setLedGreen(), BluePhone::setLedOrange(), BluePhone::settingsSave(), BluePhone::smsDelete(), BluePhone::smsDeleteAll(), BluePhone::smsNew(), BluePhone::smsRead(), BluePhone::smsReply(), BluePhone::smsSave(), BluePhone::smsSaveAll(), and BluePhone::smsShow(). |
|
||||||||||||
|
Diese Methode tauscht Informationen mit dem Telephon aus. Parameter: v24_port_t* v24_port, QString Befehl . Rueckgabewert: QStringList mit allen Antworten des Telephons. Definition at line 205 of file bluelink.cpp. References m_communicate, and talktoPhone(). Referenced by connecttoPhone(), BluePhone::contactsCall(), BluePhone::contactsDelete(), BluePhone::contactsRead(), BluePhone::contactsRestore(), BluePhone::phoneGetInfo(), BluePhone::sendContactToPhone(), BluePhone::smsDelete(), BluePhone::smsDeleteAll(), BluePhone::smsRead(), and talktoPhone(). Here is the call graph for this function: ![]() |
|
|
Status Variable, sind wir am kommunizieren oder nicht? Definition at line 97 of file bluelink.h. Referenced by BlueLink(), connecttoPhone(), disconnectPhone(), and talktoPhone(). |
|
|
Status Variable, sind wir mit dem Telephon verbunden oder nicht? Definition at line 102 of file bluelink.h. Referenced by BlueLink(), connecttoPhone(), disconnectPhone(), and getState(). |
|
|
Beinhaltet die Antwort des Telephons. Definition at line 113 of file bluelink.h. Referenced by connecttoPhone(). |
|
|
Beinhaltet den "New SMS Benachrichtigungs Modus" des Telephons. Definition at line 118 of file bluelink.h. Referenced by connecttoPhone(). |
|
|
Zeiger auf ezv24 Objekt "Port". Siehe http://ezv24.sourceforge.net/api-html fuer weitere Informationen. Definition at line 108 of file bluelink.h. Referenced by BlueLink(), connecttoPhone(), disconnectPhone(), and getPort(). |
|
|
Beinhaltet die rfcomm Verbindungsparameter. Definition at line 123 of file bluelink.h. Referenced by connectRfcomm(), and disconnectRfcomm(). |
1.3.7