syssi / esphome-seplos-bms

ESPHome component to monitor a Seplos Battery Management System (Seplos-BMS) via UART or RS485
Apache License 2.0
63 stars 29 forks source link

Decode protocol version (`0x4F`) frame #13

Open syssi opened 2 years ago

syssi commented 2 years ago
Get protocol version ASCII 

Request:  ~2000464F0000FD9A\r
Response: ~260046000000FDAE\r
           ^^ protocol version 2.6

Request:  ~2000464F0000FD9A\r
Response: ~200046000000FDB4\r
           ^^ protocol version 2.0
0x20      VER
0x00      ADR
0x46      CID1
0x00      CID2
0x0000    INFOLEN
0xFDB4    CRC