-
Hello, I am trying to create a subtype service, I write the serviceName with the subtype name before in ordre to create the subype but the registration of my service fail when I put the sub type label in the nameService. The srpClientCallback return 6. What am I doing wrong ?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The service name and sub types should be configured separately. It appears you are including the sub type in both. Also, make sure to set the last entry in the sub type array to NULL to indicate the end of the sub type list. The SRP Client CLI provides an example of configuring sub types: openthread/src/cli/cli_srp_client.cpp Lines 381 to 406 in 2b726ef |
Beta Was this translation helpful? Give feedback.
The service name and sub types should be configured separately. It appears you are including the sub type in both.
Also, make sure to set the last entry in the sub type array to NULL to indicate the end of the sub type list.
The SRP Client CLI provides an example of configuring sub types:
openthread/src/cli/cli_srp_client.cpp
Lines 381 to 406 in 2b726ef