Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1027045 // WiFi Log [Raspi]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (8944L/45K).

1  
!7
2  
3  
cmodule WifiLog > DynPrintLogAndEnabled {
4  
  start {
5  
    doEvery(20.0, r doIt);
6  
  }
7  
8  
  void doIt enter {
9  
    if (!enabled) ret;
10  
    printAndProgramLog(formatLocalDateWithSeconds());
11  
    printAndProgramLog(onlyLinesStartingWith("BSS",
12  
      backtickInSuperUserVM("iw dev wlan0 scan")));
13  
  }
14  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027045
Snippet name: WiFi Log [Raspi]
Eternal ID of this version: #1027045/1
Text MD5: df44037d706cc585cc3eff750cf5b1c6
Transpilation MD5: 6809c8197b0c8d7ba48f0f37fe2c7483
Author: stefan
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-13 14:58:44
Source code size: 295 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 248 / 337
Referenced in: [show references]