Parsing raw data received from bluetooth HDP device

前端 未结 6 1564
长情又很酷
长情又很酷 2021-02-01 00:02

I am trying to read data from an Omron 708-BT Blood Pressure Monitor which is certified by the continua health alliance. I am following this example of a Bluetooth HDP App. I am

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-01 00:29

    The data buffer contains 2byte values and 4byte values. Probably shorts and ints as you can see in the pdf. Do you account for that?

    0xE7 0x00           APDU CHOICE Type (PrstApdu)  
    0x00 0x84           CHOICE.length= 132  
    0x00 0x82           OCTET STRING.length = 130  
    0x00 0x01           invoke-id (differentiates this message from any other outstanding)  
    0x01 0x01           CHOICE (Remote Operation Invoke | Confirmed Event Report)  
    0x00 0x7C           CHOICE.length = 124  
    0x00 0x00           obj-handle = 0 (MDS object)  
    0x00 0x00 0x10 0x15 event-time (set to 0xFFFFFFFF if RelativeTime is not supported)  
    0x0D 0x1C           event-type = MDC_NOTI_CONFIG   
    

提交回复
热议问题