#include <stdio.h>
int main(void) {
float freq_rang_L=1;
float freq_rang_H=2;
char a[13]={0x00, 0x00, 0x94, 0x01, 0x00, 0x00, 0x75, 0x30, 0x00, 0x04, 0x93, 0xe0, 0x00};
freq_rang_L = (float)(ntohl(*((unsigned int*)&a[4]))) / 1000;
freq_rang_H = (float)(ntohl(*((unsigned int*)&a[8]))) / 1000;
printf("%f %f\n", freq_rang_L
, freq_rang_H
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglmbG9hdCBmcmVxX3JhbmdfTD0xOwoJZmxvYXQgZnJlcV9yYW5nX0g9MjsKCWNoYXIgYVsxM109ezB4MDAsIDB4MDAsIDB4OTQsIDB4MDEsIDB4MDAsIDB4MDAsIDB4NzUsIDB4MzAsIDB4MDAsIDB4MDQsIDB4OTMsIDB4ZTAsIDB4MDB9OwoKCglmcmVxX3JhbmdfTCA9IChmbG9hdCkobnRvaGwoKigodW5zaWduZWQgaW50KikmYVs0XSkpKSAvIDEwMDA7CglmcmVxX3JhbmdfSCA9IChmbG9hdCkobnRvaGwoKigodW5zaWduZWQgaW50KikmYVs4XSkpKSAvIDEwMDA7CgkKCXByaW50ZigiJWYgJWZcbiIsIGZyZXFfcmFuZ19MLCBmcmVxX3JhbmdfSCk7CgkKCXJldHVybiAwOwp9Cg==