Contiki 2.5
Functions
sdnv.h File Reference

Headerfile for sdnv functions. More...

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "contiki.h"

Go to the source code of this file.

Functions

int sdnv_encode (uint32_t val, uint8_t *bp, size_t len)
 encodes an uint32 value in sdnv More...
 
size_t sdnv_encoding_len (uint32_t val)
 calculates the length needed to encode an uint32 value in sdnv More...
 
int sdnv_decode (const uint8_t *bp, size_t len, uint32_t *val)
 decodes a sdnv to an uint32 value More...
 
size_t sdnv_len (const uint8_t *bp)
 calculates the length of a sdnv More...
 

Detailed Description

Headerfile for sdnv functions.

Author
Georg von Zengen vonze.nosp@m.ng@i.nosp@m.br.cs.nosp@m..tu-.nosp@m.bs.de

Definition in file sdnv.h.