[ncp] add service spinel bindings (#3659)

* add spinel bindings for service add/remove/get
* add leader services query
This commit is contained in:
Joseph Newman
2019-03-28 22:29:25 -07:00
committed by Jonathan Hui
parent ca0b1d8229
commit ecad71733d
12 changed files with 263 additions and 12 deletions
+4
View File
@@ -310,6 +310,10 @@ extern "C" {
#define UINT32_MAX 0xffffffff
#endif
#ifndef UINT8_MAX
#define UINT8_MAX 0xff
#endif
#endif
#endif
+4 -4
View File
@@ -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.