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/01/23 15:01]
kkshin [BS2OsdpStandardDeviceResult]
en:slave_control_api [2024/02/27 13:59] (current)
Line 4: Line 4:
   * [[BS2_GetSlaveDevice]]:​ Searches a slave device from the RS-485 network.   * [[BS2_GetSlaveDevice]]:​ Searches a slave device from the RS-485 network.
   * [[BS2_SetSlaveDevice]]:​ Add/​Modify/​Delete a slave device from the master device.   * [[BS2_SetSlaveDevice]]:​ Add/​Modify/​Delete a slave device from the master device.
- 
   * [[BS2_GetSlaveExDevice]]:​ In case of CoreStation,​ searches a slave device from the RS-485 network.   * [[BS2_GetSlaveExDevice]]:​ In case of CoreStation,​ searches a slave device from the RS-485 network.
   * [[BS2_SetSlaveExDevice]]:​ In case of CoreStation,​ Add/​Modify/​Delete a slave device from the master device.   * [[BS2_SetSlaveExDevice]]:​ In case of CoreStation,​ Add/​Modify/​Delete a slave device from the master device.
Line 129: Line 128:
  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 175: Line 174:
  
  
-==== BS2OsdpStandardNotify ​====+==== BS2OsdpStandardDeviceNotify ​====
 <code cpp> <code cpp>
 typedef struct { typedef struct {
Line 197: Line 196:
  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//​ \\