본문으로 건너뛰기

BS2_GetAllFireAlarmZone

모든 화제 경보 구역을 가져옵니다.

함수​

#include "BS_API.h"

int BS2_GetAllFireAlarmZone(void* context, uint32_t deviceId, BS2FireAlarmZone** zoneObj, uint32_t* numZone);

파라미터​

  • [In] context : Context

  • [In] deviceId : 장치 식별자

  • [Out] zoneObj : fire alarm zone 리스트를 저장할 포인터

  • [Out] numZone : fire alarm zone 리스트의 개수

알아두기

zoneObj 변수는 사용한 뒤 BS2_ReleaseObject 함수를 이용해 시스템에 메모리를 반환해야 합니다.

반환 값​

성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.

함께 보기​

BS2_GetFireAlarmZone

BS2_GetFireAlarmZoneStatus

BS2_GetAllFireAlarmZoneStatus

BS2_SetFireAlarmZone

BS2_SetFireAlarmZoneAlarm

BS2_RemoveFireAlarmZone

BS2_RemoveAllFireAlarmZone

이 페이지가 도움이 되었나요?