Difference between revisions of "Changes in OS 4.2"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with "<h2>Changes</h2> <p>The apilevel is now 2.7.</p> <h2>New</h2> <p>'''ASI features''' got added in this release.<br /></p> : '''asi.add...")
 
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
<h2>New</h2>
 
<h2>New</h2>
<p>'''[[:Category:ASI|ASI]] features''' got added in this release.<br /></p>
+
<p>'''[[:Category:ASI|ASI ("Asynchronous Serial Interface")]] features''' got added in this release.<br />
 
+
The [[platform.getDeviceID]]() function, to return the unique device ID.</p>
: '''asi.addStateListener'''(asiStateCallback [, object])
 
: '''asi.removeStateListener'''(asiStateCallback)
 
: '''asi.isScanning'''()
 
: '''asi.startScanning'''(portFoundCallback [, object])
 
: '''asi.stopScanning'''()
 
 
 
 
 
<p>''Also available: the '''Port class'''''</p>
 
 
 
: '''port:getName'''()
 
: '''port:getIdentifier'''()
 
: '''port:getState'''()
 
: '''port:setBaudRate'''(newBaudRate)
 
: '''port:connect'''(connectionCallback[, object])
 
: '''port:disconnect'''()
 
: '''port:setWriteListener'''(writeCallback[, object])
 
: '''port:write'''(writeData)
 
: '''port:setReadListener'''(readCallback[, object])
 
: '''port:setReadTimeout'''(newTimeout)
 
: '''port:read'''([bytesToRead])
 
: '''port:getValue'''()
 

Latest revision as of 11:05, 13 September 2017

Changes

The apilevel is now 2.7.

New

ASI ("Asynchronous Serial Interface") features got added in this release.
The platform.getDeviceID() function, to return the unique device ID.