CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_CHAI_SIGNAL)(CPUINT16 const wSignalNumber, CPUINT16 const wOptionalData0, CPUINT16 const wOptionalData1, CPUINT16 const wOptionalData2, CPUINT16 const wOptionalData3, CPCHAR8 const *const utf8OptionalData, CPENDPOINT const *const pOptionalEndPoint, CPDEVICEID const *const pSourceDevID)

Called if the CHAI received a signal.

Parameters
[in]wSignalNumberThe signal's number (see Signals enumeration in CLC_Enums.h for standard values)
[in]wOptionalData0Optional value, depending on the signal number
[in]wOptionalData1Optional value, depending on the signal number
[in]wOptionalData2Optional value, depending on the signal number
[in]wOptionalData3Optional value, depending on the signal number
[in]strOptionalDataOptional string, depending on the signal number
[in]pOptionalEndPointPointer to an optional endpoint, depending on the signal number
[in]pSourceDevIDSource of the signal
Remarks
This notification is activated by using CHAI_RegisterNotificationHandler.