Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:slave_control_api [2023/02/28 15:02] mwkim [BS2OsdpStandardDeviceAdd] |
en:slave_control_api [2023/02/28 15:03] mwkim [BS2OsdpStandardDeviceAvailable] |
||
---|---|---|---|
Line 134: | Line 134: | ||
</code> | </code> | ||
1. //channelIndex// \\ | 1. //channelIndex// \\ | ||
- | OSDP 장치가 연결되어 있는 통신 채널 번호입니다. \\ \\ | + | The communication channel number to which the OSDP device is connected. \\ \\ |
2. //channelType// \\ | 2. //channelType// \\ | ||
- | RS485 통신을 하는 장치가 어떠한 방식으로 연결되어 있는지를 나타냅니다. \\ | + | Indicates the type to which the device communicating RS485 is connected. \\ |
- | CoreStation40 기준으로, 할당 가능한 채널은 0~4까지 5개인데, 각 채널내에서는 슈프리마 장치와 OSDP 장치가 혼용되어 운용될어질 수 없습니다. \\ | + | Based on CoreStation40, there are 5 assignable channels from 0 to 4, and Suprema devices and OSDP devices cannot be mixed and operated within each channel. \\ |
- | 특정 채널에 연결된 장치가 없는 경우, Suprema 장치든, OSDP 장치이든 연결될 수 있음을 나타내는 0을 갖습니다. \\ | + | If no device is connected to a particular channel, it has a 0 indicating that it can be connected even if it is a Suprema device or an OSDP device. \\ |
- | 만일 특정 채널로 Suprema 장치가 연결되면, 이후 해당 채널은 Suprema 장치들의 연결만 허용되며, channelType은 1을 갖습니다. OSDP 장치가 연결되어 있더라도 무시되어집니다. \\ | + | If a Suprema device is connected to a specific channel, only Suprema devices are allowed to connect to that channel, and channelType has a value of 1. The OSDP device is ignored even if it is connected. \\ |
- | 만일 특정 채널로 OSDP 장치가 연결되면, 이후 해당 채널은 OSDP 장치 연결만 허용되며, channelType은 2를 갖습니다. Suprema 장치가 연결되어 있더라도 무시되어집니다. \\ | + | If an OSDP device is connected to a specific channel, only OSDP devices are allowed to connect to that channel, and channelType has a value of 2. The Suprema device is ignored even if it is connected. \\ |
- | CoreStation40 각각의 채널들은 Suprema 장치 채널, OSDP 장치 채널들로 혼용되어 운용될 수 있습니다. \\ | + | Each channel of CoreStation40 can be mixed and operated as Suprema device channel and OSDP device channel. \\ |
- | 채널에 OSDP로 장치가 연결이되면 허용이 가능한 최대 장치수는 2대로 제한되며, 이미 해당 채널이 최대치에 도달했으면 channelType은 3을 갖으며 더이상 연결이 불가함을 나타냅니다. \\ | + | The maximum number of OSDP devices allowed to connect to a channel is limited to 2, and if the channel is already maxed out, the channelType will be 3, indicating that no more connections are allowed. \\ |
<WRAP group 50%> | <WRAP group 50%> | ||
- | ^값 ^설명 ^ | + | ^Value ^Description ^ |
|0 |Normal | | |0 |Normal | | ||
- | |1 |Suprema 장치 | | + | |1 |Suprema Device | |
- | |2 |OSDP 장치 | | + | |2 |OSDP Device | |
- | |3 |OSDP 장치 FULL | | + | |3 |OSDP Device FULL | |
</WRAP> | </WRAP> | ||
3. //maxOsdpDevice// \\ | 3. //maxOsdpDevice// \\ | ||
- | 해당 채널에서 연결 가능한 장치의 최대치를 나타냅니다. \\ | + | Indicates the maximum number of devices that can be connected in that channel. \\ |
- | channelType이 1이면 32를, 2나 3이면 2를 갖습니다. \\ \\ | + | If the channelType is 1, it will get 32, if 2 or 3, it will get 2. \\ \\ |
4. //numOsdpAvailibleDevice// \\ | 4. //numOsdpAvailibleDevice// \\ | ||
- | 해당 채널에서 현재 연결 가능한 장치수를 나타냅니다. \\ \\ | + | Indicates the number of devices currently available for connection in that channel. \\ \\ |
5. //deviceIDs// \\ | 5. //deviceIDs// \\ | ||
- | 해당 채널에 연결된(또는 연결될 수 있는) 장치 식별자 리스트입니다. \\ \\ | + | The list of Device Identifier that is connected or can be connected in that channel. \\ \\ |
6. //numOfChannel// \\ | 6. //numOfChannel// \\ | ||
- | 채널 수 입니다. CoreStation40 기준 5를 갖습니다. \\ \\ | + | Number of channel. CoreStation40 has a total of 5 channels. \\ \\ |
7. //reserved// \\ | 7. //reserved// \\ | ||
- | 예약된 공간입니다. \\ \\ | + | Reserved Space. \\ \\ |
8. //channels// \\ | 8. //channels// \\ | ||
- | 채널별 OSDP 장치정보입니다. \\ | + | OSDP device information of each channel. \\ |
- | 최대 8개까지 채널정보를 가질 수 있으나, CoreStation40이 5개의 채널을 가지므로 0~4번까지만 유의미합니다. \\ \\ | + | You can have up to 8 channel information, but since CoreStation40 has 5 channels, only numbers 0 to 4 are valid. \\ \\ |
9. //reserved1// \\ | 9. //reserved1// \\ | ||
- | 예약된 공간입니다. \\ \\ | + | Reserved Space. \\ \\ |
Line 262: | Line 262: | ||
</code> | </code> | ||
1. //osdpID// \\ | 1. //osdpID// \\ | ||
- | OSDP 식별자입니다. 식별자는 사용자가 직접 0~126 사이의 임의의 값을 지정하여야 합니다. \\ | + | OSDP Identifier. The identifier must be set to a random value between 0 and 126 by the user. \\ |
- | 이 값은 동일 채널 내에서는 중복을 허용하지 않으며, 중복되거나 범위 밖의 값이 지정된 경우 오류를 발생시킬 수 있습니다. \\ | + | This value does not allow duplication within the same channel and may raise an error if duplicated or out-of-range values are set. \\ |
- | 마스터 장치 내에서 채널이 다르다면 동일한 식별자를 부여하여 장치를 추가 할 수 있습니다. \\ \\ | + | If the channels are different within the master device, you can add devices by setting them to the same identifier. \\ \\ |
2. //activate// \\ | 2. //activate// \\ | ||
- | 장치 활성화 상태를 지정합니다. \\ | + | Specifies the device activation state. \\ |
- | 장치의 연결 상태와는 무관하며, false로 설정되면 성공적으로 연결이 되어있더라도 해당 장치의 동작은 무시됩니다. \\ \\ | + | Regardless of the connection state of the device, if set to false, the operation of the device is ignored even if it is successfully connected. \\ \\ |
3. //useSecureSession// \\ | 3. //useSecureSession// \\ | ||
- | 암호화 통신 여부를 지정합니다. \\ | + | Specifies whether to encrypt communication. \\ |
- | 별도의 키를 설정하지 않았다면 기본키로 암호화 통신을 수행하며, [[BS2_SetOsdpStandardDeviceSecurityKey]]로 변경할 수 있습니다. \\ \\ | + | If a separate key is not set, encryption communication is used as the default key, and can be changed with [[BS2_SetOsdpStandardDeviceSecurityKey]]. \\ \\ |
4. //deviceType// \\ | 4. //deviceType// \\ | ||
- | 장치 유형입니다. BS2_DEVICE_TYPE_3RD_OSDP_DEVICE로 설정되어져야 합니다. \\ \\ | + | Device type. Should be set to BS2_DEVICE_TYPE_3RD_OSDP_DEVICE. \\ \\ |
5. //deviceID// \\ | 5. //deviceID// \\ | ||
- | 장치 식별자입니다. \\ \\ | + | Device Identifier. \\ \\ |