Q: we send the command for reading the environments parameter. But the response code is unknowed.
200100 – 0x20 start frequency 0100 - ID1 - 01 , ID2 -00 send command
But the response is 00C0D544, we don’t know what is the frequency in MHz ?
Val 1 – 00
Val 2- C0
Val 3 – D5
Val 4 - 44
Please let us know what is the rule from 00C0D544 to MHz ??
As we send the command code 0100 ( START FREQUENCY ) ,the return code from buffer is 00C0D544.
let me know what is the start frequency? how to caculate it ?
WHat it mean from 00C0D544 to MHz?
ANd please let me know how to know the rule from MHz to 4 Bytes code ?
For example , if we want to program in startfrequency 100MHz , what is the parameter for Val 1 -Val 4 ?
Do you have any documents or example code to give us the idea for the transfer from MHz to 4 bytes code?
As stated in the documentation variable values are passed as 32 bit IEEE 754 floating point values using little endian byte order.
For your example you first have to reverse the byte order to 0x44d5c000, then interpret it as 32 bit float value (standard cast in C), resulting in a value of 1710.0 (the unit of the value is depending on the device).