-
Notifications
You must be signed in to change notification settings - Fork 64
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 advertising #32
Comments
I haven't touched on that side of things yet, I'm afraid! Currently the library serves two purposes. The first (main) is to act as a BLE client. The second is to poke the HCI device into scanning for servers. Since it sounds like you're messing with the HCI directly, it sounds like the lescan.cc might have some useful things since it pokes at the HCI device, albeit via the thin C wrapper of libbluetooth. Can you post the commands you're constructing and sending to the device? |
Something like:
For example, nice question at SO: https://stackoverflow.com/questions/23483086/using-hcitool-to-set-ad-packets |
Oh I see. Yes I think this would be a new module for my library. I've not had a chance to look at it yet. |
This is a very sweet, tiny library. I've already used it to read out the bits in the
overflow
area in iOS advertisements.Do you perhaps mind to also add an example on how to advertise with this utility? I've now to use
hcitool cmd
andhciconfig hci0 leadv 0
(or3
), etc. It would be swell to be quickly configure my laptop as an iBeacon.The text was updated successfully, but these errors were encountered: