Changes

Jump to navigation Jump to search

Changes in OS 3.11

304 bytes removed, 05:12, 8 April 2015
m
no edit summary
Line 3: Line 3:  
</p>
 
</p>
 
<h2>New</h2>
 
<h2>New</h2>
<p>[[:Category:BLE]] features are now available with the "ble"/"bleCentral" modules (code&nbsp;: <b> <i>require "ble"</i></b> and <b><i>require "bleCentral"</i> </b> at the top of the script, while in [[platform.apilevel|apilevel]] 2.5).<br />
+
<p>[[:Category:BLE|BLE]] features are now available with the "ble"/"bleCentral" modules (code&nbsp;: <b> <i>require "ble"</i></b> and <b><i>require "bleCentral"</i> </b> at the top of the script, while in [[platform.apilevel|apilevel]] 2.5).<br />
 
Tables <b>ble</b> and <b>bleCentral</b> are then available.
 
Tables <b>ble</b> and <b>bleCentral</b> are then available.
 
</p><p><b>ble</b>
 
</p><p><b>ble</b>
 
</p>
 
</p>
<p><dl><dd> ble.OFF
+
: ble.OFF
</dd><dd> ble.ON
+
: ble.ON
</dd><dd> ble.RESETTING
+
: ble.RESETTING
</dd><dd> ble.UNSUPPORTED
+
: ble.UNSUPPORTED
</dd><dd> ble.addStateListener
+
: ble.addStateListener
</dd><dd> ble.pack
+
: ble.pack
</dd><dd> ble.removeStateListener
+
: ble.removeStateListener
</dd><dd> ble.unpack
+
: ble.unpack
</dd></dl>
+
 
</p>
+
<p><b>bleCentral</b></p>
<p><b>bleCentral</b>
+
: bleCentral.isScanning
</p>
+
: bleCentral.startScanning
<p><dl><dd> bleCentral.isScanning
+
: bleCentral.stopScanning
</dd><dd> bleCentral.startScanning
+
 
</dd><dd> bleCentral.stopScanning
+
<p>''Other additions include:''</p>
&lt;/dd&gt;</dl>
+
 
</p>
+
'''PeripheralClass'''
<p>Other additions include:
+
: getName
</p>
+
: getState
<p><b>PeripheralClass</b>
+
: connect
</p>
+
: disconnect
<dl><dd> getName
+
: discoverServices
</dd><dd> getState
+
: getServices
</dd><dd> connect
+
 
</dd><dd> disconnect
+
'''ServiceClass'''
</dd><dd> discoverServices
+
: getUUID
</dd><dd> getServices
+
: discoverCharacteristics
</dd></dl>
+
: getCharacteristics
<p><b>ServiceClass</b>
+
 
</p>
+
'''CharacteristicClass'''
<dl><dd> getUUID
+
: getUUID
</dd><dd> discoverCharacteristics
+
: setValueUpdateListener
</dd><dd> getCharacteristics
+
: setWriteCompleteListener
</dd></dl>
+
: read
<p><b>CharacteristicClass</b>
+
: setNotify
</p>
+
: getValue
<dl><dd> getUUID
+
: write
</dd><dd> setValueUpdateListener
  −
</dd><dd> setWriteCompleteListener
  −
</dd><dd> read
  −
</dd><dd> setNotify
  −
</dd><dd> getValue
  −
</dd><dd> write
  −
</dd></dl>
 

Navigation menu