nRF5 IoT SDK
v0.9.0
|
Common IoT utility tools like parsing IPv6 address from a URI. More...
Functions | |
uint32_t | ipv6_parse_addr (uint8_t *p_addr, const char *p_uri, uint8_t uri_len) |
IoT IPv6 address parsing. More... | |
Common IoT utility tools like parsing IPv6 address from a URI.
This module provides utility functions like parsing IPv6 address from a URI.
uint32_t ipv6_parse_addr | ( | uint8_t * | p_addr, |
const char * | p_uri, | ||
uint8_t | uri_len | ||
) |
IoT IPv6 address parsing.
Supports parsing all legal IPv6 address formats as defined by the RFC.
[out] | p_addr | Pointer to array large enough to hold parsed address. MUST be 16 bytes big. |
[in] | p_uri | String with address that should be parsed. |
[in] | uri_len | Length of p_uri string. |