Skip to content

Decoding 'left_right_balance' field as a UInt8 #4

@tevendale

Description

@tevendale

I'm trying to decode the 'left_right_balance' field in a Record message.

I'm expecting to get a 'left_right_balance' (actually a UInt8) value, but I'm getting a string, something like 'FitField(withName: left_right_balance_178'.

I've had a look through the 'fitsdkparser.py' but I can't quite work out how the parts of the swift files are generated for different field types.

Sample file attached
LRBalanceTest.fit.zip
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions