zephyr/subsys/bluetooth/mesh
Pavel Vasilyev f2ea6f2149 Bluetooth: Mesh: Check avail conn before restarting pb-gatt srv adv
When a provisioner connects to the device, gatt_connected callback is
called in pb_gatt_srv.c, then pb-gatt advertising is stopped and adv_sent
callback is triggered in adv_ext.c. adv_sent callback reschedules
advertising and eventually calls bt_mesh_adv_gatt_send. Since the device
is not provisioned yet, it tries to start pb-gatt advertising again. If
number of available connections is reached, this results in "Advertising
failed" error in adv_ext.c.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2022-11-08 10:47:24 +01:00
..
shell Bluetooth: Mesh: Fix args parsing in cmd_net_key_add function 2022-11-05 19:56:50 +01:00
access.c Bluetooth: Mesh: Add specific number of keys & groups 2022-11-08 10:45:15 +01:00
access.h Bluetooth: Mesh: Convert model_ackd_send and model_send to a common API 2022-10-19 16:05:16 +02:00
adv_ext.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
adv_legacy.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
adv.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
adv.h
app_keys.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
app_keys.h
beacon.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
beacon.h
cdb.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
cdb.h
cfg_cli.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
cfg_srv.c Bluetooth: Mesh: Add specific number of keys & groups 2022-11-08 10:45:15 +01:00
cfg.c Bluetooth: Remove BT_HEXDUMP_DBG 2022-10-25 10:48:17 +02:00
cfg.h
CMakeLists.txt Bluetooth: Mesh: Move shell.c to subfolder 2022-09-07 15:02:58 +02:00
crypto.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
crypto.h
foundation.h
friend.c Bluetooth: Mesh: Check pending_buf in bt_mesh_send_cb in friend.c 2022-09-13 16:26:39 +00:00
friend.h
gatt_cli.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
gatt_cli.h
health_cli.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
health_srv.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
heartbeat.c
heartbeat.h
Kconfig Bluetooth: Mesh: Extended advertiser as default 2022-11-01 08:52:56 +00:00
lpn.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
lpn.h
main.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mesh.h doxygen: remove redundant usages of def 2022-08-09 12:29:28 +02:00
msg.c Bluetooth: Mesh: Convert model_ackd_send and model_send to a common API 2022-10-19 16:05:16 +02:00
msg.h Bluetooth: Mesh: Convert model_ackd_send and model_send to a common API 2022-10-19 16:05:16 +02:00
net.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
net.h Bluetooth: Mesh: Remove msg_cache_next in rx ctx 2022-10-13 09:56:50 +02:00
pb_adv.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
pb_gatt_cli.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
pb_gatt_cli.h
pb_gatt_srv.c Bluetooth: Mesh: Check avail conn before restarting pb-gatt srv adv 2022-11-08 10:47:24 +01:00
pb_gatt_srv.h
pb_gatt.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
pb_gatt.h
prov_bearer.h Bluetooth: Mesh: Add prefix bt_mesh_ for global variable 2022-10-03 10:19:57 +02:00
prov_device.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
prov.c Bluetooth: Mesh: Add prefix bt_mesh_ for global variable 2022-10-03 10:19:57 +02:00
prov.h
provisioner.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
provisioner.h
proxy_cli.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
proxy_cli.h
proxy_msg.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
proxy_msg.h
proxy_srv.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
proxy.h
rpl.c Bluetooth: Mesh: Fix iv recovery unable clear replay list 2022-09-13 16:24:46 +00:00
rpl.h
settings.c Bluetooth: Remove BT_HEXDUMP_DBG 2022-10-25 10:48:17 +02:00
settings.h Bluetooth: Mesh: Flush pending settings in bt_mesh_reset/_cdb_clear 2022-07-13 10:19:44 +02:00
subnet.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
subnet.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
test.c
test.h
TODO
transport.c Bluetooth: Move out string related function of common/log.h 2022-11-02 13:28:57 +01:00
transport.h