Configuration API > BS2_SetFacilityCodeConfig
[+ 2.9.9] Sets the BS2FacilityCode used as an authentication code when the OSDP connection between the Door Interface (DI-24) and the master device is lost.
#include "BS_API.h" int BS2_SetFacilityCodeConfig(void* context, BS2_DEVICE_ID deviceId, BS2FacilityCodeConfig* config);
context : ContextdeviceId : Device Identifierconfig : Pointer to store credentials BS2FacilityCodeConfig
If successfully done, BS_SDK_SUCCESS will be returned. If there is an error, the corresponding error code will be returned.