~~NOTOC~~ [[zone_control_api]] > [[BS2_SetDeviceZoneAGEntranceLimit]] ---- ===== BS2_SetDeviceZoneAGEntranceLimit===== Configures Ethernet access group entrance limit. ==== Supported devices ==== BioStation 2 (1.5.0 only) \\ BioStation A2 (1.4.0 only) \\ BioEntry P2 (1.0.0 only) \\ BioEntry W2 (1.2.0 only) \\ BioStation L2 (1.3.0 only) \\ ==== Declaration ==== #include "BS_API.h" int BS2_SetDeviceZoneAGEntranceLimit(void* context, BS2_DEVICE_ID deviceId, const BS2DeviceZoneAGEntranceLimit* deviceZoneAGEntranceLimits, uint32_t deviceZoneAGEntranceLimitCount); [[zone control api#BS2DeviceZoneAGEntranceLimit|See BS2DeviceZoneAGEntranceLimit Structure]] ==== Parameter ==== * [In] ''//context//'' : Context * [In] ''//deviceId//'' : Device ID * [In] ''//deviceZoneAGEntranceLimits//'' : Device zone access group entrance limit list * [In] ''//deviceZoneAGEntranceLimitCount//'' : Number of device zone access group ==== 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_GetDeviceZoneAGEntranceLimit]]\\ [[BS2_GetAllDeviceZoneAGEntranceLimit]]\\ [[BS2_RemoveDeviceZoneAGEntranceLimit]]\\ [[BS2_RemoveAllDeviceZoneAGEntranceLimit]]