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

Gluing components into the CM Broadcast console app

Now that we have all necessary entities and usecases, and the Bluetooth broadcaster channel is in place, we can start putting it all together in the CM Broadcast console app. We will need to:

  • Instantiate a Bluetooth BroadcasterChannel
  • Instantiate the Broadcaster entity
  • Connect the BroadcasterChannel to the Broadcaster entity
  • Instantiate the Sensor entity
  • Instantiate the usecases
  • Emit Sensor::emitReading

Additionally, we will also test that the Bluetooth service is being advertised to remote devices by installing an existing Qt example app onto a mobile device or another PC. In the following chapter, we will substitute the example app with our own mobile client.

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