Skip to content

Struct SYN_KWP2000_Server

ClassList > SYN_KWP2000_Server

KWP2000 Server instance state.

  • #include <syn_kwp2000.h>

Public Attributes

Type Name
uint16_t cid_count
SYN_KWP2000_CID cids
SYN_KWP2000_Session current_session
uint32_t download_addr
uint32_t download_received
uint32_t download_size
bool is_downloading
SYN_KWP2000_KeyHandler key_cb
uint16_t lid_count
SYN_KWP2000_LID lids
SYN_KWP2000_MemoryHandler memory_cb
void * memory_ctx
uint8_t pending_reset_type
SYN_KWP2000_ResetHandler reset_cb
void * reset_ctx
uint32_t reset_wait_ms
SYN_KWP2000_RoutineHandler routine_cb
void * routine_ctx
uint32_t s3_timer_ms
void * security_ctx
uint8_t security_level
bool security_unlocked
SYN_KWP2000_SeedHandler seed_cb
SYN_KWP2000_SessionHandler session_cb
void * session_ctx

Public Attributes Documentation

variable cid_count

uint16_t SYN_KWP2000_Server::cid_count;

Active CID count


variable cids

SYN_KWP2000_CID SYN_KWP2000_Server::cids[SYN_KWP2000_MAX_CIDS];

Registered CIDs


variable current_session

SYN_KWP2000_Session SYN_KWP2000_Server::current_session;

Current diagnostic session


variable download_addr

uint32_t SYN_KWP2000_Server::download_addr;

Target download address


variable download_received

uint32_t SYN_KWP2000_Server::download_received;

Bytes received so far


variable download_size

uint32_t SYN_KWP2000_Server::download_size;

Expected total transfer size


variable is_downloading

bool SYN_KWP2000_Server::is_downloading;

Is RequestDownload active?


variable key_cb

SYN_KWP2000_KeyHandler SYN_KWP2000_Server::key_cb;

Security key handler


variable lid_count

uint16_t SYN_KWP2000_Server::lid_count;

Active LID count


variable lids

SYN_KWP2000_LID SYN_KWP2000_Server::lids[SYN_KWP2000_MAX_LIDS];

Registered LIDs


variable memory_cb

SYN_KWP2000_MemoryHandler SYN_KWP2000_Server::memory_cb;

Memory access handler


variable memory_ctx

void* SYN_KWP2000_Server::memory_ctx;

Memory context


variable pending_reset_type

uint8_t SYN_KWP2000_Server::pending_reset_type;

Pending reset type (0 if none)


variable reset_cb

SYN_KWP2000_ResetHandler SYN_KWP2000_Server::reset_cb;

Reset handler


variable reset_ctx

void* SYN_KWP2000_Server::reset_ctx;

Reset context


variable reset_wait_ms

uint32_t SYN_KWP2000_Server::reset_wait_ms;

Delay before executing reset


variable routine_cb

SYN_KWP2000_RoutineHandler SYN_KWP2000_Server::routine_cb;

Routine control handler


variable routine_ctx

void* SYN_KWP2000_Server::routine_ctx;

Routine context


variable s3_timer_ms

uint32_t SYN_KWP2000_Server::s3_timer_ms;

S3 session keep-alive timer ms


variable security_ctx

void* SYN_KWP2000_Server::security_ctx;

Security context


variable security_level

uint8_t SYN_KWP2000_Server::security_level;

Current active security level


variable security_unlocked

bool SYN_KWP2000_Server::security_unlocked;

Is security access unlocked?


variable seed_cb

SYN_KWP2000_SeedHandler SYN_KWP2000_Server::seed_cb;

Security seed handler


variable session_cb

SYN_KWP2000_SessionHandler SYN_KWP2000_Server::session_cb;

Session transition handler


variable session_ctx

void* SYN_KWP2000_Server::session_ctx;

Session context



The documentation for this class was generated from the following file src/syntropic/proto/syn_kwp2000.h