Command disabled: backlink
 
Available Languages?:

OSA : OS_Smsg_Send

OS_Smsg_Send (smsg, smessage)
OS_Smsg_Send_I (smsg, smessage)

Allowed only in taskSwitches context

Send simple message through smsg. If smsg already exists then wait until it becomes free.

Call allowed:

Only in task

Parameters:

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

Returns:

nothing

Example:

OST_SMSG smsg;
 
void Task (void)
{
    for (;;) {
        /*...*/
        OS_Smsg_Send (smsg, 'E');
        /*...*/
    }
}

Old style name

OS_SendSMsg

See also

 
en/osa/ref/allservices/os_smsg_send.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