Skip to content

Conversation

@Shahar-Ariel
Copy link
Contributor

This PR fixes the command frame sent to Tian-Power BMS devices for telemetry retrieval.

According to the official Tian-Power Communication Protocol v2.2.3 , section 5.1 (Table 5), the COMMAND INFO field (i.e., the fifth byte after CID2) is fixed to 0x01 for requesting real-time telemetry. It should not be derived from the device address or any external logic.

Reference:

“At this time, the specific COMMAND GROUP is fixed to 01H, indicating that the first group of battery telemetry data is acquired.”

This fix ensures protocol compliance and improves compatibility with Tian-Power BMS units.

@mr-manuel mr-manuel merged commit fc56a85 into mr-manuel:master Jun 15, 2025
2 checks passed
@mr-manuel
Copy link
Owner

Thanks!

cgoudie pushed a commit to TechBlueprints/venus-os_dbus-serialbattery that referenced this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants