RP6502-RIA-W¶
RP6502 - RP6502 Interface Adapter W
Introduction¶
The RP6502 Interface Adapter W is a Raspberry Pi Pico 2 W running the RP6502-RIA-W firmware. The RP6502-RIA-W provides all the features of the RP6502-RIA plus wireless services, as described below.
WiFi Setup¶
The RP6502-RIA-W supports Wi-Fi 4 (802.11n). Configuration is performed via the console interface.
Enable/Disable Radio: Use
SET RF (0|1)to enable (1, default) or disable (0) all radios without affecting other settings.Set Country Code:
SET RFCC (cc|-)sets the WiFi country code for optimal performance (e.g.,US,GB). Usehelp set rfccto list supported codes. Use-to reset to the worldwide default.Set Network Name (SSID):
SET SSID (ssid|-)sets your WiFi network name (Service Set Identifier). Use-to clear.Set Network Password:
SET PASS (pass|-)sets your WiFi password. Use-to clear.Check WiFi Status: Use the
statuscommand to view current WiFi connection and settings.
Network Time Protocol (NTP)¶
The real-time clock (RTC) automatically synchronizes with internet time
servers when connected. Check NTP status with the status command.
Set Time Zone: To use local time instead of UTC, set your time zone with
SET TZ. UseHELP SET TZfor guidance. Daylight saving adjustments are automatic if your locale observes them.
Once WiFi and time zone are configured, timekeeping is automatic.
Modem Emulation¶
The RP6502-RIA-W can emulate a Hayes modem for BBS access. Beware that raw TCP and telnet protocols are plain text in transit.
AT Commands: The modem interface supports standard AT commands for dialing, answering, and configuration.
Example AT commands:
ATDexample.com:23— Dial a BBS+++— Escape back to command modeATE1— Set echoATH— Hang upATO— Return to callATQ0— Set quietingATSxxx?— Query register number xxxATSxxx=yyy— Set register number xxx with value yyyATV1— Set verbosityATX0— Set progress messagingATZ— Load profile from NVRAMAT&F— Load factory profileAT&V— View profileAT&W— Write profile to NVRAMAT&Z0=example.com:23— Save “telephone number” to NVRAMAT+RF=your_ssidandAT+RF?— Access RIA setting RFAT+RFCC=your_ssidandAT+RFCC?— Access RIA setting RFCCAT+SSID=your_ssidandAT+SSID?— Access RIA setting SSIDAT+PASSS=your_ssidandAT+PASS?— Access RIA setting PASS
A full telnet stack has yet to be written so all connections are raw TCP.
“Telephone Numbers” are saved immediately and are not linked to profiles.
Bluetooth¶
The RP6502-RIA-W supports Bluetooth LE (BLE) keyboards, mice, and gamepads. It does not support the older Bluetooth Classic aka BR/EDR. The RP6502-RIA-W uses BTStack which can only support one Bluetooth Classic device at a time so it’s not worth the memory. BLE was introduced in June 2010 with Bluetooth 4.0 so it’s not difficult to find devices but you will find an occasional oddball. Of particular note are Sony DualShock and DualSense controllers - which you can use on USB instead.
To add a new device, use monitor command set ble 2 to enable pairing
mode. The LED on the RP6502-RIA-W will blink when in pairing mode. See
your device’s manual to enable its pairing mode - probably a button and
more blinking. When the blinking stops, the device is connected and will
be remembered (bonded) so it reconnects automatically in the future.