O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing the channel initialization method

It is now time to implement the BT channel initialization method and get to know a few Qt Bluetooth classes.

To do that, we need to ask ourselves, what does the initialization of the Bluetooth connection involve? Remember that we want to create an RFCOMM server; the initialization would then likely include the creation of the server, and the exposure of a discoverable service that Bluetooth clients can connect to. Here is a list of steps required to achieve this result:

  1. Identify the local adapter and create a server that listens to it
  2. Provide information about the service ID
  3. Provide information about the service's textual descriptors

 

  1. Provide information about service's discoverability for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required