Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LedFlash.java: -extra debugging statements added Coordinator.java: -application layer protocol changed: -added one byte to the front of the header to hold transmission type and protocol version -transmission type is bit 7, 0 is text transfer, 1 is binary -bit 6 reserved -bit 5 is always 1 (this will keep the header from ever having the same value as the terminating LF byte) -bits 0-4 are protocol version (0 0000) for this initial version -sendCommand() now implimented (not tested). Creates a byte[] of the message to transmmit -uses new SerialConnection interface SerialConnection.java: -new code based off the stock arduino example -attempts to auto connect, does not use serial port given in command line (yet) -added write(byte[]) to send data on the serial line (not tested).
- Loading branch information
1 parent
d9c6298
commit 26ed40e
Showing
4 changed files
with
438 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.