Hi,
I hope i am right here. I want to send OBEX messages from my laptop to my smartphone. The main goal is to get the contacts of my smartphone per PBAP (phonebook access profile).
For this I created in QT a QBluetoothSocket which opens a RFCOMM connection to my smartphone and connected it to the PBAP service of my smartphone.
Now i need to send a GET request and a message with headers and data. I know (I hope so) which header and belonging data I need, but I do not know how to send it to the socket.
The socket expects a const char *data parameter. What i need to send:
GET Request with Headers:
Header ID: Connection Id
Value: 1
Header ID: Name
Value: telecom/pb
Header ID: Type
Value: x-bt/vcard-listing
Can someone please help me how to create this data message and send it through the socket to my smartphone?
I use wireshark to check the data, but all i get is a malformed OBEX package or the laptop just sends an OBEX fragement, but no OBEX message.
Thank you.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
