SIO Command $53 Network Status - FujiNetWIFI/fujinet-firmware GitHub Wiki
Network Status ($53) ['S']
Description
Retrieve Network Status information for a connection
This retrieves a 4 byte payload containing the status information for a given connection.
The structure of this buffer is:
Offset | Description |
---|---|
0 | The Low byte of # of bytes waiting in buffer |
1 | The High byte of # of bytes waiting in buffer |
2 | Connection Status (0 = not connected, 1 = connected) |
3 | Last error (1 on success, otherwise an error |
Parameters
DCB | Value |
---|---|
DDEVIC | $71 |
DUNIT | $01 for N1: to $08 for N8: |
DCOMND | $53 |
DSTATS | $40 |
DBUF | DVSTAT |
DTIMLO | $0F |
DBYT | 4 |
DAUX1 | 0 (global substatus) |
DAUX2 | 0 (per protocol substatus) |
For substatus, currently only 0 is implemented. But other substatuses might be implemented for protocol specific inquiries.
Examples
CC65
TBD: come back in here and put open example.
See Also
Put other related command links here.