Hello everyone,
We have officially published BluetoothLE extension version 20190701. As part of this release, we have also updated all of the example project files on iot.appinventor.mit.edu. You can get the latest extension from here.
Here is the set of changes since version 20181124:
- Add new property
NullTerminatedStrings
to control whether sent strings should include a null character or not - Add new methods:
-
ConnectToDeviceType
- Connect to a given device type with a given name. Extensions that use BluetoothLE can leverage this API to simplify establishing a connection. -
ConnectToDeviceWithServiceAndName
- Connect to a device advertising the given service UUID and the given device name. -
ReadConnectedRssi
- Read the Received Signal Strength Indicator (RSSI) of the connected device. -
RequestMTU
- Request a change in the size of the maximum transmission unit if the underlying hardware supports it. -
ScanForDevice
- Scan for a device of a specific type. Extensions that use BluetoothLE can leverage this API to simplify establishing a connection. -
ScanForService
- Scan for devices that advertise a specific service UUID.
-
- Add new event
MTUChanged
to report a change in the maximum transmission unit - Allow
ConnectWithAddress
to connect without previously scanning - Fix accumulation issue in
GetSupportedCharacteristics
- Fix crash due to “addPos not implemented” error
Cheers,
Evan W. Patton, Ph.D.
Lead software engineer, MIT App Inventor
On behalf of the MIT App Inventor team