• Home
  • About Us
    • Company
    • Mission
    • Plant
  • Hardware
    • Watch GPS tracker
    • Personal GPS tracker
    • Pet GPS tracker
    • Asset Tracker
    • Vehicle GPS tracker
    • OBD II GPS Tracker
  • Software
    • Track Mobile
    • Server Software
    • APP download
  • OEM
    • Hardware solution
    • Software solution
  • Tracking
    • Contact

      OEM

      • Hardware solution
        • - Protocol/Program Customize
        • - PCB Structure Customize
        • - Casing/Mold Customize
        • - Packaging/logo Customize
      • Software solution
        • - Interface solution
        • - Report reports solution
        • - Access to 3rd-party agreement
        • - Remote Server Installation
      Return PolicyLocation:Home > OEM > Hardware solution > Protocol/Program Customize
      • Protocol/Program Modification
      • Costs and delivery
      • if have existing data server ,we can do customized device program according with requested protocol.link device with existing server ,no need any change ,protocol is better to be simple text format ,and it can also be hex,binary etc .time will depend on the function
        //"11330.0000"--113500000
        s32 nema2google( char *prt,u8 value )
        {
        char strBuf[5];
        s32 temps32;
        fp64 tempf64;
        strncpy(strBuf, prt, 2);
        strBuf[0] = *prt++;
        strBuf[1] = *prt++;
        if (value==3){
        strBuf[2] = *prt++;
        strBuf[3] = 0;
        }else strBuf[2] = 0;        //重要
        temps32 = atoi(strBuf) * 1000000;
        tempf64 = atof(prt) / 60;
        temps32 += (sint32)(tempf64 * 1000000);
        return  temps32;
        }
        1.Protocol:
        Standard 1:
        $GPRMC,ID,092313.299,A,2238.8947,N,11355.2253,E,0.00,311.19,010307,0,,SSSS,MMMMM, AA, mcc,mnc,cid,lac,0-100
        <$GPRMC> =Data head
        = Device ID
        = 09:23 13.299
        = Data is valid
        = 2238.8947,North
        = 11355.2253,East
        = 0.00 KM
        = 311.19
        = 01032007
        = SSSS
        = MMMMM ( if set)
        : Battery status
        =  mcc,mnc,cid,lac
        0-100: Fuel level data by percent %
        Standard2:
        %AT+GETPOS=0%GP,3000012345:0,090723182813,E114.602345,N22.069725,,30,160,4,0,00,,2794-10FF-46000,3>0-0
        = 3000012345
        =0
        = 090723182813
        = East longitude 114.602345
        = North latitude 22.069725
        =
        = 30km/h
        = 160 degree
        = Receives four satellite signal
        = 0
        = 00
        =
        < Cell_ID > = 2794-10FF-46000
        = 3>0-0
        2. Hex protocol example , Hex start with 0x, four forms,from first to fourth :0x1,0X2,位于0x4,0x8. 每个字符都是由这四个状态的有16个值.
        Hex一般用来表示车机的状态,如:
        车载终端4个字段
        第1个字段
        数值 含义 取值
        第1位 0x1 运动状态 sport 1=运动; 0=停止
        第2位 0x2 充电状态 charging 1=充电; 0=没有充电
        第3位 0x4 是否外接充电器  1=外接充电器;0=没有
        第4位 0x8 是否启动了地理看护 1=启动; 0=没有
        第5位 0x10
        第6位 0x20
        第7位 0x40
        第8位 0x80
        第2个字段
        数值 含义 取值
        第1位 0x1 油路控制状态 fuel control  1=cut; 0=normal
        第2位 0x2
        第3位 0x4
        第4位 0x8 超速状态(经过延时累计)overspeed 1=yes,0= no
        第5位 0x10 外接电源拆除状态 external power remove 1=yes,0=no
        第6位 0x20 外接电源电压低状态 external low voltage 1=yes,0=no
        第7位 0x40
        第8位 0x80
        第3个字段
        数值 含义 取值
        第1位 0x1
        第2位 0x2
        第3位 0x4
        第4位 0x8
        第5位 0x10
        第6位 0x20
        第7位 0x40
        第8位 0x80 车门状态 1=门开,0=门关
        第4个字段
        数值 含义 取值
        第1位 0x1
        第2位 0x2
        第3位 0x4
        第4位 0x8 ACC状态。 1=ACC ON,0=ACC OFF
        第5位 0x10
        第6位 0x20
        第7位 0x40
        第8位 0x80
        第5个字段
        数值 含义 取值
        第1位 0x1 紧急报警(SOS) 1=yes,0=no
        第2位 0x2 非法启动 illegal on 1=yes,0=no
        第3位 0x4 被盗报警 stolen alarm 1=yes,0=no
        第4位 0x8 非法移动 illegal move 1=yes,0=no
        第5位 0x10 保留 save
        第6位 0x20 掉电报警  1=是,0=否
        第7位 0x40 越界报警(出界)out of fence 1=是,0=否
        第8位 0x80 超速报警 overspeed 1=是,0=否
        第6个字段
        数值 含义 取值
        第1位 0x1 看车报警 1=是,0=否
        第2位 0x2 碰撞报警 1=是,0=否
        第3位 0x4 保留
        第4位 0x8 路线偏离(偏航)报警 1=是,0=否
        第5位 0x10 入界报警 1=是,0=否
        第6位 0x20 限制时段报警 1=是,0=否
        第7位 0x40 劫持报警 1=是,0=否
        第8位 0x80 超时(疲劳)驾驶报警 1=是,0=否
        第7个字段
        数值 含义 取值
        第1位 0x1 GPS短路报警 1=是,0=否
        第2位 0x2 GPS开路报警 1=是,0=否
        第3位 0x4 低电报警 1=是,0=否
        第4位 0x8 保留
        第5位 0x10 保留
        第6位 0x20 保留
        第7位 0x40 保留
        第8位 0x80 保留
        3. 程序升级 program upgrade
        1) 单片机升级步骤: 使用串口USB 或者RS232对主机程序进行升级, 例如用超级终端升级比较简易快捷:
        升级步骤,例如升级MC500/ET800/WT20 等:
        a) 把USB 插入电脑
        b) 打开超级终端,并打开相应的端口
        c) 关闭主机任
      • Costs and delivery 更新中....
      Copyright @ 2014 BLUE IDEA LIMITED. All rights reserved.  深圳网站建设

      Tel:86-755-27214172  Email: rosemary@blueideagps.com      

            Linkto: Other Blue Idea Business