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

BLE Advertisment publishing? #193

Open
ArcadeMachinist opened this issue Aug 1, 2023 · 3 comments
Open

BLE Advertisment publishing? #193

ArcadeMachinist opened this issue Aug 1, 2023 · 3 comments

Comments

@ArcadeMachinist
Copy link

ArcadeMachinist commented Aug 1, 2023

Hello!

I was recently playing with the project and can't find how to publish BLE advertisment packet, if it is possible at all.

I have a range of devices (RGB lights) that are controlled by publishing control packet as a manufacturer data of a BLE advertisment payload.

Is there any way to publish an advertisment?
Something like that can be achieved in Linux by "btmgmr adv-add -d hexdata 1"

@shmuelzon
Copy link
Owner

Hey,

It's, currently, not possible to publish advertisement packets. Not sure how to even define the MQTT payload to do that...

@ArcadeMachinist
Copy link
Author

I would say just a JSON structure with either BLEAdvertisment1 fields for constructing the advertisment or another command just to register the raw advertisment data (sent in hex as a field in JSON).

@mhaberler
Copy link

I think that'd be super useful - in particular when combined with say https://github.com/theengs/decoder server-side

that adds 70+ meaningful sensor reports out of the box: https://decoder.theengs.io/devices/devices.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants