-
Notifications
You must be signed in to change notification settings - Fork 78
SIO Command $E8 Get Adapter Config
Bill Kendrick edited this page May 27, 2022
·
6 revisions
This is a command for Device $70 - The FujiNet Device itself (see SIO-Commands-for-Device-ID-$70).
Return current network adapter configuration:
- SSID
- Local IP Address
- Gateway Address
- Netmask
- MAC Address
| DCB | Value |
|---|---|
| DDEVIC | $70 |
| DUNIT | $01 |
| DCOMND | $E8 |
| DSTATS | $40 |
| DBUF | adapterConfig buffer (139 bytes) |
| DTIMLO | $0F |
| DBYT | 139 |
| DAUX1 | 0 |
| DAUX2 | 0 |
// Response to SIO_FUJICMD_GET_ADAPTERCONFIG
struct
{
char ssid[32];
char hostname[64];
unsigned char localIP[4];
unsigned char gateway[4];
unsigned char netmask[4];
unsigned char dnsIP[4];
unsigned char macAddress[6];
unsigned char bssid[6];
char fn_version[15];
} cfg;
OS.dcb.ddevic=0x70;
OS.dcb.dunit=1;
OS.dcb.dcomnd=0xE8;
OS.dcb.dstats=0x00;
OS.dcb.dbuf=cfg;
OS.dcb.dtimlo=0x0f;
OS.dcb.dbyt=sizeof(cfg);
OS.dcb.daux=0;
siov();
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine