RUI3 (RAK Unified Interface 3) - RAK4631
RAKBleService

Public Member Functions

 RAKBleService (uint8_t service_uuid[])
 
void begin ()
 

Detailed Description

Description
Examples:
BLE_Custom_Service/src/app.cpp.

Constructor & Destructor Documentation

◆ RAKBleService()

RAKBleService ( uint8_t  service_uuid[])
Description
Provide developers to create a new BLE service and construct an instance of BLEService.
Syntax
RAKBleService hrms = RAKBleService(service_uuid[])
Parameters
service_uuid[]create a 128-bit base UUID, and the 3rd and 4th byte means Service 16bit UUID
Returns
void

Member Function Documentation

◆ begin()

void begin ( )
Description
` Before construct an instance BLECharacteristic, need to construct an instance BLEServices and execute .begin()
Note
Users should create your own instance to use this api
RAKBleService hrms = RAKBleService(service_uuid[])
Syntax
hrms.begin()
Returns
void
Examples:
BLE_Custom_Service/src/app.cpp.