forked from currantlabs/ble
-
Notifications
You must be signed in to change notification settings - Fork 2
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
muka
wants to merge
26
commits into
moogle19:master
Choose a base branch
from
muka:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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
…mpfix re-adding log to hci.go
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See currantlabs#17