Changes in OS 3.11

From Inspired-Lua Wiki
Revision as of 04:52, 8 April 2015 by Adriweb (talk | contribs) (Updated from doc)
Jump to navigation Jump to search

Changes

The apilevel is now 2.5.

New

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

Other additions include: