Skip to content

implement as blocking way#46

Open
ishiguroJSK wants to merge 1 commit intotork-a:masterfrom
ishiguroJSK:non_block_mode
Open

implement as blocking way#46
ishiguroJSK wants to merge 1 commit intotork-a:masterfrom
ishiguroJSK:non_block_mode

Conversation

@ishiguroJSK
Copy link
Contributor

This would be more smarter way, compared to #44 I think ...

And I also found the bug, that the CALIB_DATA_LENGTH value shouldn't be fixed to 46.
According to the spec sheet, the response data for calibration request (=write(fdc, "p", 1);) is described as text string like

32.800,32.815,32.835,1653.801,1634.816,1636.136

. So the length should be treated as variable (in my case, that was 43, and caused infinite waiting)

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