Linux bluetooth development
 help / color / mirror / Atom feed
* [RFC] need for new scan api for bluetooth low energy.
@ 2014-09-17  3:30 Jakub Pawlowski
  2014-09-17  4:39 ` Marcel Holtmann
  0 siblings, 1 reply; 30+ messages in thread
From: Jakub Pawlowski @ 2014-09-17  3:30 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Scott James Remnant, Arman Uguray

The way MGMT_OP_START_DISCOVERY work right now is:
- it return information about each device only once by sending
MGMT_EV_DEVICE_FOUND
- it allows only for active scanning
- After DISCOV_LE_TIMEOUT or DISCOV_INTERLEAVED_TIMEOUT the discovery
is automatically stopped
- If you restart discovery, you will again get MGMT_EV_DEVICE_FOUND
for each found device.

This is not good for Bluetooth Low Energy because:
- there is a wide range of connectionless devices that sends data in
advertisement, and there is no way to get each advertisement using
Management api right now, - for LE devices that you aren't connected
to you get RSSI value only once every DISCOV_LE_TIMEOUT, that is once
every 10 seconds, which is too infrequently to be useful for many use
cases, - for many LE applications passive scanning is enough, and it
uses less energy

I want to propose changing existing or creating new API that will
allow to start passive or active low energy scanning, and receive
event for each advertisement packet including its content and RSSI
value.

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2014-10-20 18:22 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-17  3:30 [RFC] need for new scan api for bluetooth low energy Jakub Pawlowski
2014-09-17  4:39 ` Marcel Holtmann
2014-09-17  4:52   ` Arman Uguray
2014-09-17  5:14     ` Johan Hedberg
2014-09-17  6:20       ` Jakub Pawlowski
2014-09-17  6:52         ` Johan Hedberg
2014-09-17  7:19           ` Jakub Pawlowski
2014-09-17  7:31             ` Johan Hedberg
2014-09-17  7:44               ` Johan Hedberg
2014-09-17 14:03             ` Marcel Holtmann
2014-09-18  5:58               ` Jakub Pawlowski
2014-09-18 15:37                 ` Marcel Holtmann
2014-09-19 16:39                   ` Jakub Pawlowski
2014-09-19 16:44                     ` Jakub Pawlowski
2014-09-20  1:43                       ` Marcel Holtmann
     [not found]                     ` <F673E928-258E-47F7-B71A-F32410974538@holtmann.org>
2014-09-20  4:29                       ` Jakub Pawlowski
2014-09-30 16:44                         ` Jakub Pawlowski
2014-09-30 17:01                           ` Marcel Holtmann
2014-09-30 17:15                             ` Arman Uguray
2014-09-30 17:24                               ` Marcel Holtmann
2014-09-30 17:25                             ` Jakub Pawlowski
2014-09-30 17:31                               ` Marcel Holtmann
2014-09-30 18:29                                 ` Jakub Pawlowski
2014-09-30 18:54                                   ` Marcel Holtmann
2014-09-30 21:11                                     ` Jakub Pawlowski
2014-10-01  5:27                                       ` Marcel Holtmann
2014-10-10 10:52                                         ` Marcel Holtmann
2014-10-10 15:49                                           ` Jakub Pawlowski
2014-10-20 16:55                                             ` Jakub Pawlowski
2014-10-20 18:22                                               ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox