9 Replies Latest reply on May 8, 2015 5:35 PM by jota_1939431

    RSSI from Wiced Sense

      I am trying to get rssi value from wiced sense.

       

      I am using raspberry pi with a ble dongle. I use bluez and gattool to connect and read data from the sense.
      I have a python script reading the sensor data. However I would like to get rssi also. I tried to do hcidump, but rssi doesnt show up on the dump  I checked the advertisement packet format and it says the flag for rssi is 0xA ( is rssi same as tx power level here? I am not familiar with physical layer terms).

       

      I used gattool to connect to the sense and dumped the raw data. Can you please tell me which packet has data I can get rssi from?

       

      HCI sniffer - Bluetooth packet analyzer ver 5.30

      device: hci0 snap_len: 1500 filter: 0xffffffff

      < 01 0D 20 19 60 00 30 00 00 00 A2 19 17 6A 73 20 00 28 00 38

        00 00 00 2A 00 00 00 00 00

      > 04 0F 04 00 01 0D 20

      > 04 3E 13 01 00 48 00 00 00 A2 19 17 6A 73 20 38 00 00 00 2A

        00 00

      > 02 48 20 10 00 0C 00 05 00 12 01 08 00 40 00 60 00 00 00 F4

        01

      < 02 48 00 0A 00 06 00 05 00 13 01 02 00 00 00

      < 01 13 20 0E 48 00 40 00 60 00 00 00 F4 01 00 00 00 00

      > 02 48 20 06 00 02 00 06 00 0B 01

      < 02 48 00 06 00 02 00 06 00 05 05

      > 04 0F 04 00 01 13 20

      > 04 13 05 01 48 00 01 00

      > 04 13 05 01 48 00 01 00

      > 04 3E 0A 03 00 48 00 60 00 00 00 F4 01