Send HTTP GET request in following format: http://SNIFFER_IP/netscan.shtml
Sniffer should answer HTTP 200 OK. Within HTML page following line of code is interesting:
var values = removeSSItag('< !--#pnetscan-->STOPPED,0,2,0,0,0,0,0').split(",");
Param |
Value |
Format |
State |
STOPPED/RUNNING/CT MODE ACTIVE/INJECTING/NETWORK SCANNING |
String |
Remaining time |
number in miliseconds |
Decimal Notation |
Scan time |
0-80 (seconds) |
Decimal Notation |
Scan on 780 Band |
0/1 |
Decimal Notation |
Scan on 868 Band |
0/1 |
Decimal Notation |
Scan on 915 Band |
0/1 |
Decimal Notation |
Scan on 2400 Band |
0/1 |
Decimal Notation |
Pending scan |
scan |
Decimal Notation |
Network scan results:
var scansub = removeSSItag('< !--#psubband-->,,,,,,,,,,,,,,,').split(",");
psubband
contains 4 channels of 780 Band, 1 channel of 868 Band and 10 channels of 915 Band. Each channels separate with comma.
var scan2g4 = removeSSItag('< !--#p2g4band-->,,,,,,,,,,,,,,,,').split(",");
p2g4band
contains 16 channels of 2400 Band separate with comma.
Param |
Value |
Format |
Channel scan |
Two hexadecimal bytes separate with comma |
Hex Notation |
Example of one channel scan:
var scansub = removeSSItag('< !--#psubband-->0x1234;0x4567,,,,,,,,,,,,,,,').split(",");