mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 00:34:39 +08:00
tools/mesh-cfgclient: Add group parent address for DB compliance
This commit is contained in:
parent
55f91fd373
commit
4e16431a51
@ -1590,6 +1590,10 @@ bool mesh_db_add_group(struct mesh_group *grp)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* Initialize parent group to unassigned address for now*/
|
||||
if (!write_uint16_hex(jgroup, "parentAddress", UNASSIGNED_ADDRESS))
|
||||
goto fail;
|
||||
|
||||
json_object_array_add(jgroups, jgroup);
|
||||
|
||||
return save_config();
|
||||
|
Loading…
Reference in New Issue
Block a user