This device allows the computer to manipulate the Frogport, including changing its address filter and its current mode!
This is an example of how to access the device.
local d = require("devices")
local frogport = d:find("frogport")
print(frogport:getAddress())
Device name: frogport
getAddress():string
This method retrieves the current address filter.
setAddress(address:string)
This method sets the current address filter.
address
is the string representing the new address to filter packages against.getConfiguration():string
This method gets the current configuration.
send
or send_receive
.setConfiguration(config:string)
This method sets the current configuration.
config
is the string representing the new configuration, either send
or send_receive
.