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 can be found in the Espressif ESP32-S3 VEE Port.
Installation
Bluetooth is an additional module. To enable it, the Bluetooth Pack module must be installed in your VEE Port:
microejPack("com.microej.pack.bluetooth:bluetooth-pack:2.4.1")
<dependency org="com.microej.pack.bluetooth" name="bluetooth-pack" rev="2.4.1" />
Use
See Bluetooth API chapter in Application Developer Guide.