otSrpServerServiceGetTxtData() function
Returns the TXT record data of the service instance.
Arguments
aService
A pointer to the SRP service.
aDataLength
A pointer to return the TXT record data length. MUST NOT be NULL.
Return value
A pointer to the buffer containing the TXT record data (the TXT data length is returned in @p aDataLength).