|
Contiki 2.5
|
implementation of SDNV functions More...
Go to the source code of this file.
Macros | |
| #define | MAX_LENGTH 8 |
| maximum sdnv length | |
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... | |
implementation of SDNV functions
Definition in file sdnv.c.
1.8.3.1