Bluetooth

Principle

The Bluetooth Foundation Library defines a low-level Bluetooth framework for embedded devices. It allows you to manage abstract Bluetooth connections without worrying about the native underlying Bluetooth kind.

Functional Description

The MicroEJ Application manages Bluetooth elements using Adapter/Connection/Service/Characteristic/Descriptor/etc abstraction. The Bluetooth implementation made for each MicroEJ Platform is responsible for surfacing the native Bluetooth specific behavior.

Dependencies

  • LLBLUETOOTH_impl.h implementation (see LLBLUETOOTH: Bluetooth).

    • A sample implementation based on the Bluedroid stack is available for the Espressif ESP32-S3 VEE Port, on request to our support team.

Installation

Bluetooth is an additional module. To enable it, the Bluetooth Pack module must be installed in your VEE Port:

For Bluetooth 2.4.1 and higher:

api("ej.api:bluetooth:3.1.0")

For Bluetooth 2.2.2 and lower:

microejPack("com.microej.pack.bluetooth:bluetooth-pack:2.6.0")

Use

See Bluetooth API chapter in the Application Developer Guide.