Hello again, thank you for taking your time to review my pull requests. I have noticed that the library is lacking in float type implementation so these are my proposed changes. Problems arose when initiating READ requests from the server side and expecting a float type return. What happens is that a double type variable is returned which is of different size than float, so it gets decoded differently, yielding wrong results. These changes seem to have fixed the issue, although I haven't tested out a WRITE request.
Hello again, thank you for taking your time to review my pull requests. I have noticed that the library is lacking in float type implementation so these are my proposed changes. Problems arose when initiating READ requests from the server side and expecting a float type return. What happens is that a double type variable is returned which is of different size than float, so it gets decoded differently, yielding wrong results. These changes seem to have fixed the issue, although I haven't tested out a WRITE request.