0.01.00
server.h File Reference

This file defines the OpenThread Server API. More...

#include <openthread/types.h>

Go to the source code of this file.

Functions

OTAPI otError OTCALL otServerGetNetDataLocal (otInstance *aInstance, bool aStable, uint8_t *aData, uint8_t *aDataLength)
 This method provides a full or stable copy of the local Thread Network Data. More...
 
OTAPI otError OTCALL otServerAddService (otInstance *aInstance, const otServiceConfig *aConfig)
 Add a service configuration to the local network data. More...
 
OTAPI otError OTCALL otServerRemoveService (otInstance *aInstance, uint32_t aEnterpriseNumber, uint8_t *aServiceData, uint8_t aServiceDataLength)
 Remove a service configuration from the local network data. More...
 
OTAPI otError OTCALL otServerGetNextService (otInstance *aInstance, otNetworkDataIterator *aIterator, otServiceConfig *aConfig)
 This function gets the next service in the local Network Data. More...
 
OTAPI otError OTCALL otServerRegister (otInstance *aInstance)
 Immediately register the local network data with the Leader. More...
 

Detailed Description

This file defines the OpenThread Server API.