-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28b58ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering was this for #346
Having really had to dig into this, and bring out a logic analyzer to understand it, I'm just wondering if there could be a comment example inline for what is being parsed.
So I saw this coming back from the LT500 instrument, that wasn't being parsed
1D0!1+0.10563+16.6166+0.24390
Its really nice to have the SDI12 subsystem extending its features, but what might help an understanding of the code is to have an easy transition from older code to newer, as its very hard to debug.
The 0.25.1 code from #367
long parseInt(LookaheadMode lookahead = SKIP_ALL, char ignore = NO_IGNORE_CHAR);
and above in 0.27.5 its changed to _SDI12Internal.parseFloat(SKIP_NONE); so the parseing of characters has to be done for it.
So what I think worked for me .. at least with the first few parameters on a single line was
In case its useful.
Just a note that this issue with the watchdog made it an order of magnitude more difficult to debug - but of course it did work to force it in to repetitive reset, rather than just hanging.
#344
28b58ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me I did a protocol timeout to be more visible, but I didn't see it happen with the above.
Just an idea.