Modules#
otSrpClientBuffersServiceEntry
SRP#
This module includes functions that control SRP client behavior.
This module includes functions of the Service Registration Protocol.
This module includes functions for SRP client buffers and service pool.
Functions in this module are only available when feature OPENTHREAD_CONFIG_SRP_CLIENT_BUFFERS_ENABLE is enabled.
Enumerations#
This enumeration specifies an SRP client item (service or host info) state.
This enumeration represents the state of the SRP server.
This enumeration represents the address mode used by the SRP server.
Typedefs#
This structure represents an SRP client host info.
This structure represents an SRP client service.
This function pointer type defines the callback used by SRP client to notify user of changes/events/errors.
This function pointer type defines the callback used by SRP client to notify user when it is auto-started or stopped.
This struct represents a SRP client service pool entry.
This opaque type represents a SRP service host.
This opaque type represents a SRP service.
The ID of a SRP service update transaction on the SRP Server.
The service flag type to indicate which services to include or exclude when searching in (or iterating over) the list of SRP services.
This enumeration represents the address mode used by the SRP server.
This structure includes SRP server TTL configurations.
This structure includes SRP server LEASE and KEY-LEASE configurations.
This structure includes SRP server lease information of a host/service.
This structure includes the statistics of SRP server responses.
This function handles SRP service updates.
Functions#
This function starts the SRP client operation.
This function stops the SRP client operation.
This function indicates whether the SRP client is running or not.
This function gets the socket address (IPv6 address and port number) of the SRP server which is being used by SRP client.
This function sets the callback to notify caller of events/changes from SRP client.
This function enables the auto-start mode.
This function disables the auto-start mode.
This function indicates the current state of auto-start mode (enabled or disabled).
This function gets the TTL value in every record included in SRP update requests.
This function sets the TTL value in every record included in SRP update requests.
This function gets the default lease interval used in SRP update requests.
This function sets the default lease interval used in SRP update requests.
This function gets the default key lease interval used in SRP update requests.
This function sets the default key lease interval used in SRP update requests.
This function gets the host info.
This function sets the host name label.
This function enables auto host address mode.
This function sets/updates the list of host IPv6 address.
This function adds a service to be registered with server.
This function requests a service to be unregistered with server.
This function clears a service, immediately removing it from the client service list.
This function gets the list of services being managed by client.
This function starts the remove process of the host info and all services.
This function clears all host info and all the services.
This function gets the domain name being used by SRP client.
This function sets the domain name to be used by SRP client.
This function converts a otSrpClientItemState
to a string.
This function enables/disables "service key record inclusion" mode.
This method indicates whether the "service key record inclusion" mode is enabled or disabled.
This function gets the string buffer to use for SRP client host name.
This function gets the array of IPv6 address entries to use as SRP client host address list.
This function allocates a new service entry from the pool.
This function frees a previously allocated service entry.
This function frees all previously allocated service entries.
This function gets the string buffer for service name from a service entry.
This function gets the string buffer for service instance name from a service entry.
This function gets the buffer for TXT record from a service entry.
This function gets the array for service subtype labels from the service entry.
This function returns the domain authorized to the SRP server.
This function sets the domain on the SRP server.
This function returns the state of the SRP server.
This function returns the port the SRP server is listening to.
This function returns the address mode being used by the SRP server.
This function sets the address mode to be used by the SRP server.
This function returns the sequence number used with anycast address mode.
This function sets the sequence number used with anycast address mode.
This function enables/disables the SRP server.
This function enables/disables the auto-enable mode on SRP server.
This function indicates whether the auto-enable mode is enabled or disabled.
This function returns SRP server TTL configuration.
This function sets SRP server TTL configuration.
This function returns SRP server LEASE and KEY-LEASE configurations.
This function sets SRP server LEASE and KEY-LEASE configurations.
This function sets the SRP service updates handler on SRP server.
This function reports the result of processing a SRP update to the SRP server.
This function returns the next registered host on the SRP server.
This function returns the response counters of the SRP server.
This function tells if the SRP service host has been deleted.
This function returns the full name of the host.
This function returns the addresses of given host.
This function returns the LEASE and KEY-LEASE information of a given host.
This function returns the next service (excluding any sub-type services) of given host.
This function finds the next matching service on the host.
This function indicates whether or not the SRP service has been deleted.
This function indicates whether or not the SRP service is sub-type.
This function returns the full service instance name of the service.
This function returns the full service instance name of the service.
This function returns the full service name of the service.
This function gets the sub-type label from service name.
This function returns the port of the service instance.
This function returns the weight of the service instance.
This function returns the priority of the service instance.
This function returns the TTL of the service instance.