IotHub
    IotHub
    • README
    • Update Record
    • token
      • createToken
        POST
      • destroyToken
        POST
    • customer
      • customerPage
        POST
      • customerTree
        POST
    • device
      • command
        • commandSend
        • commandInfoList
        • cutOilElectric
        • getConfig
      • devicePage
        POST
      • deviceTypes
        POST
      • deviceTypeInfo
        POST
      • deviceDataByDeviceIds
        POST
      • deviceDataByCustomerId
        POST
      • deviceTripInfoByTripId
        POST
      • deviceTripsByDeviceId
        POST
      • expandInfoByDeviceId
        POST
      • saveDeviceChannelName
        POST
    • fence
      • fencePage
        POST
      • fenceInfo
        POST
      • addFence
        POST
      • saveFence
        POST
      • delFence
        POST
      • fenceDevices
        POST
      • fenceDeviceUpdate
        POST
      • fenceDeviceDel
        POST
      • fenceDeviceAdd
        POST
    • push
      • README
    • video
      • H5 page
      • H5 Page-V2
      • liveVideo
      • playBackList
      • historicalUpload
      • playBack
      • replaySet
      • taskPage
      • taskDelete
      • getNodes
    • alarm
      • alarmTypeList
      • alarmFilePage
      • alarmFileByAlarmId
      • alarmHistoryPage
      • alarmPageByUser
    • audio
      • README
      • talk
      • talkPlus
    • gallery
      • filePageV2
      • filePage
      • deleteFile
      • capture
      • capturePage
    • fleet
      • faceRecordPage
    • gps
      • historyData
    • Protocol Analysis
      POST

      Protocol Analysis

      Singapore
      https://mettahub.mettaxiot.com/gps
      Singapore
      https://mettahub.mettaxiot.com/gps
      POST
      http://120.79.49.45:9992/protocol/hex

      Request

      Header Params
      Authorization
      string 
      required
      Body Params application/json
      hexString
      string 
      required
      protocolName
      string 
      required
      Example
      {
          "hexString": "7e92080051141059529576356e0c342e3139342e35362e31303913a4000000000000000000240219122625000500313730383333313139323034303234343235353539313534303735333734373700000000000000000000000000000000fe7",
          "protocolName": "JT1078"
      }

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://120.79.49.45:9992/protocol/hex' \
      --header 'Authorization;' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "hexString": "7e92080051141059529576356e0c342e3139342e35362e31303913a4000000000000000000240219122625000500313730383333313139323034303234343235353539313534303735333734373700000000000000000000000000000000fe7",
          "protocolName": "JT1078"
      }'

      Responses

      🟢200Success
      application/json
      Body
      array of:
      [07]Start Identification
      integer 
      optional
      [E920]Message ID
      integer 
      optional
      [Message body properties]
      object 
      optional
      [00000000000000001000000000000101]Message body properties Value
      integer 
      required
      [bit13]Whether to split the package
      boolean 
      required
      [bit10~bit12]Data encryption method
      integer 
      required
      [bit0~bit9]Message body length
      integer 
      required
      [114105952957]Terminal phone number
      string 
      optional
      [6356]Message serial number
      integer 
      optional
      [E0]Check code
      integer 
      optional
      [C3]Stop Identification
      integer 
      optional
      Example
      [{"[07]Start Identification":7,"[E920]Message ID":59680,"[Message body properties]":{"[00000000000000001000000000000101]Message body properties Value":32773,"[bit13]Whether to split the package":false,"[bit10~bit12]Data encryption method":0,"[bit0~bit9]Message body length":5},"[114105952957]Terminal phone number":"114105952957","[6356]Message serial number":25430,"[E0]Check code":224,"[C3]Stop Identification":195}]
      Modified at 2024-04-01 02:47:42
      Previous
      historyData
      Built with