User Tools

Site Tools


pentominos:client

This is an old revision of the document!


Pentominos Client

TODO

  • Find a proper name (FEED)
    • Clean up folder and restructure files (merge into pentominos)
  • How to handle aggregrated devices
  • Construct data for testing
  • Document functions (Doxygen support)
    • serialdev.h
    • filedump.h
    • device.h
    • tonoref.h
    • serialkeypad.h
    • fileread.h
  • Document Devices (Protocol, discoveries etc.)

Library

  • Write test cases

Validator

  • Write it
  • Define valid data:
    • Checksum
    • EOT termineret
    • Company/model name
    • DRM, DKM, DNT header/block (Are these always required?)

Drivers

  • Error reporting
  • Simple validation
    • Detect when comm. terminates unexpected
  • Write test cases

Parser

  • Test parser on constructed data

Client

  • Define an interface for .so-files
    • Should be able to handle changes in future (such as new information relevant for - now - unknown devices)
  • Error handling
  • Logging
  • Configuration
  • Run as a deamon
  • Write test cases

Notes

Parser

  • Only median values when there exist more than one measurement
  • Handle when IOP-data has >2 decimals

Client

  • Configuration: Redo 'deviceconf' to be a list of configurations

Transmitter Thread

Make a thread for transmitting data and a thread for gathering data. Share the data between the threads through a FIFO queue. By separating the transmitter and data gatherer we obtain that the data gatherer can be available for the device continually (which is good for instance when dealing with heavy timing dependant devices).

pentominos/client.1235637948.txt.gz ยท Last modified: 2009/02/26 09:45 by jsc