Bluetooth 4.0 scan response

后端 未结 4 1695
-上瘾入骨i
-上瘾入骨i 2020-12-30 02:38

What exactly is a BLE scan response packet?

Since there is almost nothing to be found online, we would like to now this.

Does a scan response packet, respond

相关标签:
4条回答
  • 2020-12-30 03:08

    A BLE scan response is the packet that is sent by the advertising device (peripheral) upon the reception of scanning requests (i.e. yes, it is a response to a device scan). The scan response usually has more data than the advertising packets. In other words, central devices send scan requests to the advertising device in order to get additional user data through the scan response. Please also note that scan responses are considered to have fixed 'static' data relative to the more dynamic advertising data.

    Advertising packets and scan response share the same format, and are transmitted over the same three physical channels (they are both sent as advertising events), but are otherwise two different things.

    For more information, I recommend reading about scan response packets in the SIG's core specification found here.

    I hope this helps

    0 讨论(0)
  • 2020-12-30 03:09

    I was just looking for this information and it is difficult to find good technical resources beyond the basic description.

    There is a great few pages on one of the manufacturer's sites that goes into the details of how their hardware interacts with these communications.

    The scan response packet consists of: Device name, Transmission power, Beacon ID, Firmware version, Battery level

    https://support.kontakt.io/hc/en-gb/articles/201492492-iBeacon-advertising-packet-structure https://support.kontakt.io/hc/en-gb/articles/201493072-Beacon-services https://support.kontakt.io/hc/en-gb/articles/201492492-iBeacon-advertising-packet-structure

    I am not promoting Kontakt.io, but they did a pretty good job of providing this answer in good detail.

    0 讨论(0)
  • 2020-12-30 03:18

    An important addition to yousif saeed's answer:

    According to the Bluetooth 4.x specification, Peripheral devices accepting Scan Requests,

    • Must advertise this by using a specific Advertising Type value in the protocol header.
    • Must use advertising intervals of equal or bigger than, at least, 100 ms, so that the Central/Peripheral devices can exchange the Scan Request/Response packets in the time between two consecutive advertising packets (advertising interval).

    Keep in mind, also, that depending on your particular hardware platform and Bluetooth Low Energy software stack,

    • You may find that a peripheral device accepting Scan Requests is non connectable, that is, may be limited to behave as a pure beacon (connection-less).
    0 讨论(0)
  • 2020-12-30 03:22

    Yes it does depend on device scan. I recently had this experience. I was working with Nordic device and started sending advertising packets which included scan rsp data. But either I was getting no scan rsp packet or hardly any packet. The issue was I was not scanning from my other nordic device. Once I started scanning from another device, scan rsp packets started coming quickly.

    0 讨论(0)
提交回复
热议问题