8000 Split UART component (old vs. new protocol) by syssi · Pull Request #69 · syssi/esphome-ant-bms · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Split UART component (old vs. new protocol) #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 25, 2023
Merged

Conversation

syssi
Copy link
Owner
@syssi syssi commented Jun 24, 2023

This PR introduces a ant_bms_old component which is dedicated for ANT-BMS versions using the old protocol. The preamble of the old protocol (response) is 0xAA 0x55 0xAA.

Request: 0x5A, 0x5A, 0x00, 0x00, 0x01, 0x01
Response: 0xAA, 0x55, 0xAA, 0xFF, ... (140 bytes)

TODOs:

  • Testing

@syssi syssi force-pushed the split-uart-component branch from 62d1b06 to 1b0c93e Compare June 24, 2023 19:49
@syssi syssi force-pushed the split-uart-component branch from 0ccb395 to e356f73 Compare June 25, 2023 08:50
@syssi syssi merged commit f41a3bd into main Jun 25, 2023
@syssi syssi deleted the split-uart-component branch July 16, 2023 09:08
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.

1 participant
0