Functions | Variables
ltkc_framedecode.c File Reference
#include <assert.h>
#include "ltkc_platform.h"
#include "ltkc_base.h"
#include "ltkc_frame.h"
Include dependency graph for ltkc_framedecode.c:

Go to the source code of this file.

Functions

static llrp_bool_t checkAvailable (LLRP_tSFrameDecoderStream *pDecoderStream, unsigned int nByte, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static LLRP_tSMessagedecodeMessage (LLRP_tSFrameDecoderStream *pDecoderStream)
static LLRP_tSParameterdecodeParameter (LLRP_tSFrameDecoderStream *pDecoderStream)
static void decoderDestruct (LLRP_tSDecoder *pBaseDecoder)
static llrp_bytesToEnd_t get_bytesToEnd (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static int get_e1 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static int get_e16 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static int get_e2 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static int get_e32 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static int get_e8 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u8v_t get_e8v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void get_reserved (LLRP_tSDecoderStream *pBaseDecoderStream, unsigned int nBit)
static llrp_s16_t get_s16 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_s16v_t get_s16v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_s32_t get_s32 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_s32v_t get_s32v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_s64_t get_s64 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_s64v_t get_s64v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_s8_t get_s8 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_s8v_t get_s8v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u1_t get_u1 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u16_t get_u16 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u16v_t get_u16v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u1v_t get_u1v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u2_t get_u2 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u32_t get_u32 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u32v_t get_u32v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u64_t get_u64 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u64v_t get_u64v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u8_t get_u8 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u8v_t get_u8v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_u96_t get_u96 (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_utf8v_t get_utf8v (LLRP_tSDecoderStream *pBaseDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static unsigned int getBitField (LLRP_tSFrameDecoderStream *pDecoderStream, unsigned int nBit, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static unsigned int getRemainingByteCount (LLRP_tSFrameDecoderStream *pDecoderStream)
static llrp_u16_t getVarlenCount (LLRP_tSFrameDecoderStream *pDecoderStream, const LLRP_tSFieldDescriptor *pFieldDescriptor)
LLRP_tSFrameDecoderLLRP_FrameDecoder_construct (const LLRP_tSTypeRegistry *pTypeRegistry, unsigned char *pBuffer, unsigned int nBuffer)
static llrp_u16_t next_u16 (LLRP_tSFrameDecoder *pDecoder)
static llrp_u32_t next_u32 (LLRP_tSFrameDecoder *pDecoder)
static llrp_u64_t next_u64 (LLRP_tSFrameDecoder *pDecoder)
static llrp_u8_t next_u8 (LLRP_tSFrameDecoder *pDecoder)
static void streamConstruct_nested (LLRP_tSFrameDecoderStream *pDecoderStream, LLRP_tSFrameDecoderStream *pEnclosingDecoderStream)
static void streamConstruct_outermost (LLRP_tSFrameDecoderStream *pDecoderStream, LLRP_tSFrameDecoder *pDecoder)
static LLRP_tSMessagetopDecodeMessage (LLRP_tSDecoder *pBaseDecoder)
static llrp_bool_t verifyVectorAllocation (LLRP_tSFrameDecoderStream *pDecoderStream, const void *pValue, const LLRP_tSFieldDescriptor *pFieldDescriptor)

Variables

static LLRP_tSDecoderOps s_FrameDecoderOps
static LLRP_tSDecoderStreamOps s_FrameDecoderStreamOps

Function Documentation

static llrp_bool_t checkAvailable ( LLRP_tSFrameDecoderStream pDecoderStream,
unsigned int  nByte,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1680 of file ltkc_framedecode.c.

static LLRP_tSMessage * decodeMessage ( LLRP_tSFrameDecoderStream pDecoderStream) [static]

Definition at line 1227 of file ltkc_framedecode.c.

static LLRP_tSParameter * decodeParameter ( LLRP_tSFrameDecoderStream pDecoderStream) [static]

Definition at line 1434 of file ltkc_framedecode.c.

static void decoderDestruct ( LLRP_tSDecoder pBaseDecoder) [static]

Definition at line 336 of file ltkc_framedecode.c.

static llrp_bytesToEnd_t get_bytesToEnd ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1023 of file ltkc_framedecode.c.

static int get_e1 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1058 of file ltkc_framedecode.c.

static int get_e16 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1094 of file ltkc_framedecode.c.

static int get_e2 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1070 of file ltkc_framedecode.c.

static int get_e32 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1106 of file ltkc_framedecode.c.

static int get_e8 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1082 of file ltkc_framedecode.c.

static llrp_u8v_t get_e8v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1118 of file ltkc_framedecode.c.

static void get_reserved ( LLRP_tSDecoderStream pBaseDecoderStream,
unsigned int  nBit 
) [static]

Definition at line 1126 of file ltkc_framedecode.c.

static llrp_s16_t get_s16 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 574 of file ltkc_framedecode.c.

static llrp_s16v_t get_s16v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 631 of file ltkc_framedecode.c.

static llrp_s32_t get_s32 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 688 of file ltkc_framedecode.c.

static llrp_s32v_t get_s32v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 745 of file ltkc_framedecode.c.

static llrp_s64_t get_s64 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 802 of file ltkc_framedecode.c.

static llrp_s64v_t get_s64v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 859 of file ltkc_framedecode.c.

static llrp_s8_t get_s8 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 460 of file ltkc_framedecode.c.

static llrp_s8v_t get_s8v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 517 of file ltkc_framedecode.c.

static llrp_u1_t get_u1 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 894 of file ltkc_framedecode.c.

static llrp_u16_t get_u16 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 552 of file ltkc_framedecode.c.

static llrp_u16v_t get_u16v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 596 of file ltkc_framedecode.c.

static llrp_u1v_t get_u1v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 909 of file ltkc_framedecode.c.

static llrp_u2_t get_u2 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 946 of file ltkc_framedecode.c.

static llrp_u32_t get_u32 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 666 of file ltkc_framedecode.c.

static llrp_u32v_t get_u32v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 710 of file ltkc_framedecode.c.

static llrp_u64_t get_u64 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 780 of file ltkc_framedecode.c.

static llrp_u64v_t get_u64v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 824 of file ltkc_framedecode.c.

static llrp_u8_t get_u8 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 438 of file ltkc_framedecode.c.

static llrp_u8v_t get_u8v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 482 of file ltkc_framedecode.c.

static llrp_u96_t get_u96 ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 961 of file ltkc_framedecode.c.

static llrp_utf8v_t get_utf8v ( LLRP_tSDecoderStream pBaseDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 988 of file ltkc_framedecode.c.

static unsigned int getBitField ( LLRP_tSFrameDecoderStream pDecoderStream,
unsigned int  nBit,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1717 of file ltkc_framedecode.c.

static unsigned int getRemainingByteCount ( LLRP_tSFrameDecoderStream pDecoderStream) [static]

Definition at line 1664 of file ltkc_framedecode.c.

static llrp_u16_t getVarlenCount ( LLRP_tSFrameDecoderStream pDecoderStream,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1758 of file ltkc_framedecode.c.

LLRP_tSFrameDecoder* LLRP_FrameDecoder_construct ( const LLRP_tSTypeRegistry pTypeRegistry,
unsigned char *  pBuffer,
unsigned int  nBuffer 
)

Definition at line 307 of file ltkc_framedecode.c.

static llrp_u16_t next_u16 ( LLRP_tSFrameDecoder pDecoder) [static]

Definition at line 375 of file ltkc_framedecode.c.

static llrp_u32_t next_u32 ( LLRP_tSFrameDecoder pDecoder) [static]

Definition at line 390 of file ltkc_framedecode.c.

static llrp_u64_t next_u64 ( LLRP_tSFrameDecoder pDecoder) [static]

Definition at line 409 of file ltkc_framedecode.c.

static llrp_u8_t next_u8 ( LLRP_tSFrameDecoder pDecoder) [static]

Definition at line 362 of file ltkc_framedecode.c.

static void streamConstruct_nested ( LLRP_tSFrameDecoderStream pDecoderStream,
LLRP_tSFrameDecoderStream pEnclosingDecoderStream 
) [static]

Definition at line 1207 of file ltkc_framedecode.c.

static void streamConstruct_outermost ( LLRP_tSFrameDecoderStream pDecoderStream,
LLRP_tSFrameDecoder pDecoder 
) [static]

Definition at line 1191 of file ltkc_framedecode.c.

LLRP_tSMessage * topDecodeMessage ( LLRP_tSDecoder pBaseDecoder) [static]

Definition at line 345 of file ltkc_framedecode.c.

static llrp_bool_t verifyVectorAllocation ( LLRP_tSFrameDecoderStream pDecoderStream,
const void *  pValue,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1777 of file ltkc_framedecode.c.


Variable Documentation

Initial value:
{
    .pfDestruct             = decoderDestruct,
    .pfDecodeMessage        = topDecodeMessage,
}

Definition at line 260 of file ltkc_framedecode.c.

Definition at line 267 of file ltkc_framedecode.c.



thingmagic_rfid
Author(s): Brian Bingham
autogenerated on Thu May 16 2019 03:01:24