<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inspired-lua.org/index.php?action=history&amp;feed=atom&amp;title=Category%3AASI</id>
	<title>Category:ASI - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inspired-lua.org/index.php?action=history&amp;feed=atom&amp;title=Category%3AASI"/>
	<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;action=history"/>
	<updated>2026-04-04T18:43:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1277&amp;oldid=prev</id>
		<title>Adriweb at 12:41, 1 March 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1277&amp;oldid=prev"/>
		<updated>2017-03-01T12:41:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:41, 1 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot; &gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:getIdentifier'''() - Returns the identifier associated to the port as a string, as given by the platform&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:getIdentifier'''() - Returns the identifier associated to the port as a string, as given by the platform&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:getState'''() - Returns the current state of the port as a constant from the asi table.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:getState'''() - Returns the current state of the port as a constant from the asi table.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:setBaudRate'''(newBaudRate)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:setBaudRate'''(newBaudRate) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;- Sets the baud rate for the connection. By default connections are established at 115200 bauds. If a different value is desired, the new baud rate must be set before establishing a connecting to the port. Returns self.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:connect'''(connectionCallback[, object]) - Sends an asynchronous request for connection to the port. When the request is processed, the result is reported to the specified callback.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:connect'''(connectionCallback[, object]) - Sends an asynchronous request for connection to the port. When the request is processed, the result is reported to the specified callback.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:disconnect'''() - Sends an asynchronous request for disconnection from the port. The result will be notified at the callback provided at port:connect().&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: '''port:disconnect'''() - Sends an asynchronous request for disconnection from the port. The result will be notified at the callback provided at port:connect().&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1276&amp;oldid=prev</id>
		<title>Adriweb at 12:41, 1 March 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1276&amp;oldid=prev"/>
		<updated>2017-03-01T12:41:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:41, 1 March 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Available functions:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Available functions &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(after a ''require &amp;quot;asi&amp;quot;'')&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: error = '''asi.addStateListener'''(asiStateCallback [, object]) - Registers an ASI state-change listener callback. The registration of multiple listener callbacks at the same time is supported. Registered listener callbacks can be removed by calling removeStateListener.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: error = '''asi.addStateListener'''(asiStateCallback [, object]) - Registers an ASI state-change listener callback. The registration of multiple listener callbacks at the same time is supported. Registered listener callbacks can be removed by calling removeStateListener.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: success = '''asi.removeStateListener'''(asiStateCallback) - Removes a registered ASI state-change listener callback which was previously registered by calling addStateListener.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: success = '''asi.removeStateListener'''(asiStateCallback) - Removes a registered ASI state-change listener callback which was previously registered by calling addStateListener.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1272&amp;oldid=prev</id>
		<title>Adriweb: Created page with &quot;&lt;p&gt;'''ASI features''' got added With OS 4.2 (apilevel 2.7)&lt;br /&gt;&lt;/p&gt; Official documentation: https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1272&amp;oldid=prev"/>
		<updated>2017-03-01T12:38:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;p&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;a href=&quot;/Category:ASI&quot; title=&quot;Category:ASI&quot;&gt;ASI&lt;/a&gt; features&amp;#039;&amp;#039;&amp;#039; got added With OS 4.2 (apilevel 2.7)&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt; Official documentation: https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI]] features''' got added With OS 4.2 (apilevel 2.7)&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Official documentation: https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/libraries/stem-iolib/asilibrary.htm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Available functions:&lt;br /&gt;
: error = '''asi.addStateListener'''(asiStateCallback [, object]) - Registers an ASI state-change listener callback. The registration of multiple listener callbacks at the same time is supported. Registered listener callbacks can be removed by calling removeStateListener.&lt;br /&gt;
: success = '''asi.removeStateListener'''(asiStateCallback) - Removes a registered ASI state-change listener callback which was previously registered by calling addStateListener.&lt;br /&gt;
: '''asi.isScanning'''() - Returns true if a scan for ASI ports is ongoing or false otherwise.&lt;br /&gt;
: '''asi.startScanning'''(portFoundCallback [, object]) - Scans for ASI ports. A second call to startScanning while already scanning does not reset the process. If a rescan is desired, call stopScanning first and then startScanning to reset the process.&lt;br /&gt;
: '''asi.stopScanning'''() - Stops scanning for ASI ports. Also resets the list of reported ports. Calling asi.startScanning() again will report all available ports once more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;''Related: the '''Port class'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: '''port:getName'''() - Returns the name of the port as a string, as given by the platform&lt;br /&gt;
: '''port:getIdentifier'''() - Returns the identifier associated to the port as a string, as given by the platform&lt;br /&gt;
: '''port:getState'''() - Returns the current state of the port as a constant from the asi table.&lt;br /&gt;
: '''port:setBaudRate'''(newBaudRate)&lt;br /&gt;
: '''port:connect'''(connectionCallback[, object]) - Sends an asynchronous request for connection to the port. When the request is processed, the result is reported to the specified callback.&lt;br /&gt;
: '''port:disconnect'''() - Sends an asynchronous request for disconnection from the port. The result will be notified at the callback provided at port:connect().&lt;br /&gt;
: '''port:setWriteListener'''(writeCallback[, object]) - Registers a callback for write-complete notifications. The callback is called after a write request. Returns self.&lt;br /&gt;
: '''port:write'''(writeData) - Sends an asynchronous request for a write operation. When the request is serviced, the writeCallback is called to confirm completion, if previously specified with setWriteListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:setReadListener'''(readCallback[, object]) - Registers a callback for read notifications. The callback is called after a read request. Returns self.&lt;br /&gt;
: '''port:setReadTimeout'''(newTimeout) - Sets the maximum amount of time that the platform should wait for the first byte. This affects the behavior of read(). By default the timeout is 1000 milliseconds (1 second). Returns self.&lt;br /&gt;
: '''port:read'''([bytesToRead]) - Sends an asynchronous request for a read operation. When the request is serviced, the readCallback is called to confirm completion, if previously specified with setReadListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:getValue'''() - Retrieves the last data read, as string.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
</feed>