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

Is it possible append some custom data in advertising data packet? #3

Closed
jwhu1024 opened this issue Nov 15, 2013 · 6 comments
Closed

Comments

@jwhu1024
Copy link

As title.

Thank,
Lester

@sandeepmistry
Copy link
Collaborator

Not currently. This is possible on Linux, however CoreBluetooth on OS X does not have an API for this currently.

I could look into adding Linux only support for this if there is demand. The main reason I left it out is to have a consistent API/feature set for both Linux and OS X.

@jwhu1024
Copy link
Author

Thanks for your reply.

I have two BTLE devices, I want to use one to simulate central another one to simulate peripheral, could I use hcitool to do this (include send/receive custom data)?

Thanks,
Lester

@sandeepmistry
Copy link
Collaborator

Just wondering, why would you want to use hcitool over bleno? With hcitool you could set the advertisement and/or scan data. However you peripheral would not be connectable from the central with it running an ATT/GATT stack.

@arvin
Copy link

arvin commented Nov 25, 2013

I'd love support for this in Linux. I'm looking for this.

@sandeepmistry
Copy link
Collaborator

You can now specify your own advertisement and scan data in EIR format on Linux.

See Readme diff in commit 5e1aebd for more info.

@sandeepmistry
Copy link
Collaborator

Version 0.0.3 has been just published to nom with this feature

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

3 participants