Difference between revisions of "Changes in OS 3.11"
Jump to navigation
Jump to search
m |
(Updated from doc) |
||
Line 3: | Line 3: | ||
==New== | ==New== | ||
− | [[:Category:BLE|BLE]] features are now available with the " | + | [[:Category:BLE|BLE]] features are now available with the "ble"/"bleCentral" modules (code : ''' ''require "ble"''''' and '''''require "bleCentral"'' ''' at the top of the script, while in [[platform.apilevel|apilevel]] 2.5).<br /> |
− | + | Tables '''ble''' and '''bleCentral''' are then available. | |
+ | |||
+ | '''ble''' | ||
: ble.OFF | : ble.OFF | ||
: ble.ON | : ble.ON | ||
Line 13: | Line 15: | ||
: ble.removeStateListener | : ble.removeStateListener | ||
: ble.unpack | : ble.unpack | ||
+ | '''bleCentral''' | ||
+ | : bleCentral.isScanning | ||
+ | : bleCentral.startScanning | ||
+ | : bleCentral.stopScanning | ||
+ | |||
+ | Other additions include: |
Revision as of 04:52, 8 April 2015
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: