35 #ifndef OPENTHREAD_SERVER_H_ 36 #define OPENTHREAD_SERVER_H_ 64 uint8_t *aDataLength);
96 uint8_t aServiceDataLength);
134 #endif // OPENTHREAD_SERVER_H_ This structure represents a Service configuration.
Definition: types.h:857
This type represents all the static / global variables used by OpenThread allocated in one place...
Definition: openthread-instance.h:59
OTAPI otError OTCALL otServerRemoveService(otInstance *aInstance, uint32_t aEnterpriseNumber, uint8_t *aServiceData, uint8_t aServiceDataLength)
Remove a service configuration from the local network data.
This file defines the types and structures used in the OpenThread library API.
uint32_t otNetworkDataIterator
Used to iterate through Network Data information.
Definition: types.h:710
OTAPI otError OTCALL otServerRegister(otInstance *aInstance)
Immediately register the local network data with the Leader.
OTAPI otError OTCALL otServerGetNextService(otInstance *aInstance, otNetworkDataIterator *aIterator, otServiceConfig *aConfig)
This function gets the next service in the local Network Data.
OTAPI otError OTCALL otServerAddService(otInstance *aInstance, const otServiceConfig *aConfig)
Add a service configuration to the local network data.
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.
otError
This enumeration represents error codes used throughout OpenThread.
Definition: types.h:107