#include "rm_format_mov.h" #include "fm_parse_gps.h" #if (RM_MODEL == RM_MODEL_TYPE_XLDR_88) #define GPSR_FLAG ('G' | 'P' << 8 | 'S' << 16 | 'R' << 24) #define SENS_FLAG ('S' | 'E' << 8 | 'N' << 16 | 'S' << 24) #define BYTE_SWAP_32(__num) ( ((__num>>24)&0xff) | ((__num<<8)&0xff0000) | ((__num>>8)&0xff00) | ((__num<<24)&0xff000000)) //#define GPRS_SENTENCE_SIZE 128 bool MOVFormat::parse_buffer(uint8_t* strd,long strdSize) { size_t check_offset = 0; // GPSR 및 데이터 시작 위치가 다름 (이벤트에 따라) for(long i=0;i