ArduinoBLE - BLEService()

Create a new Bluetooth® Low Energy service.

Syntax

BLEService(uuid)

Parameters

  • uuid: 16-bit or 128-bit UUID in String format

Returns

  • New BLEService with the specified UUID

Example


BLEService ledService("19B10000-E8F2-537E-4F6C-D104768A1214"); // Bluetooth® Low Energy LED Service