Skip to content
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

Link to forumslader payload parser #1

Open
cyberman54 opened this issue Mar 6, 2023 · 2 comments
Open

Link to forumslader payload parser #1

cyberman54 opened this issue Mar 6, 2023 · 2 comments

Comments

@cyberman54
Copy link

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
Copy link
Owner

euphi commented Mar 6, 2023

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
Copy link
Author

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.

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

No branches or pull requests

2 participants