| Anonymous | Login | Signup for a new account | 2010-09-05 00:39 UTC |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0000082 | [FreeEMS-Tuner] Comm Interface | minor | always | 2008-12-03 00:09 | 2009-02-15 10:44 | ||
| Reporter | Fred | View Status | public | ||||
| Assigned To | Fred | ||||||
| Priority | normal | Resolution | fixed | ||||
| Status | resolved | Product Version | |||||
| Summary | 0000082: escaped bytes handled incorrectly causing checksum to be wrong. | ||||||
| Description |
I setup a test packet with 0 - 255 in it 8 times, when received, this is printed out : 2008-12-03 12:52:47,244 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,245 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,246 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,247 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,248 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,249 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,251 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,252 ERROR serial.FreeEMS_Vanilla - Wrongly escaped byte found in packet: 43 2008-12-03 12:52:47,254 ERROR comms.Serial - Checksum is incorrect! Provided: 55, generated: 151 Traceback (most recent call last): File "/home/fred/tuner/gui/__init__.py", line 130, in OnIdle self.CommsReceive() File "/home/fred/tuner/gui/__init__.py", line 312, in CommsReceive comms.getConnection().recieve() File "/home/fred/tuner/comms/Serial.py", line 171, in recieve logger.error('processRecieveBuffer failed to parse packet from buffer: %s' % join(protocols.toHex(cache))) NameError: global name 'join' is not defined |
||||||
| Additional Information | This indicates to me that only one type of escaped byte is handled wrongly as there are 24 escaped bytes per test packet, 8 of each type. | ||||||
| Tags | No tags attached. | ||||||
| Issue Type | Bug | ||||||
| Attached Files | |||||||
|
|
|||||||
Notes |
|
|
(0000147) sry_not4sale (administrator) 2009-01-13 21:37 |
Packets were being escaped twice |
|
(0000152) Fred (administrator) 2009-01-14 05:43 |
Tested fixed. |
| Mantis 1.1.7[^] Copyright © 2000 - 2008 Mantis Group |