![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/QByteArray>#include <QtCore/QDebug>#include <QtCore/QUrl>#include <stdio.h>#include <string>#include <bluetooth/bluetooth.h>#include <bluetooth/sdp.h>#include <bluetooth/sdp_lib.h>
Include dependency graph for main.cpp:Go to the source code of this file.
Macros | |
| #define | RETURN_SUCCESS 0 |
| #define | RETURN_USAGE 1 |
| #define | RETURN_INVALPARAM 2 |
| #define | RETURN_SDP_ERROR 3 |
| #define | BUFFER_SIZE 1024 |
Functions | |
| void | usage () |
| static void | parseAttributeValues (sdp_data_t *data, int indentation, QByteArray &xmlOutput) |
| static void | parseAttribute (void *value, void *extraData) |
| QByteArray | parseSdpRecord (sdp_record_t *record) |
| int | main (int argc, char **argv) |
| [0] | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
[0]
[0]
[0]
[6]
[0]
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[0]
[0]
[1]
[1]
[0]
[0]
[0]
[0]
Definition at line 231 of file main.cpp.
References QByteArray::constData(), i, QByteArray::isEmpty(), iter, parseSdpRecord(), record(), RETURN_INVALPARAM, RETURN_SDP_ERROR, RETURN_SUCCESS, RETURN_USAGE, QByteArray::toBase64(), usage(), and xml.
Here is the call graph for this function:Definition at line 199 of file main.cpp.
References QByteArray::append(), BUFFER_SIZE, parseAttributeValues(), and qsnprintf().
Referenced by parseSdpRecord().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 33 of file main.cpp.
References QByteArray::append(), BUFFER_SIZE, QUrl::fromEncoded(), QByteArray::fromRawData(), i, QString::indexOf(), parseAttributeValues(), qsnprintf(), qstrnlen(), QString::replace(), QByteArray::replace(), QString::resize(), QString::size(), text, QUrl::toEncoded(), and url.
Referenced by parseAttribute(), and parseAttributeValues().
Here is the call graph for this function:
Here is the caller graph for this function:| QByteArray parseSdpRecord | ( | sdp_record_t * | record | ) |
Definition at line 215 of file main.cpp.
References QByteArray::append(), parseAttribute(), and record().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: