Access Control API > BS2_SetAccessGroup


BS2_SetAccessGroup

Configures an access group.

Declaration

#include "BS_API.h"
 
int BS2_SetAccessGroup(void* context, uint32_t deviceId, BS2AccessGroup* accessGroups, uint32_t accessGroupCount);

Parameter

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.

See Also

BS2_GetAccessGroup
BS2_GetAllAccessGroup
BS2_RemoveAccessGroup
BS2_RemoveAllAccessGroup