Component/access point: Difference between revisions
Jump to navigation
Jump to search
imported>OCDoc Import Imported from legacy OpenComputers documentation at ocdoc.cil.li |
Clean up Markdown artifacts from DokuWiki migration |
||
| Line 3: | Line 3: | ||
This component is provided by the [[Block/access point|access point]] to allow computers to change the strength of the signal used to relay wireless messages. | This component is provided by the [[Block/access point|access point]] to allow computers to change the strength of the signal used to relay wireless messages. | ||
Component name: | Component name: <code>access_point</code>. Callbacks: | ||
* | * <code>getStrength():number</code> | ||
<pre>Get the signal strength (range) used when relaying messages. | <pre>Get the signal strength (range) used when relaying messages. | ||
</pre> | </pre> | ||
* | * <code>setStrength(strength:number):number</code> | ||
<pre>Set the signal strength (range) used when relaying messages. | <pre>Set the signal strength (range) used when relaying messages. | ||
</pre> | </pre> | ||
* | * <code>isRepeater():boolean</code> | ||
<pre>Check whether Access Point is acting as a repeater (re-send received wireless messages). | <pre>Check whether Access Point is acting as a repeater (re-send received wireless messages). | ||
</pre> | </pre> | ||
* | * <code>setRepeater(enabled:boolean):boolean</code> | ||
<pre>Sets whether Access Point should act as a repeater (re-send received wireless messages). | <pre>Sets whether Access Point should act as a repeater (re-send received wireless messages). | ||
| Line 24: | Line 24: | ||
{{:Component/contents}} | {{:Component/contents}} | ||
Revision as of 20:27, 24 August 2026
Component: Access Point
This component is provided by the access point to allow computers to change the strength of the signal used to relay wireless messages.
Component name: access_point. Callbacks:
getStrength():number
Get the signal strength (range) used when relaying messages.
setStrength(strength:number):number
Set the signal strength (range) used when relaying messages.
isRepeater():boolean
Check whether Access Point is acting as a repeater (re-send received wireless messages).
setRepeater(enabled:boolean):boolean
Sets whether Access Point should act as a repeater (re-send received wireless messages).
Contents
| Components | |
|---|---|
| Core Components | Access Point - Computer - Drone - Drive - EEPROM - Filesystem - GPU - Microcontroller - Modem - Redstone - Robot - Transposer |
| Others | Component Access - Signals |
| Cross-Mod Integration | Applied Energistics |