DataCommunication Library Requirements

DataDictionary:

  • Check serialize Method
  • Flush loops enough times completes data transfer.  Need to integrate all the communications stuff into this method.  (Implemented but Dependent on ComUtil Progress)
  • Add get data to data dictionary level.
  • Add error checking to importData.  ??? possibly done needs testing
  • Add a define for name length.

ComUtil:

    Get Large Data Transfer Working Reliably

  • Make sure message is sent before data.
  • Fix Constructor on Arduino side
  • Determine if FinishedProcessing should send a message (No it should not, I need to make it so only one part of the program sends messages for better reliability)
  • clearRBuffer() on PC side missing rbufindex reset
  • Change CTS case in handshake switch to receive message then data.  Remove receiveMessage() from the ReceiveDataMethod.
  • Fix Pointer intialization in both version of the receiveData method
  • Figure out if the state commented out is necessary in changeState() both sides
  • Adjust methods to evaluate the number of bytes read/written to determine true/false return ???  For some reason the counters in the windows api don’t seem to return properly
  • Optimize logic for less passes and better reliabilty

ComMgr:

  • Change return of Send and Receive methods on both sides to return number of bytes read/written  This doesn’t work very well.  For some reason the variable that is supposed to return the data sent does not seem to work at all.
  • Figure out why the Arduino is not receiving properly

FingerController:

  • Need to add variables with names and sizes mirroring the PC side
  • adjust logic for new variables
  • add some commands for various feature(ex. Material)