Old revisions Add to book Export to PDF Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help Configuration API > BS2_GetFacilityCodeConfig BS2_GetFacilityCodeConfig [+ 2.9.9] Get the BS2FacilityCode used as an authentication code when the OSDP connection between the Door Interface (DI-24) and the master device is lost. Declaration #include "BS_API.h" int BS2_GetFacilityCodeConfig(void* context, BS2_DEVICE_ID deviceId, BS2FacilityCodeConfig* config); See BS2FacilityCodeConfig Structure Parameter [In] context : Context [In] deviceId : Device Identifier [Out] config : Pointer to store credentials BS2FacilityCodeConfig 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_SetFacilityCodeConfig