문서의 이전 판입니다!
Zone Control API > BS2_SetInterlockZoneAlarm
BS2_SetInterlockZoneAlarm
인터락 구역의 경보 상태를 갱신합니다.
함수
#include "BS_API.h" int BS2_SetInterlockZoneAlarm(void* context, uint32_t deviceId, uint8_t alarmed, uint32_t* zoneIds, uint32_t zoneIdCount);
파라미터
- [In]
context
: Context - [In]
deviceId
: 장치 식별자 - [In]
alarmed
: 경보 발생 유무 - [In]
zoneIds
: 설정하고자 하는 zone id 리스트 - [In]
zoneIdCount
: 설정하고자 하는 zone id 리스트의 개수
반환값
성공적으로 수행될 경우 BS_SDK_SUCCESS
를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.