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
Hi, I'm having an issue with a code that uses this library running in Raspberry. The code works properly if I start it once the system has been turned on...
Hi, in the linux implementation, the ble device discovery returning the services, characteristics and descriptors does not honor the fact, that a characteristic can be present MORE THAN ONCE in...
Board: [Seeed Studio XIAO nRF52840](https://www.seeedstudio.com/Seeed-XIAO-BLE-nRF52840-p-5201.html#) Program build and flashed with ```bash tinygo flash -target=xiao-ble -port /dev/XXXX main.go ``` ```go package main import ( "time" "tinygo.org/x/bluetooth" ) var adapter = bluetooth.DefaultAdapter...
Hello, I am using your lib to create/manage a peripheral BLE device on an RPI 4. It already works quite well, I can advertise and read/write with services and characteristics...
I am connected to my device and pulling data from it with no problem. However, I want to display the current signal strength for the device, but ScanResult.RSSI only contains...
What is missing? ``` # go run ./examples/advertisement # tinygo.org/x/bluetooth/examples/advertisement examples/advertisement/main.go:13:17: adapter.DefaultAdvertisement undefined (type *bluetooth.Adapter has no field or method DefaultAdvertisement) examples/advertisement/main.go:20:24: adapter.Address undefined (type *bluetooth.Adapter has no field or...
Hi, ## Prerequisites: My OS is Ubuntu 20.04 with default Bluez 5.53. My laptop is HP with Realtek Bluetooth chip. It looks like I have encountered an issue when trying...
**Bluetooth version:** bluetoothctl: 5.75 **Version: 0.9.0** **Ubuntu version:** Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy **Logs** ``` Apr 17 20:13:15 martim-sensefinity bluetoothd[25936]: src/gatt-database.c:database_add_chrc() Failed to create...
This PR fixes several goroutine leaks that I've found: - When `EnableNotifications(nil)` is called on a `DeviceCharacteristic`, the property channel is now closed, which releases the notification handler goroutine and...
- adds ble peripheral functionality for windows (advertising, notifying etc)