zephyr/subsys/bluetooth
Lingao Meng 3b4d58aa4b Bluetooth: Mesh: optimize performance for lpn node
Fixed overflow risk when `poll_timeout` is 1s,
although it is not recommended to use it like this,
when it is used like this, `POLL_TIMEOUT_MAX`
will overflow.

When the poll timeout set like above, the default `6`
req_attemps for first pull request lost,
may cause this procedure bigger than poll_timeout,

Well, stop scanning when lpn terminated friendship,
this will save lots of energy, when lpn mode enable,
the scanning will be start after `FRIEND_REQ_RETRY_TIMEOUT`

Signed-off-by: Lingao Meng <mengabc1086@gmail.com>
2020-04-06 11:33:51 +03:00
..
common bluetooth: fix signed and unsigend comparison warnings 2020-04-03 18:06:59 -04:00
controller Bluetooth: controller: split: handle latency for cancelled conn events 2020-04-03 22:10:40 +02:00
host Bluetooth: SMP: Fix bond lost on pairing failure. 2020-04-05 14:32:56 +03:00
mesh Bluetooth: Mesh: optimize performance for lpn node 2020-04-06 11:33:51 +03:00
services Bluetooth: Use zd print conversion modifier for ssize_t 2020-04-03 21:13:14 +03:00
shell bluetooth: fix signed and unsigend comparison warnings 2020-04-03 18:06:59 -04:00
CMakeLists.txt cmake: don't link interface libraries with zephyr_interface 2019-09-26 05:50:46 -07:00
Kconfig net: buf: Move LEGACY_TIMEOUT_API selection to specific subsystems 2020-04-03 23:17:53 +03:00