PebbleOS v4.47.0-1161-g94e3d98da
Loading...
Searching...
No Matches
pbl_bt_gatts_service Struct Reference

A service of the device. More...

#include <gatts.h>

Data Fields

int(* add )(void)
 Add the service to the GATT server, e.g.
 

Detailed Description

A service of the device.

Define it with PBL_BT_GATTS_SERVICE_DEFINE().

Field Documentation

◆ add

int(* pbl_bt_gatts_service::add) (void)

Add the service to the GATT server, e.g.

with pbl_bt_gatts_add().

Returns
0 on success, negative errno otherwise.

The documentation for this struct was generated from the following file: