mirror of
https://github.com/espressif/openthread.git
synced 2026-08-11 05:07:47 +00:00
[ncp] add service spinel bindings (#3659)
* add spinel bindings for service add/remove/get * add leader services query
This commit is contained in:
committed by
Jonathan Hui
parent
ca0b1d8229
commit
ecad71733d
@@ -310,6 +310,10 @@ extern "C" {
|
||||
#define UINT32_MAX 0xffffffff
|
||||
#endif
|
||||
|
||||
#ifndef UINT8_MAX
|
||||
#define UINT8_MAX 0xff
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -123,10 +123,10 @@ OTAPI otError OTCALL otServerAddService(otInstance *aInstance, const otServiceCo
|
||||
* @sa otServerRegister
|
||||
*
|
||||
*/
|
||||
OTAPI otError OTCALL otServerRemoveService(otInstance *aInstance,
|
||||
uint32_t aEnterpriseNumber,
|
||||
uint8_t * aServiceData,
|
||||
uint8_t aServiceDataLength);
|
||||
OTAPI otError OTCALL otServerRemoveService(otInstance * aInstance,
|
||||
uint32_t aEnterpriseNumber,
|
||||
const uint8_t *aServiceData,
|
||||
uint8_t aServiceDataLength);
|
||||
|
||||
/**
|
||||
* This function gets the next service in the local Network Data.
|
||||
|
||||
Reference in New Issue
Block a user