Having helped hundreds of people learn to use Intel Edison, I wanted to use my learning to help make everyone’s life easier . I also wanted to streamline the build / deploy process as well as the process of locating Edison on the local network (via Bonjour) or connecting to Edison via Micro-USB serial terminal.
Here are the features and benefits to you, an Edison developer (using a Mac only, at this time):
- bloop c: Never have to type in “screen /dev/cu.usbserial-XXXXX 115200 -L” ever again, simply type “bloop c” to do this automatically.
- bloop list: Print out all Edison devices attached via USB Serial / Micro-USB
- ex: /dev/cu.usbserial-XXXXX
- bloop scan: Never have to use Bonjour Browser to detect Edison on the local network, simply type “bloop scan.” Add -r to show the raw output of the scan (otherwise, bloop scan simply returns the name of the first Edison it locates on the network).
- bloop ssh: Instantly initiate an ssh attempt with an Edison on your local network. Add -e to select a specific Edison by name (useful with many Edisons on the local network) or -u to specify a user other than “root.”
- bloop push: Instantly generate a command to copy your working directory to Edison’s /node_app_slot/ folder via scp. Like ssh, you can add -e or -u.
- bloop clean: There is a problem with “Screen” which frequently results in detached screen processes resulting in confusing “Could not find a PTY” errors and “Resource busy.” Bloop clean instantly purges all those sessions and allows developers to connect again via bloop c. If you run “bloop c -f” these sessions will be purged automatically before attempting to initiate a new session.
I am very excited about bloop because I feel it will significantly ease the process for new developers (and all developers) to use Intel Edison. The ‘bloop push’ command, especially, allows you to use Sublime Text or your Node development environment of choice. Enjoy and file any bugs you find. Would like to create an equivalent Windows library at some point.
Install it globally by executing:
$ sudo npm install -g bloop