BlocosIA Wiki Editor

Bluetooth BLE

Send and receive messages from ESP32, micro:bit, HM-10 and other BLE devices.

The device needs the BLE UART service (Nordic UART or FFE0/FFE1, like ESP32 and HM-10). Each message is a line of text. Works in Chrome/Edge (computer and Android).

To use it: in the editor, click "Extensions" (bottom corner) and add "Bluetooth BLE".

Stack

send via Bluetooth ( )

Does an action. Snap it below another block.

Hat

when a Bluetooth message is received

Starts a script when this happens.

Hat

when [ligar] is received via Bluetooth

Starts a script when this happens.

Reporter

message received via Bluetooth

Gives a number or text. Put it inside a round slot.

Boolean

Bluetooth connected?

Answers true or false. Use it in "if", "repeat until" and "wait until".

Reporter

Bluetooth device name

Gives a number or text. Put it inside a round slot.