bluetooth
bluetooth copied to clipboard
Cross-platform Bluetooth API for Go and TinyGo. Supports Linux, macOS, Windows, and bare metal using Nordic SoftDevice or HCI
Updated the `ParseUUID` so it can handle both upper and lower-case hex numbers, added simple test-cases. Also sped up the `UUID.String()` by using a `strings.Builder` and added a benchmark. This...
I install cygwin in windows 10 ``` export GOARCH=amd64 export GOOS=windows git clone https://github.com/tinygo-org/bluetooth.git bash:/tmp/bluetooth$ go run ./examples/scanner/main.go # tinygo.org/x/bluetooth/winbt winbt\advertisement.go:59:11: undefined: NewEvent winbt\advertisement.go:59:87: undefined: Event winbt\advertisement.go:75:11: undefined: NewEvent winbt\advertisement.go:75:87:...
This PR implements the logic of storing system attributes (think CCCD + checksum, but we treat the data as blob of unknown format) on disconnect and restoring them on `BLE_GATTS_EVT_SYS_ATTR_MISSING`...
This PR targets issue #104 This PR is Work in Progress: still need to find a platform-compatible way of determining whether an attribute value must be located in stack or...
SoftDevice service characteristics can use user RAM for their attribute values but the current implementation in `gatts_sd.go` forces the values to be placed on stack. This puts a limit on...
To use this module as a BLE central from a machine running Windows there are a few more interfaces that need to be implemented. - [ ] Connect to a...
This PR adds a function to retrieve the MTU of a characteristic on Darwin, Linux, Windows and SoftDevice. ## Implementation details I tried to keep the same signature on both...
Hi guys! Excellent work you have done here, I'm wondering how to get Manufacturer Data at scanning time, I would really appreciate your help solving this. Best regards!
Make use of a few new features in TinyGo: * Functions and globals in header files are supported. * Static functions are supported. This allows us to remove workarounds specifically...
Hi I m coding in https://github.com/fyne-io/fyne, and it can run on android, it this library suitable for android?