danielgallagher0 / bluetooth-hci

Bluetooth HCI implementation for embedded Rust
Apache License 2.0
53 stars 8 forks source link

Minimal BLE example #3

Open eupn opened 4 years ago

eupn commented 4 years ago

First of all, thank you for all your effort, @danielgallagher0! I'm just started to use this crate with STM32WB5x chips that have a Cortex-M0+ coprocessor with a BLE stack. This BLE stack is identical to the BlueNRG's and is using HCI commands too. Do you have an example code that is using HCI host, GAP & GATT commands to setup a BLE service? For example, one of the SIG-adopted services or just an advertising beacon (iBeacon or Eddystone)?

danielgallagher0 commented 4 years ago

Thanks for your interest! Unfortunately, I don't have an example ready. I haven't had as much time for personal projects since I started this. That's also the main reason I haven't released the next version on crates.io (#2). Once I have a working demo, I'll release the update.

eupn commented 4 years ago

@danielgallagher0 big thank you! Looking forward. At this time, I'm implementing an HCI host for STM32WB5x chips based on your BlueNRG crate.

eupn commented 4 years ago

An Eddystone beacon, can be seen as a minimal BLE example:

https://github.com/eupn/stm32wb55/blob/master/examples/eddystone_beacon.rs