Add GBT_ApplyShortPacket function for immediate processing of single-frame messages from EVSE to EV. Refactor GBT_Init and GBT_ChargerTask for improved readability and functionality. Update connector initialization to set default requested limits and SOC for both connectors. Enhance logging for load enable changes.
This commit is contained in:
@@ -230,6 +230,9 @@ extern GBT_StopSource_t GBT_StopSource;
|
||||
|
||||
void GBT_Init();
|
||||
void GBT_Reset();
|
||||
|
||||
/** Немедленная обработка однокадровых сообщений EVSE→EV (не через j_rx TP). */
|
||||
void GBT_ApplyShortPacket(uint32_t pgn, const uint8_t *data, uint8_t dlc);
|
||||
//void GBT_Stop(uint32_t causecode);
|
||||
void GBT_StopEV(uint32_t causecode);
|
||||
void GBT_StopEVSE(uint32_t causecode);
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#define INC_CONNECTOR_H_
|
||||
|
||||
#include "main.h"
|
||||
#include <stdint.h>
|
||||
|
||||
typedef enum __attribute__((packed)) {
|
||||
Unknown,
|
||||
|
||||
Reference in New Issue
Block a user