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:
- Identify the local adapter and create a server that listens to it
- Provide information about the service ID
- Provide information about the service's textual descriptors
- Provide information about service's discoverability for ...