Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Dec 30, 2024
1 parent 8f642f7 commit ddc75b9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions components/seplos_bms_ble/seplos_bms_ble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ static const uint16_t MAX_RESPONSE_SIZE = 200;
static const uint16_t SEPLOS_PKT_START = 0x7E;
static const uint16_t SEPLOS_PKT_END = 0x0D;

// 0x47 Settings frame
// 0x51 Manufacturer information
// 0x61 Get single machine data
// 0x62 Get parallel data
// 0x63 switchCANprotocol
// 0x64 switch485protocol
// 0xA1 set upBMSParameter information (protection switch)
// 0x65 Set device group number and name

static const uint8_t SEPLOS_COMMAND_QUEUE_SIZE = 6;
static const uint8_t SEPLOS_COMMAND_QUEUE[SEPLOS_COMMAND_QUEUE_SIZE] = {0x47};

Expand Down
6 changes: 3 additions & 3 deletions esp32-ble-example-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
logger:
level: VERY_VERBOSE
logs:
esp32_ble: DEBUG
esp32_ble_tracker: VERY_VERBOSE
esp32_ble: INFO
esp32_ble_tracker: INFO
seplos_bms_ble: VERY_VERBOSE
scheduler: DEBUG
scheduler: INFO
component: DEBUG
sensor: DEBUG
mqtt: INFO
Expand Down

0 comments on commit ddc75b9

Please sign in to comment.