Closed derekatkins closed 6 years ago
I just merged this. Works great, Thank you.
It would probably be a good idea to add an option/parameter to the API to request the list of all serial numbers connected to the system (like the -i
command line switch)
It would probably be a good idea to add an option/parameter to the API to request the list of all serial numbers connected to the system (like the
-i
command line switch)
Yeah, I was thinking that as well, but it was more work at the time. I'll look into it for a future PR (but it's not really a feature I need myself)
I tested that I could both read and write to different (sainsmart16) cards. It still defaults to the "first" card if you don't supply the 'serial' parameter. Note that I only tested with GET, not POST. Oh, I also fixed a potential security issue (buffer overflow) in reading the parameters.