SimpleBLE

Examples

Example code for SimpleCBLE.

You can find the official examples in the examples/simplecble directory of the repository.

  • Scan: Scans for peripherals and prints their details.
  • Connect: Connects to a selected peripheral and lists its services.
  • Notify: Subscribes to notifications from a characteristic.

Building Examples

To build the examples:

cmake -S examples/simplecble/c -B build_examples
cmake --build build_examples

On this page