Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The Tigra `AdvancedStepper` code is capable of driving steps at a theoretical ra

Command processing is handled by the `CommandProcessor` class. This is actually a port of a more object-oriented library (also developed by Tigra Astronomy) but is one area where we found it necessary to favour smaller resource usage over code structure. Therefore our object oriented design has been collapsed into more procedural code in this implementation.

When a well formed command is received from the serial communications channel it is passed to `DispatchCommand()` which decides whether it is a local or remote command. If local, it is passed on to `CommandProcessor::HandleCommand()`. Otherwise it is passed to teh XBee state machine for transmission on to the remote device.
When a well formed command is received from the serial communications channel it is passed to `DispatchCommand()` which decides whether it is a local or remote command. If local, it is passed on to `CommandProcessor::HandleCommand()`. Otherwise it is passed to the XBee state machine for transmission on to the remote device.

Each command verb has its own handler method. `CommandProcessor::HandleCommand()` decides which handler method to call based on the command verb.

Expand Down