Changeset 580

Show
Ignore:
Timestamp:
08/19/06 12:17:56 (8 years ago)
Author:
dbishop
Message:

Changed LoggingMsg? frame format mote-side but forgot to change pc-side.
Should exhaustively investigate if linking the two is possible; may need to rekindle C header file parsing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • hen_scripts/branches/hen_mote/lib/auxiliary/serial.py

    r570 r580  
    243243    
    244244    def logReceived(self, ammsgtype, msg): 
    245         length = len(msg)-2 
    246         self.__logger.info(struct.unpack("H%ds" % length, msg)[1]) 
     245        self.__logger.info(struct.unpack("%ds" % len(msg), msg)[0]) 
    247246     
    248247    def introspectReceived(self, ammsgtype, msg):