mbed-os-examples


Examples for mbed OS

Team code repositories (45)

  • OS 5
    mbed-os-example-ble-BatteryLevel

    This example creates and updates a standard Battery Level service containing a single GATT characteristic. The battery service transmits a device's battery level in percentage, with 100% being a fully …

    Last updated: 15 Aug 2019 82 2796
  • OS 5
    mbed-os-example-ble-Beacon

    This example creates a BLE beacon: a method of advertising a small amount of information to nearby devices. The information doesn't have to be human-readable; it can be in a …

    Last updated: 15 Aug 2019 82 989
  • OS 5
    mbed-os-example-ble-Button

    BLE_Button is a BLE service template. It handles a read-only characteristic with a simple input (boolean values). The input's source is the button on the board itself - the characteristic's …

    Last updated: 18 Oct 2019 87 692
  • OS 5
    mbed-os-example-ble-EddystoneObserver

    The Eddystone Observer scans for Eddystone beacons that are running the Eddystone Service example (see there for general information about Eddystone beacons). It reads the advertising packets broadcast by these …

    Last updated: 08 Sep 2017 43 124
  • OS 5
    mbed-os-example-ble-EddystoneService

    Eddystone beacons broadcast a small amount of information, like URLs, to nearby BLE devices. The canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_EddystoneService

    Last updated: 08 Sep 2017 44 322
  • mbed-os-example-ble-GAP

    Demonstration of the GAP profile. It shows advertising, scanning and connecting. The demo will cycle through several modes and print over the serial connection information about current activity.

    Last updated: 15 Aug 2019 23 219
  • OS 5
    mbed-os-example-ble-GAPButton

    This application shows how to use GAP to transmit a simple value to disconnected peer listening for advertisement every time that a value is updated. The canonical source for this …

    Last updated: 18 Oct 2019 86 242
  • OS 5
    mbed-os-example-ble-GattClient

    This application demonstrates detailed uses of the GattClient APIs.

    Last updated: 15 Aug 2019 7 106
  • OS 5
    mbed-os-example-ble-GattServer

    Demonstration of possible usage of the GattServer

    Last updated: 15 Aug 2019 21 206
  • OS 5
    mbed-os-example-ble-HeartRate

    This application transmits a heart rate value using the Bluetooth SIG Heart Rate Profile. The heart rate value is provided by the application itself, not by a sensor, so that …

    Last updated: 19 Sep 2019 80 1261