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).

!7

cmodule WifiLog > DynPrintLogAndEnabled {
  start {
    doEvery(20.0, r doIt);
  }

  void doIt enter {
    if (!enabled) ret;
    printAndProgramLog(formatLocalDateWithSeconds());
    printAndProgramLog(onlyLinesStartingWith("BSS",
      backtickInSuperUserVM("iw dev wlan0 scan")));
  }
}

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: 347 / 459
Referenced in: