This is the command tos-serial-debug that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
tos-serial-debug - print the raw bytes read from a serial port
SYNOPSIS
tos-serial-debug [serial port] [baud rate]
DESCRIPTION
tos-serial-debug is a tool that reads raw bytes from a serial port and prints them to
stdout in hexidecimal format. It is typically used to determine whether failure to
communicate with a node over the serial port is due to an inability to receive anything or
whether it is due to disagreement on the packet format.
tos-serial-debug takes optional serial port and baud rate arguments. The latter cannot be
specified unless the former is as well. The serial port argument names a serial port
device and defaults to /dev/ttyS0. The baud rate argument is an ASCII string describing a
baud rate, and must be one of 50, 75, 110, 134, 150, 200, 600, 1200, 2400, 4800, 9600,
19200, 38400, 57600, 115200, 230400, 460800k, 500000, 576000, 921600, 1000000, 1152000,
1500000, 2000000, 2500000, 3000000, 3500000, or 4000000. It defaults to 19200. Particular
software distributions may vary, but the default speeds for current motes platforms are as
follows:
eyesIFXv2, intelmote2, telosb, tmote: 115200
mica2, micaz: 57600
EXAMPLE
tos-serial-debug
tos-serial-debug /dev/ttyS1
tos-serial-debug /dev/ttyS1 57600
Use tos-serial-debug online using onworks.net services