![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
| brp_errcode brp_BlePeriph_DefineService | ( | brp_BlePeriph_DefineService_t | params | ) |
This command registers a new BLE service.
When a BLE Central tries to discover services, this service will be amongst the available ones.
If currently enabled, this method disables BLE implicitly. To start the service, call brp_BlePeriph_Enable() afterwards.
A maximum of 5 characteristics may be defined for the BLE service. The total size of all characteristics may not exceed 1536 bytes.
| [in] | params | Struct with the following fields:
|