Skip to content

Struct SYN_UDS_Server

ClassList > SYN_UDS_Server

UDS Server Instance Context.

  • #include <syn_uds.h>

Public Attributes

Type Name
uint16_t active_p2_max_ms
uint16_t active_p2_star_max_10ms
uint32_t active_seed
uint8_t active_seed_bytes
uint8_t active_seed_subfunction
uint8_t aes_security_key
SYN_UDS_AuthHandler auth_cb
void * auth_ctx
SYN_UDS_CommControlHandler comm_control_cb
void * comm_control_ctx
SYN_UDS_CommControlType comm_control_state
uint8_t comm_type
uint32_t current_seed
uint8_t current_seed_bytes
uint8_t custom_security_count
uint16_t custom_security_masks
uint8_t custom_security_sids
uint8_t custom_session_count
uint8_t custom_session_masks
uint8_t custom_session_sids
uint8_t did_count
SYN_UDS_DIDEntry did_table
SYN_UDS_DTCHandler dtc_cb
uint8_t dtc_count
void * dtc_ctx
SYN_UDS_DTCEntry dtc_table
SYN_UDS_DynamicDIDHandler dynamic_did_cb
void * dynamic_did_ctx
uint8_t expected_block_seq
SYN_UDS_FileTransferHandler file_transfer_cb
void * file_transfer_ctx
SYN_UDS_IOControlHandler io_control_cb
void * io_control_ctx
SYN_UDS_LinkControlHandler link_control_cb
void * link_control_ctx
SYN_UDS_MemoryHandler memory_cb
void * memory_ctx
uint16_t p2_max_ms
uint16_t p2_star_max_10ms
SYN_UDS_PeriodicDataHandler periodic_cb
void * periodic_ctx
SYN_UDS_ResetHandler reset_cb
void * reset_ctx
uint16_t reset_tx_wait_ms
uint8_t reset_type_requested
uint32_t reset_wait_elapsed_ms
SYN_UDS_ResponseOnEventHandler roe_cb
void * roe_ctx
SYN_UDS_RoutineControlHandler routine_cb
void * routine_ctx
uint32_t s3_timer_ms
SYN_UDS_ScalingDataHandler scaling_cb
void * scaling_ctx
SYN_UDS_SecuredDataHandler secured_data_cb
void * secured_data_ctx
uint32_t security_delay_timer_ms
uint8_t security_error_count
uint8_t security_level
SYN_UDS_SecurityState security_state
SYN_UDS_Session session
SYN_UDS_SessionTransitionHandler session_transition_cb
void * session_transition_ctx
SYN_UDS_AccessTimingHandler timing_cb
void * timing_ctx
uint32_t transfer_address
uint32_t transfer_bytes_processed
uint32_t transfer_size
SYN_UDS_TransferState transfer_state
bool use_aes128_security

Public Attributes Documentation

variable active_p2_max_ms

uint16_t SYN_UDS_Server::active_p2_max_ms;

Active P2Server_max timing (ms).


variable active_p2_star_max_10ms

uint16_t SYN_UDS_Server::active_p2_star_max_10ms;

Active P2*Server_max timing (10ms units).


variable active_seed

uint32_t SYN_UDS_Server::active_seed;

Issued transaction security seed value


variable active_seed_bytes

uint8_t SYN_UDS_Server::active_seed_bytes[16];

Issued transaction AES-128 security seed (16 bytes)


variable active_seed_subfunction

uint8_t SYN_UDS_Server::active_seed_subfunction;

Active seed request subfunction (e.g. 0x01, 0x03)


variable aes_security_key

uint8_t SYN_UDS_Server::aes_security_key[16];

AES-128 security secret key (16 bytes)


variable auth_cb

SYN_UDS_AuthHandler SYN_UDS_Server::auth_cb;

Authentication (0x29) callback.


variable auth_ctx

void* SYN_UDS_Server::auth_ctx;

Context pointer for auth callback.


variable comm_control_cb

SYN_UDS_CommControlHandler SYN_UDS_Server::comm_control_cb;

CommunicationControl callback


variable comm_control_ctx

void* SYN_UDS_Server::comm_control_ctx;

CommunicationControl context pointer


variable comm_control_state

SYN_UDS_CommControlType SYN_UDS_Server::comm_control_state;

CommunicationControl state


variable comm_type

uint8_t SYN_UDS_Server::comm_type;

Communication type byte


variable current_seed

uint32_t SYN_UDS_Server::current_seed;

Master template security seed value


variable current_seed_bytes

uint8_t SYN_UDS_Server::current_seed_bytes[16];

Master template AES-128 security seed (16 bytes)


variable custom_security_count

uint8_t SYN_UDS_Server::custom_security_count;

Custom security override count


variable custom_security_masks

uint16_t SYN_UDS_Server::custom_security_masks[SYN_UDS_MAX_SERVICE_OVERRIDES];

Custom security mask values


variable custom_security_sids

uint8_t SYN_UDS_Server::custom_security_sids[SYN_UDS_MAX_SERVICE_OVERRIDES];

Custom security mask SID overrides


variable custom_session_count

uint8_t SYN_UDS_Server::custom_session_count;

Custom session override count


variable custom_session_masks

uint8_t SYN_UDS_Server::custom_session_masks[SYN_UDS_MAX_SERVICE_OVERRIDES];

Custom session mask values


variable custom_session_sids

uint8_t SYN_UDS_Server::custom_session_sids[SYN_UDS_MAX_SERVICE_OVERRIDES];

Custom session mask SID overrides


variable did_count

uint8_t SYN_UDS_Server::did_count;

Registered DID count


variable did_table

SYN_UDS_DIDEntry SYN_UDS_Server::did_table[SYN_UDS_MAX_DIDS];

Registered DID entries array


variable dtc_cb

SYN_UDS_DTCHandler SYN_UDS_Server::dtc_cb;

ReadDTCInformation (0x19) callback.


variable dtc_count

uint8_t SYN_UDS_Server::dtc_count;

Registered DTC count


variable dtc_ctx

void* SYN_UDS_Server::dtc_ctx;

Context pointer for DTC callback.


variable dtc_table

SYN_UDS_DTCEntry SYN_UDS_Server::dtc_table[SYN_UDS_MAX_DTCS];

Registered DTC entries array


variable dynamic_did_cb

SYN_UDS_DynamicDIDHandler SYN_UDS_Server::dynamic_did_cb;

DynamicDID (0x2C) callback.


variable dynamic_did_ctx

void* SYN_UDS_Server::dynamic_did_ctx;

Context pointer for dynamic DID callback.


variable expected_block_seq

uint8_t SYN_UDS_Server::expected_block_seq;

Expected block sequence counter


variable file_transfer_cb

SYN_UDS_FileTransferHandler SYN_UDS_Server::file_transfer_cb;

File transfer (0x38) callback.


variable file_transfer_ctx

void* SYN_UDS_Server::file_transfer_ctx;

Context pointer for file transfer callback.


variable io_control_cb

SYN_UDS_IOControlHandler SYN_UDS_Server::io_control_cb;

IOControl (0x2F) callback.


variable io_control_ctx

void* SYN_UDS_Server::io_control_ctx;

Context pointer for IO control callback.


SYN_UDS_LinkControlHandler SYN_UDS_Server::link_control_cb;

LinkControl (0x87) callback.


void* SYN_UDS_Server::link_control_ctx;

Context pointer for link control callback.


variable memory_cb

SYN_UDS_MemoryHandler SYN_UDS_Server::memory_cb;

Memory (0x23/0x3D) callback.


variable memory_ctx

void* SYN_UDS_Server::memory_ctx;

Context pointer for memory callback.


variable p2_max_ms

uint16_t SYN_UDS_Server::p2_max_ms;

Default P2Server_max timing (ms).


variable p2_star_max_10ms

uint16_t SYN_UDS_Server::p2_star_max_10ms;

Default P2*Server_max timing (10ms units).


variable periodic_cb

SYN_UDS_PeriodicDataHandler SYN_UDS_Server::periodic_cb;

PeriodicData (0x2A) callback.


variable periodic_ctx

void* SYN_UDS_Server::periodic_ctx;

Context pointer for periodic callback.


variable reset_cb

SYN_UDS_ResetHandler SYN_UDS_Server::reset_cb;

ECUReset (0x11) deferred callback.


variable reset_ctx

void* SYN_UDS_Server::reset_ctx;

Context pointer for reset callback.


variable reset_tx_wait_ms

uint16_t SYN_UDS_Server::reset_tx_wait_ms;

Post-TX ECU reset delay window in ms.


variable reset_type_requested

uint8_t SYN_UDS_Server::reset_type_requested;

Pending ECU reset type requested


variable reset_wait_elapsed_ms

uint32_t SYN_UDS_Server::reset_wait_elapsed_ms;

Internal reset delay accumulator in ms.


variable roe_cb

SYN_UDS_ResponseOnEventHandler SYN_UDS_Server::roe_cb;

ResponseOnEvent (0x86) callback.


variable roe_ctx

void* SYN_UDS_Server::roe_ctx;

Context pointer for ROE callback.


variable routine_cb

SYN_UDS_RoutineControlHandler SYN_UDS_Server::routine_cb;

RoutineControl (0x31) callback.


variable routine_ctx

void* SYN_UDS_Server::routine_ctx;

Context pointer for routine callback.


variable s3_timer_ms

uint32_t SYN_UDS_Server::s3_timer_ms;

S3 session timer in ms


variable scaling_cb

SYN_UDS_ScalingDataHandler SYN_UDS_Server::scaling_cb;

ScalingData (0x24) callback.


variable scaling_ctx

void* SYN_UDS_Server::scaling_ctx;

Context pointer for scaling callback.


variable secured_data_cb

SYN_UDS_SecuredDataHandler SYN_UDS_Server::secured_data_cb;

SecuredDataTransmission callback.


variable secured_data_ctx

void* SYN_UDS_Server::secured_data_ctx;

Context pointer for secured data callback.


variable security_delay_timer_ms

uint32_t SYN_UDS_Server::security_delay_timer_ms;

Security delay penalty timer in ms


variable security_error_count

uint8_t SYN_UDS_Server::security_error_count;

Failed security unlock attempts counter


variable security_level

uint8_t SYN_UDS_Server::security_level;

Unlocked security level (0 = locked, 1 = level 1, 2 = level 2...)


variable security_state

SYN_UDS_SecurityState SYN_UDS_Server::security_state;

Security access unlock state


variable session

SYN_UDS_Session SYN_UDS_Server::session;

Current diagnostic session state


variable session_transition_cb

SYN_UDS_SessionTransitionHandler SYN_UDS_Server::session_transition_cb;

Session transition policy callback.


variable session_transition_ctx

void* SYN_UDS_Server::session_transition_ctx;

Session transition context pointer.


variable timing_cb

SYN_UDS_AccessTimingHandler SYN_UDS_Server::timing_cb;

AccessTimingParameter callback.


variable timing_ctx

void* SYN_UDS_Server::timing_ctx;

Context pointer for timing callback.


variable transfer_address

uint32_t SYN_UDS_Server::transfer_address;

Target transfer memory address


variable transfer_bytes_processed

uint32_t SYN_UDS_Server::transfer_bytes_processed;

Transferred byte count


variable transfer_size

uint32_t SYN_UDS_Server::transfer_size;

Total transfer size in bytes


variable transfer_state

SYN_UDS_TransferState SYN_UDS_Server::transfer_state;

Active data transfer state


variable use_aes128_security

bool SYN_UDS_Server::use_aes128_security;

True if AES-128 security mode is active



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