Jump to content
IGNORED

Modem sniffer always says "Modem is busy."


chad5200

Recommended Posts

When using the modem sniffer, you need to reset the fujinet after enabling it.

 

Once enabled, you'll see:

17:10:12.974350 > ModemSniffer::ModemSniffer(FS_SDFAT)

In the debug monitor log after FujiNet restarts.

 

and whenever the MODEM is connected to a host, you will see a message indicating that it has opened the output file:

17:11:58.028473 > fopen = /rs232dump : ok
17:11:58.028485 > ModemSniffer::restartOutput(0x55b62f519540)
17:11:58.028495 > 

Followed by incoming and outgoing messages in the debug log:

INCOMING: ff fb 03 ff fb 01 0d 0a 0d 0a ff fc 03 ff fd 1f ff fd 18 ff fd 20 ff fb 00 ff fd 00 ff fd 17 'W' ff fe 1f ff fa 18 01 ff f0 ff fe 20 ff fc 00 ff fe 00 ff fe 17 'e' 'l' 'c' 'o' 'm' 'e' 20 't' 'o' 20 't' 'h' 'e' 20 '*' 'N' 'E' 'W' '*' 20 'L' 'e' 'v' 'e' 'l' 20 '2' '9' 20 'B' 'B' 'S' '!' 0d 0a '9' '1' '6' 20 '9' '6' '5' 20 '1' '7' '0' '1' 20 '-' 20 'b' 'b' 's' '.' 'f' 'o' 'z' 'z' 't' 'e' 'x' 'x' '.' 'c' 'o' 'm' 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 '_' '_' 0d 0a 20 20 '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '/' '_' '_' '\' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' 0d 0a 20 '/' 20 20 20 '_' 20 20 '_' 20 20 '-' '_' '_' 20 '-' 20 20 20 '_' '_' '_' 20 20 '-' 20 20 20 '\' 0d 0a 20 '\' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '_' '/' 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 '|' 20 20 '|' 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 '|' 20 20 '|' 0d 0a 20 20 20 20 20 20 20 20 '_' '_' '_' '_' '_' '|' 20 20 '|' '_' '_' '_' '_' '_' '_' 0d 0a 20 20 20 20 '_' '_' '_' '|' 20 20 20 20 20 '|' 20 20 '|' 20 20 20 20 20 20 '|' '_' '_' '_' 0d 0a 20 20 20 '|' 20 20 20 '|' 20 20 20 20 20 '|' 20 20 '|' 20 20 20 20 20 20 '|' 20 20 20 '|' 0d 0a '_' '_' '_' '|' '_' '_' '_' '|' '_' '_' '_' '_' '/' '_' '_' '_' '_' '\' '_' '_' '_' '_' '_' '|' '_' '_' '_' '|' '_' '_' '_' 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 '_' '_' 20 20 20 '_' '_' 0d 0a '|' 20 20 20 20 20 '_' '_' 20 20 20 20 20 20 20 20 '_' '_' 20 20 '|' 20 20 '/' 20 20 '\' 20 '/' 20 20 '\' 0d 0a '|' 20 20 20 20 '/' '_' '_' '\' 20 '|' 20 20 '|' 20 '/' '_' '_' '\' 20 '|' 20 20 20 '_' '_' '/' 20 '\' '_' '_' '/' 0d 0a '|' '_' '_' '_' 20 '\' '_' '_' 20 20 20 '\' '/' 20 20 '\' '_' '_' 20 20 '|' 20 20 '/' '_' '_' '_' 20 20 20 '/' 0d 0a 0d 0a 'T' 'h' 'e' 20 'o' 'f' 'f' 'i' 'c' 'i' 'a' 'l' 20 'B' 'B' 'S' 20 'o' 'f' 0d 0a 'R' 'e' 't' 'r' 'o' 'B' 'a' 't' 't' 'l' 'e' 's' 't' 'a' 't' 'i' 'o' 'n' 's' '.' 'c' 'o' 'm' 0d 0a 0d 0a 0d 0a 'E' 'n' 't' 'e' 'r' 20 'y' 'o' 'u' 'r' 20 'u' 's' 'e' 'r' 'n' 'a' 'm' 'e' 20 'o' 'r' 20 'N' 'E' 'W' 20 'o' 'r' 20 'V' 'I' 'S' 'I' 'T' 'O' 'R' 0d 0a 'U' 's' 'e' 'r' ':' 20 

OUTGOING: '+' 

 

The result will be placed in the 'rs232dump' file on your SD card, and should be fetchable from the web UI.

 

If you can read the rs232dump file on your SD card, and still can't get it from the web UI, please let me know, along with any debugging messages that happen when you attempt.

 

p.s. I must point out, that this specific feature was designed as a reverse engineering tool, at the request of a user, who was trying to capture RS232 data coming back and forth between a particular game. It slows down modem usage significantly.

 

-Thom

Edited by tschak909
Link to comment
Share on other sites

terminal
AT+SNIFF
reset

terminal

make your call or connection

disconnect call or connection

AT-SNIFF
now you can get your output from the device

/modem-sniffer.txt             http://fujinet/modem-sniffer.txt   whatever you have your fujinet at.

 

It wasn't this way before and the information is only told like it is here, it is not explained at git or in the video about resetting

Edited by _The Doctor__
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...