Device $70 is the FujiNet control device. It provides commands for managing the FujiNet hardware itself, including WiFi configuration, host and device slot management, directory operations, cryptographic functions, and system diagnostics.
Command Description
$00Test
$B0Alter SIO timing for T0
$B1Alter SIO timing for T1
$B2Alter SIO timing for T2
$B3Alter SIO timing for T3
$B4Alter SIO timing for T4
$B5Alter SIO timing for T5
Command Description
$3FGet HSIO index
$53FujiNet command status
$D1Device enable status
Command Description
$C5Hash output - retrieve computed hash result
$C6Hash length - get length of computed hash
$C7Hash compute - perform hash computation on buffered input
$C8Hash input - send data to be hashed
Command Description
$C9Base64 decode output - retrieve decoded result
$CABase64 decode length - get length of decoded data
$CBBase64 decode compute - perform decode on buffered input
$CCBase64 decode input - send Base64-encoded data to decode
Command Description
$CDBase64 encode output - retrieve encoded result
$CEBase64 encode length - get length of encoded data
$CFBase64 encode compute - perform encode on buffered input
$D0Base64 encode input - send raw data to encode
Command Description
$BCQR input - send data to encode as QR
$BDQR encode - perform QR code generation
$BEQR length - get length of QR code output
$BFQR output - retrieve generated QR code data
Command Description
$BBGenerate GUID
Command Description
$D4Disable device
$D5Enable device
$D6Set boot mode
$D7Mount all - mount all configured device slots
$D8Copy file
$D9Enable/disable CONFIG in D1:
$DFSet external SIO clock
$E8Get adapter config
$EBSet UART baud rate
$F0Enable UDPStream mode
$FFReset FujiNet
Command Description
$D2Get time
$D3Random number
Host slots define the remote servers or storage locations that FujiNet can connect to (e.g., TNFS servers, SD card).
Command Description
$E0Get host prefix
$E1Set host prefix
$E6Unmount host
$F3Write host slots - save host slot configuration
$F4Read host slots - retrieve host slot configuration
$F9Mount host
Device slots map virtual devices (e.g., D1: through D8:) to disk images on mounted hosts.
Command Description
$DAGet device slot filename
$E2Set filename for device slot
$E3Set HSIO index
$E9Unmount device image
$F1Write device slots - save device slot configuration
$F2Read device slots - retrieve device slot configuration
$F8Mount device image
These commands allow browsing files on a mounted host.
Command Description
$E4Set directory position
$E5Get directory position
$F5Close directory
$F6Read directory - retrieve next directory entry
$F7Open directory
$E7New disk - create a new disk image
Command Description
$EAGet WiFi enabled
$FAGet WiFi status
$FBSet SSID and connect
$FCGet scan result
$FDScan networks
$FEGet SSID
App keys provide a simple key-value storage mechanism for applications to persist small amounts of configuration data on the FujiNet device.
Command Description
$DBClose app key
$DCOpen app key
$DDRead app key
$DEWrite app key
For quick lookup, here is every command in numerical order:
Command Description
$00Test
$3FGet HSIO index
$53FujiNet command status
$B0Alter SIO timing for T0
$B1Alter SIO timing for T1
$B2Alter SIO timing for T2
$B3Alter SIO timing for T3
$B4Alter SIO timing for T4
$B5Alter SIO timing for T5
$BBGenerate GUID
$BCQR input
$BDQR encode
$BEQR length
$BFQR output
$C5Hash output
$C6Hash length
$C7Hash compute
$C8Hash input
$C9Base64 decode output
$CABase64 decode length
$CBBase64 decode compute
$CCBase64 decode input
$CDBase64 encode output
$CEBase64 encode length
$CFBase64 encode compute
$D0Base64 encode input
$D1Device enable status
$D2Get time
$D3Random number
$D4Disable device
$D5Enable device
$D6Set boot mode
$D7Mount all
$D8Copy file
$D9Enable/disable CONFIG in D1:
$DAGet device slot filename
$DBClose app key
$DCOpen app key
$DDRead app key
$DEWrite app key
$DFSet external SIO clock
$E0Get host prefix
$E1Set host prefix
$E2Set filename for device slot
$E3Set HSIO index
$E4Set directory position
$E5Get directory position
$E6Unmount host
$E7New disk
$E8Get adapter config
$E9Unmount device image
$EAGet WiFi enabled
$EBSet UART baud rate
$F0Enable UDPStream mode
$F1Write device slots
$F2Read device slots
$F3Write host slots
$F4Read host slots
$F5Close directory
$F6Read directory
$F7Open directory
$F8Mount device image
$F9Mount host
$FAGet WiFi status
$FBSet SSID and connect
$FCGet scan result
$FDScan networks
$FEGet SSID
$FFReset FujiNet