Changes in OS 4.2

From Inspired-Lua Wiki
Revision as of 13:17, 1 March 2017 by Adriweb (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Changes

The apilevel is now 2.7.

New

ASI features got added in this release.

asi.addStateListener(asiStateCallback [, object])
asi.removeStateListener(asiStateCallback)
asi.isScanning()
asi.startScanning(portFoundCallback [, object])
asi.stopScanning()


Also available: the Port class

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()