bt_mesh_friend_cred_create() function
Create Friendship credentials.
Arguments
cred
Credential object to create.
lpn_addr
Address of the LPN node in the friendship.
frnd_addr
Address of the Friend node in the friendship.
lpn_counter
The LPN's counter parameter.
frnd_counter
The Friend node's counter parameter.
key
Network key to create the Friendship credentials for.
Return value
0 on success, or (negative) error code on failure.
bt_mesh_friend_cred_create() is called by 1 function and calls 2 functions:
![]()
bt_mesh_friend_cred_create()
bt_mesh_friend_cred_create():
![]()
bt_mesh_friend_cred_create()