Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nebrius/seriallog
Logs the output from a serial port in real time
https://github.com/nebrius/seriallog
debugging iot nodejs serialport
Last synced: 11 days ago
JSON representation
Logs the output from a serial port in real time
- Host: GitHub
- URL: https://github.com/nebrius/seriallog
- Owner: nebrius
- License: mit
- Created: 2017-04-04T16:57:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T01:22:04.000Z (about 3 years ago)
- Last Synced: 2024-08-10T07:37:46.474Z (3 months ago)
- Topics: debugging, iot, nodejs, serialport
- Language: JavaScript
- Size: 67.4 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# seriallog
A small command-line utility for logging the output of a serial port in real time.
## Installation
Install globally with npm:
```
npm install -g seriallog
```## Usage
Serial log will often work without any options:
```
$ seriallogWatching serial port /dev/cu.usbserial-A505WVU9
baudRate: 112500
---------------------------------------------------------------
ESP8266 Initializing
Lights initialized
Connecting to Coordinator.............^C
$
```However, you can also specify baud rate and port:
```
$ seriallog --baudrate 9600 --port /dev/cu.usbserial-12345678
```If you do not specify a serial port, it will try and figure it out for you. If there is more than one serial port available, it will prompt you for the port you prefer.
If you do not specify a baudrate, it defaults to 115200.
For more information, run `seriallog --help`
## License
MIT License
Copyright (c) 2017 Bryan Hughes
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.