nl:: Weave:: Profiles:: ServiceProvisioning
This namespace includes all interfaces within Weave for the Weave Service Provisioning profile, the third of the three Weave provisioning profiles.
Summary
Enumerations |
|
---|---|
@304{
|
enum Service Provisioning Status Codes. |
@305
|
enum Service Provisioning Message Types. |
@306{
|
enum Service Provisioning Data Element Tags. |
Functions |
|
---|---|
EncodeServiceConfig(WeaveCertificateSet & certSet, const char *dirHostName, uint16_t dirPort, uint8_t *outBuf, uint16_t & outLen)
|
NL_DLL_EXPORT WEAVE_ERROR
|
Enumerations
@304
@304
Service Provisioning Status Codes.
@305
@305
Service Provisioning Message Types.
@306
@306
Service Provisioning Data Element Tags.
Properties | |
---|---|
kTag_ServiceConfig
|
[ structure ] Describes a Weave Service. |
kTag_ServiceConfig_CACerts
|
[ array, length >= 1 ] List of trusted CA certificates for service. Each element is a WeaveCertificate, as defined in the Security Profile. |
kTag_ServiceConfig_DirectoryEndPoint
|
[ structure ] Contains contact information for the service's primary directory end point. Contents are as defined below for ServiceEndPoint structure. |
kTag_ServiceEndPoint
|
[ structure ] Describes a Weave Service EndPoint. |
kTag_ServiceEndPointAddress_HostName
|
[ utf-8 string ] Host name or literal IP address. |
kTag_ServiceEndPointAddress_Port
|
[ uint, 1-63353 ] IP port number. Optional |
kTag_ServiceEndPoint_Addresses
|
[ array, length >= 1 ] List of addresses for the service end point. Each element is a ServiceEndPointAddress structure, as defined below. |
kTag_ServiceEndPoint_Id
|
[ uint, 8-64 bits ] Service end point id (an EUI-64) assigned to the service end point. |
kTag_ServiceEndPoint_NodeId
|
[ uint, 8-64 bits ] Weave node id of the node providing the service. Mutually exclusive with Addresses list. |
Functions
EncodeServiceConfig
NL_DLL_EXPORT WEAVE_ERROR EncodeServiceConfig( WeaveCertificateSet & certSet, const char *dirHostName, uint16_t dirPort, uint8_t *outBuf, uint16_t & outLen )