Task #333

Hub Class

Added by Espen Solbu over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:02/07/2012
Priority:NormalDue date:
Assignee:Hans Cappelle% Done:

100%

Category:-Spent time:-
Target version:3.0 FrSky hub and sensors

Description

Abstract Class (or interface) that can be extended with specific Hub classes, e.g. FrSkyHubV1 and FrSkyHubV2 etc.

Should have the following:

public final TreeMap<Integer,Channel> channels
public void addFrame(Frame f) // grab userbytes from frame, decode (unstuff) if appliccable (FrSkyHubs), add to buffer. Update own channels from buffer


Related issues

Related to Task #344: translate 16 bit hub values to human readable format Closed 02/09/2012

History

#1 Updated by Hans Cappelle over 6 years ago

  • Assignee set to Hans Cappelle
  • % Done changed from 0 to 60

Class for hub code created in new hub package. Will refactor to match requirements.

#2 Updated by Hans Cappelle over 6 years ago

  • Status changed from New to In Progress

#3 Updated by Hans Cappelle over 6 years ago

  • % Done changed from 60 to 80

volt value translation isn't implemented correct yet, other values need testing

#4 Updated by Hans Cappelle over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Done

Also available in: Atom PDF