Android Question How to Split a 32 bits ieee floating point number into bytes and reassemble it?

Jaime Ramirez

Member
Licensed User
Longtime User
Hi:

I am writing a program that requires to implement the modbus rtu communications protocol over the usb port, how can I split a 32 bits ieee floating point number into 4 bytes and how to assemble it back from 4 bytes?, any reference on crc16 calculation?

Best regards

Jaime Ramirez
 
Top