You are reading a single comment by @netmonk and its replies. Click here to read the full conversation.
  • plonky@macronetmonk:~/node_modules/espruino/bin$ sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
    [sudo] password for plonky: 
    plonky@macronetmonk:~/node_modules/espruino/bin$ ./espruino-cli.js --list
    Espruino Command-line Tool 0.1.27
    -----------------------------------
    
    PORTS:
      fa:ee:05:a7:c7:34 (Pixl.js c734)
    plonky@macronetmonk:~/node_modules/espruino/bin$ ./espruino-cli.js --list --verbose
    0.1.27
    Espruino Command-line Tool 0.1.27
    -----------------------------------
    
    Acorn library not found - you'll need it for compiled code
    Found /home/plonky/node_modules/espruino/libs/targz.js
    Found /home/plonky/node_modules/espruino/libs/utf8.js
    Found /home/plonky/node_modules/espruino/espruino.js
    Found /home/plonky/node_modules/espruino/core/codeWriter.js
    Found /home/plonky/node_modules/espruino/core/config.js
    Found /home/plonky/node_modules/espruino/core/env.js
    Found /home/plonky/node_modules/espruino/core/flasher.js
    Found /home/plonky/node_modules/espruino/core/modules.js
    Found /home/plonky/node_modules/espruino/core/notifications.js
    Found /home/plonky/node_modules/espruino/core/serial.js
    Found /home/plonky/node_modules/espruino/core/serial_chrome_serial.js
    No chrome.serial - Chrome Serial disabled
    Found /home/plonky/node_modules/espruino/core/serial_chrome_socket.js
    No chrome.sockets - Chrome Socket disabled
    Found /home/plonky/node_modules/espruino/core/serial_frame.js
    Found /home/plonky/node_modules/espruino/core/serial_noble.js
    Found /home/plonky/node_modules/espruino/core/serial_node_serial.js
    Found /home/plonky/node_modules/espruino/core/serial_node_socket.js
    Found /home/plonky/node_modules/espruino/core/serial_web_audio.js
    Found /home/plonky/node_modules/espruino/core/serial_web_bluetooth.js
    Found /home/plonky/node_modules/espruino/core/serial_websocket_local.js
    Found /home/plonky/node_modules/espruino/core/serial_websocket_relay.js
    Found /home/plonky/node_modules/espruino/core/serial_winnus.js
    Not on Windows, Winnus not needed
    Found /home/plonky/node_modules/espruino/core/terminal.js
    Found /home/plonky/node_modules/espruino/core/utils.js
    Found /home/plonky/node_modules/espruino/plugins/assembler.js
    Found /home/plonky/node_modules/espruino/plugins/boardJSON.js
    Found /home/plonky/node_modules/espruino/plugins/compiler.js
    Found /home/plonky/node_modules/espruino/plugins/getGitHub.js
    Found /home/plonky/node_modules/espruino/plugins/localModules.js
    Found /home/plonky/node_modules/espruino/plugins/minify.js
    Found /home/plonky/node_modules/espruino/plugins/saveOnSend.js
    Found /home/plonky/node_modules/espruino/plugins/setTime.js
    Found /home/plonky/node_modules/espruino/plugins/unicode.js
    Loading UTF8 with require
    Found /home/plonky/node_modules/espruino/plugins/versionChecker.js
    Initialising CodeWriter
    Initialising Config
    Initialising Env
    Initialising Flasher
    Initialising Modules
    Initialising Notifications
    Initialising Serial
      - Initialising Serial Noble Bluetooth LE
      - Initialising Serial Node Serial
      - Initialising Serial Node Socket
      - Initialising Serial Web Bluetooth
    Initialising Utils
    Initialising Status
    Initialising Assembler
    Initialising BoardJSON
    Initialising Compiler
    Initialising GetGitHub
    Initialising LocalModules
    Initialising Minify
    Initialising SaveOnSend
    Initialising SetTime
    Initialising Unicode
    Initialising VersionChecker
    Initialising CoreModules
    Searching for serial ports...
    Noble: getPorts - not initialised
    No navigator.bluetooth - Web Bluetooth not enabled
    Noble: stateChange -> poweredOn
    Noble: Disable Web Bluetooth as we have Noble instead
    Noble: Starting scan
    Noble: Found UART device: Pixl.js c734 fa:ee:05:a7:c7:34
    Noble: Found device: TNT_BW   f0:ab:54:4b:3f:8c
    Noble: Found device: TNT_BW   f0:ab:54:4b:3f:8c
    PORTS:
      fa:ee:05:a7:c7:34 (Pixl.js c734)
    

    looks better ! :)

About

Avatar for netmonk @netmonk started