This card allows for interfacing with Stargate Tech 2's Abstract Bus system.
Component name: abstract_bus
.
Callbacks:
getEnabled(): boolean
setEnabled(enabled: boolean)
getAddress(): number
number
is a 16 bit hexadecimal number (0xFFFF being a broadcast).
Returns 0
if an address has not yet been set.setAddress(address: number)
number
is a 16bit hexadecimal number.scan(mask: number): table
send(address: number, data: table): boolean
data
is in the form of key-value pairs, e.g.
lua> component.abstract_bus.send(0xFFFF, { ["action"]="dial", ["address"]="Losomdeh Salothirt Erpac" })
maxPacketSize(): number
The abstract bus generates a signal named bus_message
if a message is received. See the signals reference.
Components | 3D Printer - Abstract Bus - Access Point - Chunkloader - Computer - Crafting - Data Card - Database - Debug - Drone - Drive - EEPROM - Experience - Filesystem - Generator - Geolyzer - GPU - Hologram - Internet - Inventory Controller - Leash - Microcontroller - Modem - Motion Sensor - Navigation - Net Splitter - Piston - Redstone - Redstone in Motion - Robot - Screen - Sign - Tank Controller - Tractor Beam - Transposer - Tunnel - World Sensor | |
---|---|---|
Others | Component Access - Signals | |
Cross-Mod Integration | Applied Energistics |