Hi, The chat example uses its very own service UUID. Unless your Android device knows about the service UUID and can use it. it will always respond with the mentioned error. The example is meant to be used on two machines. It acts as server and client at the same time.
Since we don't have an Android port for QtBluetooth yet (on my todo) you'd have to have your custom btchat app on Android which talks the same protocol. Do you have such an app on your Android? In general there should not be a problem talking between Android and QtBluetooth on e.g. Linux but you'd have to synchronize both side with custom apps or you use the provided Object Push for now. -- Alex ________________________________ From: Ramakanthreddy Kesireddy [ramakanthreddy.kesire...@techmahindra.com] Sent: Thursday, October 24, 2013 08:26 To: Blasche Alexander; interest@qt-project.org Subject: RE: Bluetooth Qt Connectivity module(5.1 Qt SDK) Hi Alex, Thanks for your pointers. I could successfully run the BT Transfer example using Qt5.2 aplha. It had been problem with USB BT dongle that we were using earlier. Are there any prerequisites to run BT chat example as it says chat service not available? Iam interested to send text from PC to android phone using BT chat example. Does this suffice for this requirement Using Bluetooth API? Please let me know in this regard. Thanks and Regards, Ramakanth From: Blasche Alexander [mailto:alexander.blas...@digia.com] Sent: 30 August 2013 14:15 To: Ramakanthreddy Kesireddy; interest@qt-project.org Subject: RE: Bluetooth Qt Connectivity module(5.1 Qt SDK) Hi, Couple of questions: 1.) What branch of qtconnectivity are you using? Maybe add the SHA? 2.) What does gdb tell you when you interrupt the hanging process? Where is it stuck (aka what does the bt look like). -- Alex ________________________________ From: interest-bounces+alexander.blasche=digia....@qt-project.org<mailto:interest-bounces+alexander.blasche=digia....@qt-project.org> [interest-bounces+alexander.blasche=digia....@qt-project.org] on behalf of Ramakanthreddy Kesireddy [ramakanthreddy.kesire...@techmahindra.com] Sent: Thursday, August 29, 2013 18:10 To: interest@qt-project.org<mailto:interest@qt-project.org> Subject: Re: [Interest] Bluetooth Qt Connectivity module(5.1 Qt SDK) Hi, I tried to unset compiz and then run BTtransfer example application. However, once the device is found(after pairing is completed) and shown in dialog, the application freezes though there is no Compiz error. Please let me know if there are any clues in this regard. Thanks and Regards, Ramakanth ________________________________ From: Ramakanthreddy Kesireddy Sent: Monday, August 19, 2013 11:50 AM To: interest@qt-project.org<mailto:interest@qt-project.org> Subject: Bluetooth Qt Connectivity module(5.1 Qt SDK) Hi, Am using Qt 5.1 Offline installer for Linux Ubuntu 12.04 X86 32 bit sdk. I installed libblueooth3. I built Qt connectivity module from qt repository and tried to execute the btfiletransfer/btchat examples so as to verify Bt communication using OBEX/SPP profiles. However, these examples are not working fine and crashes while the transfer is initiated with compiz terminated unexpectedly. The system needs reboot after this. Please let me know if am missing anything in this regard. Thanks and Regards, Ramakanth ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ________________________________ DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest