Bluetooth: Mesh: Add ext timeout in PB for OOB I/O

Adds separate extended protocol timeout of 120 sec in provisioning
implementation when OOB method Input or Output is used. This
complies with recommendation in the mesh 1.1 protocol spec (5.4.4).

Signed-off-by: Anders Storrø <anders.storro@nordicsemi.no>
This commit is contained in:
Anders Storrø 2023-08-17 13:07:44 +02:00 committed by Carles Cufí
commit 41addf67a9
5 changed files with 20 additions and 10 deletions

View file

@ -5,10 +5,12 @@
*/
/** Provisioning protocol timeout in seconds. */
#define PROTOCOL_TIMEOUT_SEC 60
#define PROTOCOL_TIMEOUT_SEC 60
#define PROTOCOL_TIMEOUT_EXT_SEC 120
/** Provisioning protocol timeout. */
#define PROTOCOL_TIMEOUT K_SECONDS(PROTOCOL_TIMEOUT_SEC)
#define PROTOCOL_TIMEOUT_EXT K_SECONDS(PROTOCOL_TIMEOUT_EXT_SEC)
/** @def PROV_BEARER_BUF_HEADROOM
*