Hazelnet 3.0.0
Reference implementation of the CAN Bus Security (CBS) protocol
Data Fields
hzl_ServerConfig Struct Reference

Hazelnet Server constant configuration. More...

#include <hzl_Server.h>

Data Fields

HZL_SET_BY_USER uint8_t amountOfGroups
 Amount of hzl_ServerGroupConfig_t instances. More...
 
HZL_SET_BY_USER uint8_t amountOfClients
 Amount of Clients this Server knows, i.e. More...
 
HZL_SET_BY_USER uint8_t headerType
 Header Type (h) used by the network of CBS-enabled nodes. More...
 

Detailed Description

Hazelnet Server constant configuration.

Single instance on the Server. Initialised by the user, not modified by the Server.

Field Documentation

◆ amountOfGroups

HZL_SET_BY_USER uint8_t hzl_ServerConfig::amountOfGroups

Amount of hzl_ServerGroupConfig_t instances.

Must be >= 1.

◆ amountOfClients

HZL_SET_BY_USER uint8_t hzl_ServerConfig::amountOfClients

Amount of Clients this Server knows, i.e.

amount of hzl_ServerClientsConfig instances.

Must be in [1, HZL_SERVER_MAX_AMOUNT_OF_CLIENTS].

◆ headerType

HZL_SET_BY_USER uint8_t hzl_ServerConfig::headerType

Header Type (h) used by the network of CBS-enabled nodes.

Must be the same as all other nodes, otherwise the messages will not be interpreted correctly, both sent and received. Must be one of hzl_HeaderType_t enum fields.


The documentation for this struct was generated from the following file: