|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
HTTP Basic authentication credentials of the charge point (CP). More...
#include <zephyr/net/ocpp.h>
Data Fields | |
| const char * | username |
CP identity as used in the websocket URL (A00.FR.204), without colon or control characters, at most CONFIG_OCPP_BASIC_AUTH_USERNAME_MAX_LEN characters. | |
| const uint8_t * | password |
| Authorization key (A00.FR.205), sent as it is: its bytes, not their hexadecimal digits. | |
| size_t | password_len |
Size of the password in bytes, from OCPP_BASIC_AUTH_PASSWORD_MIN_LEN to CONFIG_OCPP_BASIC_AUTH_PASSWORD_MAX_LEN. | |
HTTP Basic authentication credentials of the charge point (CP).
Sent to the central system (CS) in the websocket handshake when CONFIG_OCPP_BASIC_AUTH is enabled, as OCPP-J 1.6 (6.2.2) and the security profiles 1 and 2 of the OCPP 1.6 security whitepaper define. Leave username as NULL to connect without authentication.
| const uint8_t* ocpp_basic_auth::password |
Authorization key (A00.FR.205), sent as it is: its bytes, not their hexadecimal digits.
| size_t ocpp_basic_auth::password_len |
Size of the password in bytes, from OCPP_BASIC_AUTH_PASSWORD_MIN_LEN to CONFIG_OCPP_BASIC_AUTH_PASSWORD_MAX_LEN.
| const char* ocpp_basic_auth::username |
CP identity as used in the websocket URL (A00.FR.204), without colon or control characters, at most CONFIG_OCPP_BASIC_AUTH_USERNAME_MAX_LEN characters.