projecthorus / horusdemodlib

High Altitude Balloon Telemetry Library
GNU Lesser General Public License v2.1
48 stars 24 forks source link

custom_field_add for df7pn #208

Closed whallmann closed 5 months ago

whallmann commented 5 months ago

Hi Mark, would you please add this custom_field_list to the repository. I will experiment a bit. Maybe you are able to translate the field "sonde_type" from a number into text? The list is appended below. Tnx. Wolf DF7PN

"DF7PN": {
    "comment": "private values see https://github.com/whallmann/RS41HUP_V2",
    "struct": "<HHxxxx",
    "fields": [
        ["flight_number", "none"],
        ["sonde_type", "none"]
    ]
},
whallmann commented 5 months ago

So this is the edited version of my request. please drop it to the list. Thanks.

darksidelemm commented 5 months ago

Done!

whallmann commented 5 months ago

Any idea why horusdemodlib says that there is an error in fieldlist (8) after restart? Short dump: 2024-01-30 16:53:54,600 INFO: Opened log file telemetry.log. 2024-01-30 16:53:54,602 INFO: Attempting to download latest payload ID list from GitHub... 2024-01-30 16:53:54,979 INFO: Attempting to download latest custom field list from GitHub... 2024-01-30 16:53:55,309 ERROR: Struct field for DF7PN has incorrect length (8). 2024-01-30 16:53:55,313 INFO: Payload list contains 387 entries. 2024-01-30 16:53:55,314 INFO: Custom Field list contains 13 entries. 2024-01-30 16:53:55,318 INFO: Sondehub Amateur Uploader - Started Sondehub Amateur Uploader Thread.

darksidelemm commented 5 months ago

Because the struct field was missing a 'x' to make it the required 9 bytes :-)

Fixed now.

whallmann commented 5 months ago

my best friend 😉 thanks Mark

Mark Jessop @.***> schrieb am Di., 30. Jan. 2024, 22:09:

Because the struct field was missing a 'x' to make it the required 9 bytes :-)

Fixed now.

— Reply to this email directly, view it on GitHub https://github.com/projecthorus/horusdemodlib/issues/208#issuecomment-1917897729, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKZWUGP43HJIMRTHNU5IOLYRFOQDAVCNFSM6AAAAABCP2ADBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXHA4TONZSHE . You are receiving this because you authored the thread.Message ID: @.***>