-
Notifications
You must be signed in to change notification settings - Fork 35
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
Can't read multi-word values #6
Comments
Also types: int16, uint16, int32, uint32, int64, uint64, String(16), String(32), etc. |
For starters I think the best way to handle this would be to add int32, uint32, int64 and uint64 to the allowed types list, and have the |
I have written some code that adds int32, uint32, int64 and uint64 types. Tested with SG8K-D and looks to be working well. Didn't break anything and signed 32bit values like Energy Meter Power work now; Code is minimal. I haven't used github much but when I work out making a branch I'll add the code for review... |
here are the code changes I made to add multi byte support. i had to comment out one line for the masking, but it should be easliy fixed |
ok, i have fixed up the masking I commented out in the code i provided above. this zip file read's multi-byte addresses and lets masks work still. |
Thanks very much! This is awesome! I'll set aside some time this weekend to get this merged in. I'm happy to do it on my end, but would you like a hand walking through the github pull request process? This way your profile will show you as a contributor to this repo, and it'll be your commit to the main branch containing the changes rather than mine. Up to you! |
cool, no problem if you want to merge any of that code yourself. this is a cool little project though and i'd love to be able to commit code. i'll read up on how to do that (if you have a github-101 cheat sheet let me know) |
Here's a decent guide to the overall idea behind the pull-request-based workflow: https://www.atlassian.com/git/tutorials/making-a-pull-request The short version: You "fork" a repository to create a "downstream" copy of it under your own github account. You clone that fork to your local machine, make your changes and then push them back up to your github fork. You can then raise a request to pull the changes from your fork back into the "upstream" fork. The maintainer (me, in this case) and the contributor (you) have a discussion about the change in the pull request web interface until both parties are happy with the changes. At this point the maintainer merges the pull request into the upstream fork. |
nice, seems straight forward. I have cloned and forked the repository. i'll have a go at submitting a pull request today. |
Closed by #29 |
It would be nice to support 32/64 bit numbers and fixed-length strings.
The text was updated successfully, but these errors were encountered: