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:
parent
5a87252c53
commit
41addf67a9
5 changed files with 20 additions and 10 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue