euphi / ESP32_FLClassic2BLE

Receives data on Classic Bluetooth from Forumslader and publishes it as BLE Notification
1 stars 0 forks source link

Link to forumslader payload parser #1

Open cyberman54 opened 1 year ago

cyberman54 commented 1 year ago

If you are looking for a forumslader payload parser, you could reuse my approach: https://github.com/cyberman54/Forumslader-Companion/blob/main/source/DataManager.mc

euphi commented 1 year ago

Thanks a lot. I already have a parser in https://github.com/euphi/TRGB-BikeComputer/blob/main/src/FLClassicParser.cpp (copied from my first implementation at https://github.com/euphi/ESP32_BTTacho/blob/main/src/BtClassicForumsLader.cpp).

I have an older forumslader V5 that still uses "classic" bluetooth, so this project here just translates the classic bluetooth to BLE. (Because my new "Bike Computer" uses an ESP32-S3 chip that does no longer support Bluetooth Classic).

I saw in your project that you have the service uuids of a V5 BLE Forumslader, so I may change my UUIDs to them, so my "translator" will be recognized as forumslader, too.

Do you know if the V5 forumslader just send its strings as notification on BLE or is there anything "extra"? (like init-string special encoding, special line termination? What MTU does a V5 Forumslader use?)

cyberman54 commented 1 year ago

Nothing extra, it's just sending the $FLx payload as plain text in BLE notifications. MTU seems not fixed, depends on handshake with the host side. V5 is using a HMware HM10 BT/BLE module as piggy back board, while V6 has a new concept with BLE chip on board.