Changes in OS 3.11
Jump to navigation
Jump to search
Changes
The apilevel is now 2.5.
New
Category:BLE features are now available with the "ble"/"bleCentral" modules (code : require "ble" and require "bleCentral" at the top of the script, while in apilevel 2.5).
Tables ble and bleCentral are then available.
ble
- ble.OFF
- ble.ON
- ble.RESETTING
- ble.UNSUPPORTED
- ble.addStateListener
- ble.pack
- ble.removeStateListener
- ble.unpack
bleCentral
- bleCentral.isScanning
- bleCentral.startScanning
- bleCentral.stopScanning </dd>
Other additions include:
PeripheralClass
- getName
- getState
- connect
- disconnect
- discoverServices
- getServices
ServiceClass
- getUUID
- discoverCharacteristics
- getCharacteristics
CharacteristicClass
- getUUID
- setValueUpdateListener
- setWriteCompleteListener
- read
- setNotify
- getValue
- write