Bluetooth: Mesh: Private Beacons
Adds support for private beacon sending and receiving. Co-authored-by: Krzysztof Kopyściński <krzysztof.kopyscinski@codecoup.pl> Co-authored-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no> Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no> Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
e2086c22bc
commit
f9b19010ed
26 changed files with 1711 additions and 125 deletions
|
@ -546,6 +546,13 @@ static int gatt_proxy_set(struct bt_mesh_model *model,
|
|||
|
||||
(void)bt_mesh_gatt_proxy_set(buf->data[0]);
|
||||
|
||||
/** 4.2.46.1: If the value of the Node Identity state of the node for any subnet is 0x01,
|
||||
* then the value of the Private Node Identity state shall be Disable (0x00).
|
||||
*/
|
||||
if (IS_ENABLED(CONFIG_BT_MESH_PRIV_BEACONS) && buf->data[0]) {
|
||||
(void)bt_mesh_priv_gatt_proxy_set(BT_MESH_FEATURE_DISABLED);
|
||||
}
|
||||
|
||||
return send_gatt_proxy_status(model, ctx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue