Access Point Documentation


Introduction

The access point is a simple wireless relay peripheral that can cast messages over a distance.

The access point is categorized as "neetcomputers:access_point" in the IO API

Lookup table

broadcast(arguments...) Broadcasts the arguments to all other access points in range
getRange() Gets the configured range for the access point, 500 by default
setRange(range) Sets the configured range of the access point, limited to 500 blocks

Functions in detail

broadcast(arguments...)

Broadcasts the arguments to all other access points in range

Parameters: Arguments[Any primitive]... Returns: None

getRange()

Gets the configured range for the access point, 500 by default

Parameters: None Returns: Integer

setRange(range)

Sets the configured range of the access point, limited to 500 blocks

Parameters: Range[Integer] Returns: None

Event table

received [Peripheral]

neetcomputers:access_point[String] UUID[String] received[String]
distance[Number] Arguments...[Any]
Triggered when an access point receives a message