otIp4AddressToString() function
Converts the address to a string. The string format uses quad-dotted notation of four bytes in the address (e.g., "127.0.0.1"). If the resulting string does not fit in @p aBuffer (within its @p aSize characters), the string will be truncated but the outputted string is always null-terminated.
Arguments
aAddress
A pointer to an IPv4 address (MUST NOT be NULL).
aBuffer
A pointer to a char array to output the string (MUST NOT be `nullptr`).
aSize
The size of @p aBuffer (in bytes).
otIp4AddressToString():
![]()
otIp4AddressToString()