Skip to content

take only the first field of the upstream modulation string#1

Open
jurjenoskam wants to merge 1 commit into
berthubert:mainfrom
jurjenoskam:main
Open

take only the first field of the upstream modulation string#1
jurjenoskam wants to merge 1 commit into
berthubert:mainfrom
jurjenoskam:main

Conversation

@jurjenoskam

Copy link
Copy Markdown

On my modem (UBC1318ZG) the upstream modulation is reported as
"3 4 12 13". This causes strconv.ParseFloat to barf. Work around
this by only taking the first field of the string. This loses
information, but I wouldn't know how to properly solve this and
it doesn't seem to be a very important metric to track.

On my modem (UBC1318ZG) the upstream modulation is reported as
"3 4 12 13". This causes strconv.ParseFloat to barf. Work around
this by only taking the first field of the string. This loses
information, but I wouldn't know how to properly solve this and
it doesn't seem to be a very important metric to track.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant