BitNet Mini Antenna - theoriginalbit/MoarPeripherals GitHub Wiki

BitNet Mini Antenna
Type: bitnet_antenna
ID No.: ???
Name: MoarPeripherals:blockMiniAntenna

The BitNet Mini Antenna is the smaller cousin of the BitNet Communication Tower - usage is nearly exactly the same. Although much cheaper to create, it has a shorter range (650 by default, regardless of weather; configurable via Moarperipherals.cfg) - however, it still far exceeds a regular Wireless Modem.

##Functions

Name Returns Description
transmit(object message) boolean success Sends a message that will be received by all other systems linked to BitNet transmitters within range. Accepts various data types, such as strings, numbers, and tables.

##Events

Type Parameter 1 Parameter 2 Parameter 3
bitnet_message Peripheral "side". Message content. Distance from the transmitter.

##Recipe

Recipes

##Code Example

Example rednet repeating code can be found in the following paste:

pastebin get eaq0ucSi bitnetrepeat

It acts in much the same way as the regular repeat script, but supports BitNet Communication Towers and Antennas in addition to modems.

##Version History

Build Date Details
v1.5.0 15 December 2014 Initial release.