ot::Srp::Server::Service::ParseSubTypeServiceName() method
Parses a sub-type service name (full name) and extracts the sub-type label. The full service name for a sub-type service follows "._sub...".
Arguments
aSubTypeServiceName
A sub-type service name (full name).
aLabel
A pointer to a buffer to copy the extracted sub-type label.
aLabelSize
Maximum size of @p aLabel buffer.
Return value
kErrorNone Name was successfully parsed and @p aLabel was updated. kErrorNoBufs The sub-type label could not fit in @p aLabel buffer (number of chars from label that could fit are copied in @p aLabel ensuring it is null-terminated). kErrorInvalidArgs @p aSubTypeServiceName is not a valid sub-type format.
ot::Srp::Server::Service::ParseSubTypeServiceName() is called by 1 function and calls 1 function:
![]()
ot::Srp::Server::Service::ParseSubTypeServiceName()
ot::Srp::Server::Service::ParseSubTypeServiceName() reads 6 variables:
![]()
ot::Srp::Server::Service::ParseSubTypeServiceName()