Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

BluetoothLeService

Bluetooth Low Energy Service, groups Characteristics. More...

Import Statement: import Felgo 4.0
Since: Felgo 3.7.0

Properties

Detailed Description

General info and usage examples for Bluetooth LE: Use Bluetooth Low Energy

The BluetoothLeService is basically a characteristic grouping entity with an UUID and a name.

You can define ahead of time the characteristics you expect from your service by setting the uuid.

 BluetoothLeService {
   uuid: 0x180F
   BluetoothLeCharacteristic {
     uuid: 0x2A19
   }
 }

Property Documentation

characteristics : list<BluetoothLeCharacteristic>

The list of characteristics discovered for the servide or described in QML ahead of time.


name : string

The service name reported by the device.


uuid : var

Reading the uuid will always return the long 128bit string formated value as "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" where 'x' is a hex digit. A short 16bit uuid can be set using the 0xXXXX notation. Just like the example above.


valid : bool

Set if a valid service is discovered for the current uuid.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded