Skip to content

expose hci up down #2

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

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

expose hci up down #2

wants to merge 26 commits into from

Conversation

muka
Copy link

@muka muka commented Apr 4, 2018

lcapra and others added 26 commits March 14, 2018 10:49
* Fix cancel via context and respect context deadline

* Remove timeout overwrite and remove go1.7 from travis
* Simplify uuid.Reverse method

* Add uuid test

* Fix linting issues
This prevents multiple evtPeripheralConnected events from causing a
deadlock.
* Add ability to get RxMTU from a connection

* Fix race detector warning

* Fix compiler error
This can be useful when we need to use specific HCI device ID.
* Made Command Flow Control match the actual behavior specified in
the Bluetooth spec (Vol 2, Part E, Section 4.4), old version tended to
collect extra allowed commands over time and eventually lock up.

* comments on magic numbers

* add options for setting scanning and advertising parameters.

* Close the socket if device intialization fails.

* Fix race condition where new data can be written to a connection while it
is being disconnected, and the buffers are leaked from the packet pool
forever.

* Fix typo in comment.

* Prevent HCI send from blocking forever if the device doesn't respond.

* clear sent table when a reply is received so unexpected packets don't cause
random weirdness.

* Avoid receiving invalid command response on device stop.

* Update readme (go-ble#12)

* Update with disclaimer

* update README

* update README
- acheiving much more stability with this, since errors
   sometimes happen when network is busy, but are in no way
   fatal
This makes it easier to build the project with recent versions of
Go -- check it out anywhere and build, vs having to put in GOPATH
hci: add Connect/DisconnectHandler options
linux.hci: fix stop advertise on new connection
log was removed at 5ba052e but used again at 27f6032
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

Successfully merging this pull request may close these issues.

9 participants