A card reader in the security control system is used to read the code embedded in a card. The security control panel will determine whether to allow the user to access the area, arm or disarm the system according to the data uploaded by swiping the card.
Function |
Description |
---|---|
Get Card Reader Configuration Capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/cardReader/capabilities?format=json. And the configuration capability is returned in the message JSON_CardReaderCap by the output parameter (lpOutputParam). |
Set Parameters of A Card Reader |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/Configuration/cardReader/<ID>?format=json and set the input buffer (lpInBuffer) of the input parameter (lpInputParam) to the message JSON_CardReader. |
Get Parameters of All Card Readers |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/cardReader?format=json. And the parameters are returned in the message JSON_List_CardReader by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |
Get capability of controlling asynchronous card reader parameters adding mode |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/cardReader/mode/capabilities?format=json, and the capability is returned in the message JSON_Cap_CardReaderMode by lpOutputParam. |
Control asynchronous card reader parameters adding mode |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/Configuration/cardReader/mode?format=json and set lpInputParam to the message JSON_CardReaderMode. |
Get parameters of the currently added card reader in asynchronous mode |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/cardReader/currentAddAsyn?format=json, and the parameters are returned in the message JSON_CardReader by lpOutputParam. |