Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { StatusCh chan Status ble.Client Status // contains filtered or unexported fields }
Client a Bluetooth LE Client connection to a PM5 rowing computer with a data channel for noticications receiced from it's service
type Status ¶
type Status struct { StrokeCount uint16 // Total strokes for session LastStroke time.Duration // Time marker for last stroke event Spm int // Strokes per miniute Power uint16 // Power in watts Speed uint16 // Speed in 0.001m/s RowState byte // Are we still rowing? }
Status of a Client, e.g. stroke count, current speed etc.
Click to show internal directories.
Click to hide internal directories.