Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadProductCode() #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

hp-beko
Copy link

@hp-beko hp-beko commented Sep 26, 2019

Let's add the Read Device Information functionality to make world a better place.

@xmenxwk
Copy link

xmenxwk commented Jan 2, 2021

I've implemented something similar but its not good idea to hardcode number-of-read-byte to a small value. For instance my current device sends around 50 bytes of data for 0x2B function. This function is tricky and its not easy to know actual length of response without reading the entire response.

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.

2 participants