๐Ÿ“ณProgramming Your Radio (Advanced)

REST API

A RESTful API interface is included to place the radio in "Team Bridge" or "Team Access Point" mode.

Configuring as an Indoor Client/STA (TEAM_ROBOT_RADIO)

curl -XPOST http://192.168.69.1/configuration -d '{"mode":"TEAM_ROBOT_RADIO", "teamNumber":1538,"wpaKey6":"SeCuRe-6Ghz-Key","wpaKey24":"My-2.4Ghz-Key"}'

By placing the radio into "Robot Radio" or "TEAM_ROBOT_RADIO" mode, the radio will be configured to connect to an 802.11ax Wi-Fi 6E access point with the corresponding SSID of the team number listed.

JSON KeyDescriptionValue

mode

Sets mode to Client/STA (robot radio)

"TEAM_ROBOT_RADIO"

teamNumber

FRC team number

Decimal

wpaKey6

SAE password for the 6GHz Wi-Fi connection

String between 8 and 16 characters long

wpaKey24

SAE password for the 2.4GHz Wi-Fi access point

String between 8 and 16 characters long

When DIP switch #3 is in the ON position AND a valid connection to an 6GHz 802.11ax Wi-Fi access point is not present, the radio will simultaneously broadcast as a 2.4GHz 802.11ax Wi-Fi access point with the SSID of "FRC-XXYY" where XXYY is the programmed team number.

Once the radio successfully connects to a 6GHz 802.11ax Wi-Fi access point, the 2.4Ghz 802.11ax Wi-Fi access point will shut down until the device is power cycled.

Configuring as an Access Point (TEAM_ACCESS_POINT)

When configured as a WIRELESS ACCESS POINT, due to regulatory requirements, the VH-109 radio cannot be powered using a battery source and is for Indoor Use Only. The device is regulated by the FCC LPI (Low Power Indoor) requirements when in this mode. Only when the VH-109 radio is configured as an INDOOR CLIENT DEVICE (STA) may it be powered using a battery.

curl -XPOST http://192.168.69.1/configuration -d '{"mode":"TEAM_ACCESS_POINT", "teamNumber":1538,"wpaKey6":"SeCuRe-6Ghz-Key","channel":5}'

By placing the radio into Access Point or "TEAM_ACCESS_POINT" mode, the radio will be configured to broadcast as an 802.11ax Wi-Fi 6E access point with the corresponding SSID of the team number listed using the SAE key provided.

JSON KeyDescriptionValue

mode

Sets mode to Access Point

"TEAM_ACCESS_POINT"

teamNumber

FRC team number

Decimal

wpaKey6

SAE password for the 6GHz Wi-Fi connection

String between 7 and 16 characters long

channel

Selects a Wi-Fi 6E 20 MHz channel

Decimal

Last updated