Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000290FirmwareSerial Commspublic2011-10-07 22:042012-07-15 22:55
ReporterFred 
Assigned Topjohns30 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.2.0-SNAPSHOT 
Target Version0.2.0Fixed in Version0.2.0 
Summary0000290: Add Fully User Configurable Log Type
DescriptionUse an array of 16 bit pointers stored in flash with another array of chars that specify the type (8, 16, 32), and a length designator that specifies how much to send. Loop through copying X bytes from pointer location to output buffer, stopping when length designator equalled or exceeded, then truncate to requested length. Not only completely flexible, also fairly fast. Perfect.

If we restrict to 16 bit vars, we can do even better speed wise, but will waste some space.
TagsNo tags attached.
FirmwareVersion
Issue TypeNew Feature
Risk of Breakagevery low
Attached Files

- Relationships

-  Notes
User avatar (0001660)
Fred (administrator)
2012-07-14 21:25

There is zero reason to make each pointer be 8,16,32. Instead it'll just have a matching "size to grab". This is simpler and more versatile too.
User avatar (0001661)
Fred (administrator)
2012-07-15 01:29

Fixed in fdafad7, please test to confirm no apparent change and close if satisfied.
User avatar (0001662)
pjohns30 (reporter)
2012-07-15 22:55

Seems to be working fine on my truck.


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker