Using the MODEM Sniffer - FujiNetWIFI/fujinet-firmware GitHub Wiki
FujiNet provides a Modem Sniffer log, which can be enabled or disabled to capture MODEM traffic to the modem_sniffer.txt file on the SD card. An SD Card Must Be Inserted.
Enabling/Disabling the Modem Sniffer via AT commands
The Modem sniffer can be enabled as a modem command by sending the MODEM command:
AT+SNIFF
OK
The modem sniffer can be disabled as a modem command by sending the MODEM command:
AT-SNIFF
OK
Enabling/Disabling the Modem Sniffer via RSNIFF in fnc-tools
The Modem Sniffer can also be enabled/disabled using the RSNIFF tool in fnc-tools. This sends a SET DUMP ('D') command to device $50 over SIO, which enables or disables the modem sniffer.
The command is detailed in Additional Commands for R: Devices
To enable:
D1: RSNIFF 1
To disable:
D1: RSNIFF 0
As with all other fnc-tools, if a non-CLI DOS is used, the command runs interactively:
SET DUMP--0=DISABLE, 1=ENABLE
1
Retrieving the capture file
Once the desired data has been captured, it can be retrieved by going to the /modem-sniffer.txt url, e.g. http://fujinet/modem-sniffer.txt