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
NullTerminatedStringsto 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
MTUChangedto report a change in the maximum transmission unit
ConnectWithAddressto connect without previously scanning
- Fix accumulation issue in
- Fix crash due to “addPos not implemented” error
Evan W. Patton, Ph.D.
Lead software engineer, MIT App Inventor
On behalf of the MIT App Inventor team