Bluetooth Framework C++ Edition

◆ Signal()

int Signal ( const unsigned char  Id)

Posts signal to the Thread.

Parameters
IdThe user defined Signal ID.
Returns
If the function succeed the returns value is WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.

The signal is posted to the thread. That means that the method does not wait when the Thread receives and processes the signal. Also the method can not know if thread processed the signal.