Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.75 KB

File metadata and controls

44 lines (29 loc) · 2.75 KB
layout page
order
title Bluetooth
heading Bluetooth
description Bluetooth implementation on the micro:bit
permalink /bluetooth/
ref bluetooth
lang en

Overview

The micro:bit processor has an on board Bluetooth transceiver. This is combined with a PCB trace aerial and other minor components alongside a software stack that gives the micro:bit a certified and credible Bluetooth capability.

Bluetooth software stack

v1 Nordic Semiconductor Soft Device S110 V2 Nordic Semiconductor Soft Device S140

We may switch to S113 and S122 at compile time to save flash memory (if this affects anything you are working on please contact micro:bit support).

Using Bluetooth, you can connect to other devices and send and receive data from and to the micro:bit.

micro:bit Bluetooth Features

Bluetooth features available on the micro:bit are defined in a Bluetooth profile. The micro:bit supports one, custom developed profile.

Bluetooth and the micro:bit software

The DAL/C++ lists the adopted and custom features available within the profile. MakeCode contains a set of blocks to make use of the various micro:bit services.

The processor also has a number of non-bluetooth proprietary modes of operation, on which we build the micro:bit radio protocol. This only works between micro:bits and is what is defined as 'Micro:bit Radio' in the DAL and 'radio' in MakeCode and MicroPython, as well as Mbed C++.

Apps

Android App faciliates pairing and flashing programs to the micro:bit iOS Appfaciliates pairing and flashing programs to the micro:bit Swift Playgrounds contains a Playground Book available in the Swift app and a micro:bit Swift API to develop further resources Scratch.

Links

Bluetooth Specification