Command disabled: backlink
 
Available Languages?:

OSA : OS_Smsg_Send_Now

OS_Smsg_Send_Now (smsg, smessage)
OS_Smsg_Send_I (smsg, smessage)

Send simple message through smsg. If smsg already exists then it will be overwritten.

Call allowed:

Parameters:

smsg Simple message descriptor. Variable of OST_SMSG type
smessage Message body (OST_SMSG)

Returns:

bEventError If smsg is not free then OS_IsEventError will return true

Example:

OST_SMSG smsg;
 
void Task (void)
{
    for (;;) {
        /*...*/
        OS_Smsg_Send_Now(smsg, 0x33);
        /*...*/
    }
}

Old style name

OS_SendSMsgNoWait

See also

 
en/osa/ref/allservices/os_smsg_send_now.txt · Last modified: 07.10.2010 13:57 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki