mariolukas / Bluetti_ESP32_Bridge

Bluetti Power Station ESP32 Bluetooth to MQTT Bridge
GNU General Public License v3.0
88 stars 29 forks source link

Made some fixes.... #58

Open tinkercnc opened 1 year ago

tinkercnc commented 1 year ago

Hi Mario,

I made "some" fixes (page chunk concatenation) and stripped the code down for my needs aso. The code is here: https://github.com/tinkercnc/Bluetti_AC300_ESP32 Further infos follows... ;)

mariolukas commented 1 year ago

any update here?

tinkercnc commented 1 year ago

Hi Mario, at the moment I switched the repo to private. I get in touch ASAP. :)

tinkercnc commented 1 year ago

Hi Mario, now it's back again. As said this is a very trimmed version of your code. But I changed the behavior due to the fact that BLE notify packets are max 20 bytes long. So I assemble the 20 byte chunks to the full requested length. (hint: CMDPending) Further I changed some params for better wifi <> bluetooth balance. Hope you can recycle the code. :) And thanks for your work! It helps me a lot!

Schoene Gruesse nach D.