Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:configuration_api [2025/06/12 09:31] mwkim [BS2Rs485ConfigEXDynamic] |
en:configuration_api [2026/01/28 16:15] (current) mwkim [BS2BarcodeConfig] |
||
|---|---|---|---|
| Line 167: | Line 167: | ||
| bool reserved0; // (write protected) | bool reserved0; // (write protected) | ||
| uint8_t reserved[2]; | uint8_t reserved[2]; | ||
| - | uint32_t useCardOperationMask; | + | uint32_t useCardOperationMask; ///< 4 bytes (bitmask , no use 0 position bit - 0~30 bit, valid data - 31 bit) |
| - | uint8_t reserved2[16]; | + | uint8_t reserved1[6]; ///< 6 bytes |
| + | BS2_BOOL adminTwoStepAuth; ///< 1 byte , BDP-788 | ||
| + | uint8_t reserved2[9]; ///< 8 bytes (reserved) | ||
| } BS2SystemConfig; | } BS2SystemConfig; | ||
| </code> | </code> | ||
| Line 230: | Line 232: | ||
| |0x00000001 |CARD_OPERATION_MASK_EM | | |0x00000001 |CARD_OPERATION_MASK_EM | | ||
| </WRAP> | </WRAP> | ||
| - | **16. //reserved2//** \\ | + | **16. //reserved1//** \\ |
| + | Reserved space. \\ \\ | ||
| + | **17. //adminTwoStepAuth//** \\ | ||
| + | Indicates whether to perform two-step master admin authentication. \\ | ||
| + | In compliance with CE RED (Radio Equipment Directive) regulations, modification of this value is restricted for devices supporting the Master Admin feature (refer to the table below). \\ | ||
| + | For devices that do not support this feature, changes are permitted only after a firmware upgrade. \\ | ||
| + | When set to false, one-step authentication is performed. It is not affected by BS2AuthConfig or BS2AuthConfigEx, which are regular user authentication settings, and authentication proceeds using only the credential information assigned to the master admin. \\ | ||
| + | When set to true, two-step authentication is performed. If only one-step authentication is possible due to insufficient credentials enrolled on the device or other reasons, it may be treated as authentication failure. \\ \\ | ||
| + | **18. //reserved2//** \\ | ||
| Reserved space. \\ \\ | Reserved space. \\ \\ | ||
| Line 725: | Line 735: | ||
| uint8_t smartCardByteOrder; | uint8_t smartCardByteOrder; | ||
| uint8_t reserved[1]; | uint8_t reserved[1]; | ||
| - | BS2_MIFARE_ENCRYPTION mifareEncType; | + | BS2_MIFARE_ENCRYPTION mifareEncType; |
| uint8_t reserved[20]; | uint8_t reserved[20]; | ||
| } BS2CardConfig; | } BS2CardConfig; | ||
| Line 1093: | Line 1103: | ||
| Input mask for the wiegand input of the master device. \\ \\ | Input mask for the wiegand input of the master device. \\ \\ | ||
| **16. //wiegandCSNIndex//** \\ | **16. //wiegandCSNIndex//** \\ | ||
| - | Index that determines in which format the device will send out a wiegand ouput after the card has been read. This field is used only for Mifare and EM devices. Please check the //useWiegandFormat// field of the [[configuration api#BS2CardConfig]] structure before configuring. \\ \\ | + | Index that determines in which format the device will send out a wiegand ouput after the card has been read. This field is used only for Mifare and EM devices. Please check the //useWiegandFormat// field of the [[configuration api#BS2CardConfig]] structure before configuring. Only one index can be set to this field. |
| + | \\ \\ | ||
| **17. //useWiegandUserID//** \\ | **17. //useWiegandUserID//** \\ | ||
| The flag you can select whether card ID or user ID to be sent via Wiegand output. \\ | The flag you can select whether card ID or user ID to be sent via Wiegand output. \\ | ||
| Line 2580: | Line 2591: | ||
| <code cpp> | <code cpp> | ||
| typedef struct { | typedef struct { | ||
| - | uint8_t useBarcode; | + | BS2_BOOL useBarcode; |
| - | uint8_t scanTimeout; | + | BS2_BARCODE_TIMEOUT scanTimeout; |
| - | uint8_t bypassData; | + | BS2_BOOL bypassData; |
| - | uint8_t treatAsCSN; | + | BS2_BOOL treatAsCSN; |
| - | uint8_t useVisualBarcode; | + | BS2_BOOL useVisualBarcode; |
| - | uint8_t motionSensitivity; | + | BS2_MOTION_SENSITIVITY motionSensitivity; |
| - | uint8_t visualCameraScanTimeout; | + | BS2_VISUAL_BARCODE_TIMEOUT visualCameraScanTimeout; |
| - | uint8_t reserved[9]; | + | BS2_BOOL useQRDetectGuideLed; //BDP-1252, Q2 only |
| + | uint8_t reserved[8]; | ||
| } BS2BarcodeConfig; | } BS2BarcodeConfig; | ||
| </code> | </code> | ||
| Line 2643: | Line 2655: | ||
| |20 |BS2_VISUAL_BARCODE_TIMEOUT_MAX |Max Value | | |20 |BS2_VISUAL_BARCODE_TIMEOUT_MAX |Max Value | | ||
| </WRAP> | </WRAP> | ||
| - | 8. //reserved// \\ | + | 8. //useQRDetectGuideLed// \\ |
| + | [+ 2.9.12] Sets whether to display guidelines (outlines) on the ''XPass Q2'' screen to assist with QR code recognition. \\ \\ | ||
| + | 9. //reserved// \\ | ||
| Reserved Space. \\ \\ | Reserved Space. \\ \\ | ||
| Line 3453: | Line 3467: | ||
| 3. //BS2FacilityCode// \\ | 3. //BS2FacilityCode// \\ | ||
| Used as an authentication code when the OSDP connection between the Door Interface (DI-24) and the master device is lost. \\ \\ | Used as an authentication code when the OSDP connection between the Door Interface (DI-24) and the master device is lost. \\ \\ | ||
| - | 4. //reserved0// \\ | + | 4. //reserved1// \\ |
| Reserved space. \\ \\ | Reserved space. \\ \\ | ||
| Line 3459: | Line 3473: | ||
| <code cpp> | <code cpp> | ||
| typedef struct { | typedef struct { | ||
| - | BS2_DEVICE_ID deviceID; ///< | + | uint32_t deviceID; ///< |
| - | BS2_DEVICE_TYPE deviceType; ///< 2 bytes | + | uint16_t deviceType; ///< 2 bytes |
| - | BS2_BOOL enableOSDP; ///< 1 byte | + | uint8_t enableOSDP; ///< 1 byte |
| - | BS2_BOOL connected; ///< 1 bytes (packing) | + | uint8_t connected; ///< 1 bytes (packing) |
| union { | union { | ||
| uint8_t channelInfo; | uint8_t channelInfo; | ||
| - | BS2_DEVICE_ID parentID; | + | uint32_t parentID; |
| }; | }; | ||
| } BS2Rs485SlaveDeviceEX; | } BS2Rs485SlaveDeviceEX; | ||
| Line 3475: | Line 3489: | ||
| uint8_t useRegistance; | uint8_t useRegistance; | ||
| uint8_t numOfDevices; | uint8_t numOfDevices; | ||
| - | BS2_OSDP_CHANNEL_TYPE channelType; | + | uint8_t channelType; |
| BS2Rs485SlaveDeviceEX *slaveDevices; | BS2Rs485SlaveDeviceEX *slaveDevices; | ||
| } BS2Rs485ChannelEXDynamic; | } BS2Rs485ChannelEXDynamic; | ||
| Line 3507: | Line 3521: | ||
| 4. //numOfDevices// \\ | 4. //numOfDevices// \\ | ||
| Number of slave devices. \\ \\ | Number of slave devices. \\ \\ | ||
| - | 5. //slaveDevices// \\ | + | 5. //channelType// \\ |
| + | Type of slave device connected to the port. \\ | ||
| + | <WRAP group 50%> | ||
| + | ^Value ^Description ^ | ||
| + | |0 |No connection | | ||
| + | |1 |Suprema device | | ||
| + | |2 |OSDP standard device | | ||
| + | |3 |Cannot connect anymore | | ||
| + | </WRAP> | ||
| + | 6. //slaveDevices// \\ | ||
| List of slave devices connected to the device. \\ | List of slave devices connected to the device. \\ | ||
| <WRAP group 50%> | <WRAP group 50%> | ||
| Line 3515: | Line 3538: | ||
| |Port 1 |2 | | |Port 1 |2 | | ||
| </WRAP> | </WRAP> | ||
| - | 6. //slaveDevices// \\ | + | 7. //mode// \\ |
| This flag determines the operating mode on the RS485 network. \\ | This flag determines the operating mode on the RS485 network. \\ | ||
| <WRAP group 50%> | <WRAP group 50%> | ||
| Line 3526: | Line 3549: | ||
| CoreStation can only be used as a Master. Other values cannot be configured. | CoreStation can only be used as a Master. Other values cannot be configured. | ||
| </WRAP> | </WRAP> | ||
| - | 7. //numOfChannels// \\ | + | 8. //numOfChannels// \\ |
| Number of RS485 channel. \\ \\ | Number of RS485 channel. \\ \\ | ||
| - | 8. //reserved// \\ | + | 9. //reserved// \\ |
| Reserved space. \\ \\ | Reserved space. \\ \\ | ||
| - | 9. //reserved1// \\ | + | 10. //reserved1// \\ |
| Reserved space. \\ \\ | Reserved space. \\ \\ | ||
| - | 10. //channels// \\ | + | 11. //channels// \\ |
| List of RS-485 channels, which can be configured up to 8 channels. \\ \\ | List of RS-485 channels, which can be configured up to 8 channels. \\ \\ | ||