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

Providing information about the service's textual descriptors

After having set service UUID information, we provide human-readable information (ServiceName, ServiceDescription, ServiceProvider) for identifying the origin and purpose of the provided service:

bool channels::BroadcasterBt::_provideServiceTraits(){    qDebug() << Q_FUNC_INFO;    _serviceInfo.setAttribute(QBluetoothServiceInfo::ServiceName, "CM BT Broadcaster Channel");    _serviceInfo.setAttribute(QBluetoothServiceInfo::ServiceDescription, "Cute Measures bluetooth broadcaster channel for sensor readings");    _serviceInfo.setAttribute(QBluetoothServiceInfo::ServiceProvider, "Cute Measures");     return _serviceInfo.isValid();}

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