Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:slave_control_api [2024/02/22 08:43]
kkshin
en:slave_control_api [2024/10/23 15:50] (current)
mwkim
Line 16: Line 16:
   * [[BS2_GetOsdpStandardDeviceCapability]]:​ [+ 2.9.1] Gets OSDP device support information.   * [[BS2_GetOsdpStandardDeviceCapability]]:​ [+ 2.9.1] Gets OSDP device support information.
   * [[BS2_SetOsdpStandardDeviceSecurityKey]]:​ [+ 2.9.1] Set the security key for the OSDP device.   * [[BS2_SetOsdpStandardDeviceSecurityKey]]:​ [+ 2.9.1] Set the security key for the OSDP device.
 +  * [[BS2_SetSlaveBaudrate]]:​ [+ 2.9.8] Set the RS-485 baud rate of a slave device connected to a master device.
  
 <WRAP alert> <WRAP alert>
Line 128: Line 129:
  BS2_OSDP_CHANNEL_TYPE channelType; ​               ///< 1 byte  BS2_OSDP_CHANNEL_TYPE channelType; ​               ///< 1 byte
  uint8_t maxOsdpDevice; ​             ///< 1 byte  uint8_t maxOsdpDevice; ​             ///< 1 byte
- uint8_t numOsdpAvailibleDevice;     ///<​ 1 byte+ uint8_t numOsdpAvailableDevice;     ///<​ 1 byte
  BS2_DEVICE_ID deviceIDs[8]; ​              ///<​ 4 x 8 = 32 bytes  BS2_DEVICE_ID deviceIDs[8]; ​              ///<​ 4 x 8 = 32 bytes
 } BS2OsdpStandardChannelInfo;​ ///<​ 36 bytes } BS2OsdpStandardChannelInfo;​ ///<​ 36 bytes
Line 174: Line 175:
  
  
-==== BS2OsdpStandardNotify ​====+==== BS2OsdpStandardDeviceNotify ​====
 <code cpp> <code cpp>
 typedef struct { typedef struct {
Line 196: Line 197:
  BS2_BOOL readInfo;​ ///<​ 1 byte  BS2_BOOL readInfo;​ ///<​ 1 byte
  uint8_t reserved[5];​ ///<​ 5 bytes (packing)  uint8_t reserved[5];​ ///<​ 5 bytes (packing)
-BS2OsdpStandardNotify; ///< 48 bytes+BS2OsdpStandardDeviceNotify; ///< 48 bytes
 </​code>​ </​code>​
 1. //​deviceID//​ \\  1. //​deviceID//​ \\