This is an old revision of the document!


Zone Control API > BS2_GetAllAccessGroupEntranceLimit


Retrieves all access group entrance limit.

Supported devices

BioStation 2 (1.5.0 only)
BioStatioin A2 (1.4.0 only)
BioEntry P2 (1.0.0 only)

Declaration

#include "BS_API.h"
 
int BS2_GetAllAccessGroupEntranceLimit(void* context, BS2_DEVICE_ID deviceId, BS2DeviceZoneAGEntranceLimit** agEntranceLimitObj, uint32_t* numAGEntranceLimit);

Parameter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [Out] agEntranceLimitObj : Device zone access group entrance limit pointer
  • [Out] numAGEntranceLimit : Number of device zone access group entrance limit list

NOTE
The zoneObj variable needs to return the memory to the system by the BS2_ReleaseObject function after being used.

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