- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have question for BLE scan. if send a SCAN request to BLE, how long it will get a SCAN response.
almost I found take 1 second to get a response, is it normal?
Thanks,
Lei
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How are you measuring the 1-second delay time ? I suppose you measured the time taken between starting the scan and receiving the scan response, is this right ? In the link layer, the scan response is received after T_IFS but I suppose it will take some time for the event to reach the application level.
The best way to find out the exact time difference between the scan request and scan response is to sniff the packets over the air.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In theory, the scan response to a scan request would almost be instantaneous. The T_IFS (time_inter-frame-spae) is in the order of micro-seconds. However, the actual user-feel response could be much longer than that due to things like RF environment. A total turn around of 1s is not too bad if you ask me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply.
our application scan 70ms as master, but most of time we saw the resposne time will take 1s, is the resposne time related with the scan time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see how. The scan window of 70ms is many times that of T_IFS. In fact, many scan requests/response events can happen during this window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How are you measuring the 1-second delay time ? I suppose you measured the time taken between starting the scan and receiving the scan response, is this right ? In the link layer, the scan response is received after T_IFS but I suppose it will take some time for the event to reach the application level.
The best way to find out the exact time difference between the scan request and scan response is to sniff the packets over the air.