mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-09 15:57:22 +00:00
mesh: Fix setting the right value for Static OOB type
According to Mesh Profile spec 1.0, chapter 5.4.1.1 table 5.20 Bit 0 shall be set when static OOB is available X-Original-Commit: aed386724116c187564fd8b9ddb4cfaf2264000d
This commit is contained in:
@@ -480,7 +480,7 @@ static void prov_invite(const u8_t *data)
|
||||
net_buf_simple_add_u8(buf, 0x00);
|
||||
|
||||
/* Static OOB Type */
|
||||
net_buf_simple_add_u8(buf, prov->static_val ? BIT(1) : 0x00);
|
||||
net_buf_simple_add_u8(buf, prov->static_val ? BIT(0) : 0x00);
|
||||
|
||||
/* Output OOB Size */
|
||||
net_buf_simple_add_u8(buf, prov->output_size);
|
||||
|
||||
Reference in New Issue
Block a user