[SailfishDevel] QBluetoothServer Client app
Riku
rikul.lajolla at kiu.as
Wed Nov 16 14:08:00 UTC 2016
Thanks for an answer. It was unclear to me if the pairing is needed or not so this answer limits my bug hunting.
If I manage to get the code to work I hope some day in future the Harbour accepts QtBluetooth API.
Regards Riku
Bea Lam kirjoitti ke marraskuuta 16 09:46:48 2016 GMT+0200:
> Hi Riku,
>
> > On 16 Nov 2016, at 3:17 pm, Riku Lahtinen <rikul.lajolla at kiu.as> wrote:
> >
> > Hi!
> >
> > I have tried to modify my Fast chess app to have a two player mode with two devices. I planned to code it using bluetooth technology. I found a good QT example Ping Pong, which has a functionality I need.
> >
> > Currently in my code I think I can get the server running in my Jolla C or Jolla 1. When I try to connect my client device, some discovery is done, but the connection is not established. Currently I can't find any bug in my code.
> >
> > Is Jolla and SailfishOS capable to create that kind of app? If the answer is YES I will hunt more possible bugs in code. If the answer is NO, I have to find another solution to pair devices.
>
> Note that the devices have to be paired already via the Sailfish Settings app, as there are restrictions on creating new pairings outside of the system framework. If the devices are successfully paired and trusted, I assume that it would be possible to establish a RFCOMM connection, so I would suggest studying the hcidump logs to see where it breaks down.
>
> Note that the QtBluetooth library is not yet included in the Harbour APIs, so it cannot be used in apps distributed via the Store.
>
> Cheers,
> Bea
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>
--
Lähetetty Jollastani
More information about the Devel
mailing list