<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ocr.michiyo.me/w/index.php?action=history&amp;feed=atom&amp;title=Component%2Fabstract_bus</id>
	<title>Component/abstract bus - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ocr.michiyo.me/w/index.php?action=history&amp;feed=atom&amp;title=Component%2Fabstract_bus"/>
	<link rel="alternate" type="text/html" href="https://ocr.michiyo.me/w/index.php?title=Component/abstract_bus&amp;action=history"/>
	<updated>2026-08-24T13:49:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://ocr.michiyo.me/w/index.php?title=Component/abstract_bus&amp;diff=1128&amp;oldid=prev</id>
		<title>imported&gt;OCDoc Import: Imported from legacy OpenComputers documentation at ocdoc.cil.li</title>
		<link rel="alternate" type="text/html" href="https://ocr.michiyo.me/w/index.php?title=Component/abstract_bus&amp;diff=1128&amp;oldid=prev"/>
		<updated>2026-08-24T08:08:27Z</updated>

		<summary type="html">&lt;p&gt;Imported from legacy OpenComputers documentation at ocdoc.cil.li&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Component: Abstract Bus =&lt;br /&gt;
&lt;br /&gt;
This card allows for interfacing with [Stargate Tech 2](http://stargatetech.theender.net/miscellaneous/home.html)&amp;#039;s Abstract Bus system.&lt;br /&gt;
&lt;br /&gt;
Component name: `abstract_bus`. Callbacks:&lt;br /&gt;
&lt;br /&gt;
* `getEnabled(): boolean`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Returns whether the local bus interface is enabled.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `setEnabled(enabled: boolean)`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Sets whether the local bus interface should be enabled&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `getAddress(): number`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Returns the local interface address. `number` is a 16 bit hexadecimal number (0xFFFF being a broadcast).&lt;br /&gt;
Returns `0` if an address has not yet been set.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `setAddress(address: number)`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Sets the local interface address. `number` is a 16bit hexadecimal number.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `scan(mask: number): table`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Scans the abstract bus for attached devices and returns them in a list.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `send(address: number, data: table): boolean`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Sends data across the abstract bus. The table `data` is in the form of key-value pairs, e.g.  &lt;br /&gt;
```&lt;br /&gt;
lua&amp;gt; component.abstract_bus.send(0xFFFF, { [&amp;quot;action&amp;quot;]=&amp;quot;dial&amp;quot;, [&amp;quot;address&amp;quot;]=&amp;quot;Losomdeh Salothirt Erpac&amp;quot; })&lt;br /&gt;
```&lt;br /&gt;
* See SGTech2 documentation for more info on the Abstract Bus.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* `maxPacketSize(): number`&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Returns the maximum size a packet can be sent over the bus.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== The abstract bus generates a signal named `bus_message` if a message is received. See the [[Component/signals|signals reference]]. ==&lt;br /&gt;
&lt;br /&gt;
{{:Component/contents}}&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;OCDoc Import</name></author>
	</entry>
</feed>