OpenV2G
Macros | Functions
v2gtp.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define V2GTP_H_
 
#define V2GTP_HEADER_LENGTH   8
 
#define V2GTP_VERSION   0x01
 
#define V2GTP_VERSION_INV   0xFE
 
#define V2GTP_EXI_TYPE   0x8001
 

Functions

int write_v2gtpHeader (uint8_t *outStream, uint32_t outStreamLength, uint16_t payloadType)
 
int read_v2gtpHeader (uint8_t *inStream, uint32_t *payloadLength)
 

Macro Definition Documentation

◆ V2GTP_EXI_TYPE

#define V2GTP_EXI_TYPE   0x8001

◆ V2GTP_H_

#define V2GTP_H_

◆ V2GTP_HEADER_LENGTH

#define V2GTP_HEADER_LENGTH   8

◆ V2GTP_VERSION

#define V2GTP_VERSION   0x01

◆ V2GTP_VERSION_INV

#define V2GTP_VERSION_INV   0xFE

Function Documentation

◆ read_v2gtpHeader()

int read_v2gtpHeader ( uint8_t *  inStream,
uint32_t *  payloadLength 
)

◆ write_v2gtpHeader()

int write_v2gtpHeader ( uint8_t *  outStream,
uint32_t  outStreamLength,
uint16_t  payloadType 
)