exip
Alpha 0.5.4
|
Go to the source code of this file.
Data Structures | |
struct | ThinFloat |
Macros | |
#define | ON 1 |
Configuration parameters of the EXIP library for the contiki operating system. More... | |
#define | OFF 0 |
#define | EXIP_DEBUG OFF |
#define | EXIP_DEBUG_LEVEL INFO |
#define | DEBUG_STREAM_IO OFF |
#define | DEBUG_COMMON OFF |
#define | DEBUG_CONTENT_IO OFF |
#define | DEBUG_GRAMMAR OFF |
#define | DEBUG_GRAMMAR_GEN OFF |
#define | DEBUG_STRING_TBLS OFF |
#define | DEBUG_CHAR_OUTPUT(character) do {_printf ("%c", character);} while(0) |
#define | DEBUG_OUTPUT(msg) do {_printf msg;} while(0) |
#define | assert(ignore) ((void) 0) |
#define | EXIP_MALLOC d_malloc |
Define the memory allocation and freeing functions. More... | |
#define | EXIP_REALLOC d_realloc |
#define | EXIP_MFREE d_free |
#define | HASH_TABLE_USE OFF |
#define | INITIAL_HASH_TABLE_SIZE 53 |
#define | MAX_HASH_TABLE_SIZE 3000 |
#define | DYN_ARRAY_USE ON |
#define | EXIP_UNSIGNED_INTEGER uint32_t |
#define | EXIP_INTEGER int32_t |
#define | EXIP_FLOAT struct ThinFloat |
#define | LLONG_MAX LONG_MAX |
#define | LLONG_MIN LONG_MIN |
#define | DEFAULT_GRAMMAR_TABLE 40 |
#define | DEFAULT_SIMPLE_GRAMMAR_TABLE 55 |
#define | EXIP_INDEX uint16_t |
#define | EXIP_INDEX_MAX UINT16_MAX |
#define | EXIP_SMALL_INDEX uint8_t |
#define | EXIP_SMALL_INDEX_MAX UINT8_MAX |
#define | EXIP_IMPLICIT_DATA_TYPE_CONVERSION OFF |
Affects encoding only! When an untyped value is expected in the EXI stream (encoded with String according to the spec) passing a typed value diferent from String will require a conversion. More... | |
#define | EXI_PROFILE_DEFAULT OFF |
Whether the EXIP library is conforming to the W3C EXI Profile specification. More... | |
#define | VALUE_CROSSTABLE_USE ON |
#define | BUILD_IN_GRAMMARS_USE ON |
#define assert | ( | ignore) | ((void) 0) |
Definition at line 39 of file build/gcc/contiki/exipConfig.h.
#define BUILD_IN_GRAMMARS_USE ON |
Definition at line 130 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_CHAR_OUTPUT | ( | character) | do {_printf ("%c", character);} while(0) |
Definition at line 36 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_COMMON OFF |
Definition at line 30 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_CONTENT_IO OFF |
Definition at line 31 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_GRAMMAR OFF |
Definition at line 32 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_GRAMMAR_GEN OFF |
Definition at line 33 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_OUTPUT | ( | msg) | do {_printf msg;} while(0) |
Definition at line 37 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_STREAM_IO OFF |
Definition at line 29 of file build/gcc/contiki/exipConfig.h.
#define DEBUG_STRING_TBLS OFF |
Definition at line 34 of file build/gcc/contiki/exipConfig.h.
#define DEFAULT_GRAMMAR_TABLE 40 |
Definition at line 69 of file build/gcc/contiki/exipConfig.h.
#define DEFAULT_SIMPLE_GRAMMAR_TABLE 55 |
Definition at line 70 of file build/gcc/contiki/exipConfig.h.
#define DYN_ARRAY_USE ON |
Definition at line 51 of file build/gcc/contiki/exipConfig.h.
#define EXI_PROFILE_DEFAULT OFF |
EXI Profile helps reduce RAM and programming memory and can be used only for schema mode processing. Use SCHEMA_ID_EMPTY schemaId switch to enable schema mode for otherwise schema-less streams. The value of OFF disable the EXI Profile mode i.e. full featured EXI processing. Set to ON to enable EXI Profile default (most restrictive) mode of operation where:
Note that encoding/decoding the Profile parameters in the header is not supported and most likely will never be. Use only out-of-band communication of the EXI Profile default mode!
Definition at line 111 of file build/gcc/contiki/exipConfig.h.
#define EXIP_DEBUG OFF |
Definition at line 26 of file build/gcc/contiki/exipConfig.h.
#define EXIP_DEBUG_LEVEL INFO |
Definition at line 27 of file build/gcc/contiki/exipConfig.h.
#define EXIP_FLOAT struct ThinFloat |
Definition at line 64 of file build/gcc/contiki/exipConfig.h.
#define EXIP_IMPLICIT_DATA_TYPE_CONVERSION OFF |
If EXIP_IMPLICIT_DATA_TYPE_CONVERSION is enabled the EXIP library takes care of that. Otherwise, if disabled, the applications need to make sure they always pass String typed data when String/untyped value is expected in the EXI stream. For example, assume a schema-less stream and a value for an element encoded with serialize.intData(): 1) When EXIP_IMPLICIT_DATA_TYPE_CONVERSION == OFF serialize.intData() will return an error 2) When EXIP_IMPLICIT_DATA_TYPE_CONVERSION == ON serialize.intData() will first convert the int value to string and then encode it as a string in the EXI stream
Definition at line 92 of file build/gcc/contiki/exipConfig.h.
#define EXIP_INDEX uint16_t |
Definition at line 72 of file build/gcc/contiki/exipConfig.h.
#define EXIP_INDEX_MAX UINT16_MAX |
Definition at line 73 of file build/gcc/contiki/exipConfig.h.
#define EXIP_INTEGER int32_t |
Definition at line 56 of file build/gcc/contiki/exipConfig.h.
#define EXIP_MALLOC d_malloc |
Definition at line 44 of file build/gcc/contiki/exipConfig.h.
#define EXIP_MFREE d_free |
Definition at line 46 of file build/gcc/contiki/exipConfig.h.
#define EXIP_REALLOC d_realloc |
Definition at line 45 of file build/gcc/contiki/exipConfig.h.
#define EXIP_SMALL_INDEX uint8_t |
Definition at line 75 of file build/gcc/contiki/exipConfig.h.
#define EXIP_SMALL_INDEX_MAX UINT8_MAX |
Definition at line 76 of file build/gcc/contiki/exipConfig.h.
#define EXIP_UNSIGNED_INTEGER uint32_t |
Definition at line 55 of file build/gcc/contiki/exipConfig.h.
#define HASH_TABLE_USE OFF |
Definition at line 48 of file build/gcc/contiki/exipConfig.h.
#define INITIAL_HASH_TABLE_SIZE 53 |
Definition at line 49 of file build/gcc/contiki/exipConfig.h.
#define LLONG_MAX LONG_MAX |
Definition at line 66 of file build/gcc/contiki/exipConfig.h.
#define LLONG_MIN LONG_MIN |
Definition at line 67 of file build/gcc/contiki/exipConfig.h.
#define MAX_HASH_TABLE_SIZE 3000 |
Definition at line 50 of file build/gcc/contiki/exipConfig.h.
#define OFF 0 |
Definition at line 24 of file build/gcc/contiki/exipConfig.h.
#define ON 1 |
Definition at line 23 of file build/gcc/contiki/exipConfig.h.
#define VALUE_CROSSTABLE_USE ON |
Definition at line 125 of file build/gcc/contiki/exipConfig.h.