Contiki 2.5
|
#include <string.h>
#include <stdlib.h>
#include "contiki.h"
#include "logging.h"
#include "agent.h"
#include "sdnv.h"
#include "eid.h"
Go to the source code of this file.
Functions | |
int | eid_parse_host (char *buffer, uint8_t length, uint32_t *node_id) |
Parses an incoming string and fills out the EID struct. More... | |
int | eid_parse_host_length (uint8_t *buffer, uint8_t length, uint32_t *node_id) |
Parses an byte buffer that contains the SDNV length and an EID string and fills out the EID struct. More... | |
int | eid_parse_full (char *buffer, uint8_t length, uint32_t *node_id, uint32_t *service_id) |
Parses an incoming string and fills out the EID struct. More... | |
int | eid_parse_full_length (uint8_t *buffer, uint8_t length, uint32_t *node_id, uint32_t *service_id) |
Parses an byte buffer that contains the SDNV length and an EID string and fills out the EID struct. More... | |
int | eid_create_host (uint32_t node_id, char *buffer, uint8_t length) |
Converts the EID struct into a string representation. More... | |
int | eid_create_host_length (uint32_t node_id, uint8_t *buffer, uint8_t length) |
Converts the EID struct into a string representation prefixed with the SDNV-encoded length. More... | |
int | eid_create_full (uint32_t node_id, uint32_t service_id, char *buffer, uint8_t length) |
Converts the EID struct into a string representation. More... | |
int | eid_create_full_length (uint32_t node_id, uint32_t service_id, uint8_t *buffer, uint8_t length) |
Converts the EID struct into a string representation prefixed with the SDNV-encoded length. More... | |
Definition in file eid.c.