Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:slave_control_api [2023/02/28 15:38] mwkim [Slave Control API] |
en:slave_control_api [2024/01/24 10:19] kkshin [BS2OsdpStandardNotify] |
||
---|---|---|---|
Line 129: | 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 175: | Line 175: | ||
- | ==== BS2OsdpStandardNotify ==== | + | ==== BS2OsdpStandardDeviceNotify ==== |
<code cpp> | <code cpp> | ||
typedef struct { | typedef struct { | ||
Line 197: | 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// \\ | ||
Line 370: | Line 370: | ||
<WRAP group 50%> | <WRAP group 50%> | ||
^Value ^Description ^ | ^Value ^Description ^ | ||
- | |0 |Success | | + | |0 |Fail | |
- | |1 |Fail | | + | |1 |Success | |
- | |2 |Not available | | + | |
</WRAP> | </WRAP> | ||