How to read+write to a character device without geting stuck ? #11830
Unanswered
zcattacz
asked this question in
Unix & Windows
Replies: 2 comments 6 replies
-
You can just use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @dlech, |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In python
os
module can enable read+write to character device like belowI wonder how should this be handled in micropython?
EDIT: @dlech kindly suggested
"w+"
flag, which opens the device correctly, now my new issue becomes if the response has no end marker and size is unknown how should the device be read() without getting blocked.Beta Was this translation helpful? Give feedback.
All reactions