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. It 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). Configure it through 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 to WiFi. 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. The RP6502-OS provides programmatic access to the clock and time zone.
Once WiFi and time zone are configured, timekeeping is automatic.
Telnet Console¶
The RP6502-RIA-W can expose its console over the network so you can reach the monitor or a running 6502 from a remote telnet client. Connections are unencrypted in transit.
Set Listening Port:
SET PORT (port|0)sets the TCP port. The standard telnet port is 23. Setting0disables the telnet console.Set Passkey:
SET KEY (key|-)sets the passkey required to connect. Use-to clear.
Both PORT and KEY must be set to enable the telnet console.
Modem Emulation¶
The RP6502-RIA-W can emulate a Hayes modem for BBS access. It can place outgoing calls and answer incoming ones, over either raw TCP or telnet. Connections are unencrypted in transit.
AT Commands: The modem interface supports standard AT commands for dialing, answering, and configuration.
Example AT commands:
ATA— Answer incoming callATDexample.com:23— Dial a BBS by addressATDS=0— Dial phonebook entry (0-3)+++— 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 flashAT&F— Load factory profileAT&V— View profile, stored profile, phonebook, and networkAT&W— Write profile to flashAT&Z0=example.com:23— Save phonebook entry (0-3) to flashAT\L=23andAT\L?— Listen port forATA(0 disables)AT\N0orAT\N1andAT\N?— Network mode: 0=raw TCP, 1=telnetAT\T=ANSIandAT\T?— Terminal type advertised during telnet negotiationAT+RF=0orAT+RF=1andAT+RF?— Access RIA setting RFAT+RFCC=USandAT+RFCC?— Access RIA setting RFCCAT+SSID=your_ssidandAT+SSID?— Access RIA setting SSIDAT+PASS=your_passandAT+PASS?— Access RIA setting PASS
The modem is available as a set of special device names. AT: is
transient — it starts from factory defaults, has no phonebook, and
AT&W has nothing to save. AT0: through AT9: are ten
independent profiles, each with its own flash-backed settings and
four-slot phonebook (AT&Z0-AT&Z3). On open, the numbered
device loads its saved profile; AT&W writes it back, ATZ
reloads it, and AT&F restores factory defaults. Up to four modem
devices can be open and used simultaneously.
AT+ commands (+RF, +RFCC, +SSID, +PASS) are
pass-throughs to global RIA settings and take effect immediately,
regardless of which modem device is open.
Bluetooth¶
The RP6502-RIA-W supports Bluetooth LE (BLE) keyboards, mice, and gamepads. Bluetooth Classic (BR/EDR) is not supported. BLE has been widely available since Bluetooth 4.0 (June 2010), so compatible devices are easy to find, though the occasional oddball exists.
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.