mbed OS examples
Our YouTube channel
End to end projects
A few micro:bit How To videos:
- Blinky: our basic application, showing how to use the APIs to control the LED on the board.
Cryptographic benchmark: benchmarks the various cryptographic primitives offered by mbed TLS.
Authenticated encryption and decryption: performs authenticated encryption and authenticated decryption of a buffer. It serves as a tutorial for the basic authenticated encryption functions of mbed TLS.
Hashing: performs hashing of a buffer with SHA-256 using various APIs. It serves as a tutorial for the basic hashing APIs of mbed TLS.
TLS client: downloads a file from an HTTPS server (developer.mbed.org) and looks for a specific string in that file.
- Threaded Blinky with uVisor: an example threaded application with uVisor security.
- IRQ Blinky uVisor: an example threaded application with uVisor security and IRQ support.
- Threaded REPC with uVisor: using uVisor APIs to build a box that stores a number.
These examples work on the K64F and GCC_ARM toolchain only.
Getting started: a basic example of mbed Client for mbed OS. It demonstrates how to register a device with mbed Device Connector, how to read and write values, and how to deregister.
Join a device to an insecure 6LoWPAN-ND or Thread network. This is the simplest use of the mesh networking stack.
Nanostack border router
Use the generic mbed border router and create a 6LoWPAN-ND or Thread network. Your 6LoWPAN or Thread devices can access to internet using this gateway.
Bluetooth Low Energy (BLE)
Battery level: use the Battery Level service to transmit a device’s battery level.
BLE button: BLE service template for a read-only characteristic.
GAP button: use GAP to transmit a value to a peer that’s listening for advertisements.
Heart rate: transmit a heart rate value using the SIG Heart Rate profile.
Thermometer: send thermometer information using the Health Thermometer Profile.
Beacons send a small amount of information to a nearby device. Try: