navMessageReceiveX (Functionblock) |
Top Previous Next |
navMessageReceiveX is an extended version of navMessageReceive and returns a text message received from the navigation device.
If the navigation device does not support API level 2, the function will work as navMessageReceive, and extended data will not be accessible.
Note that the text message is only valid after a "message received" event is raised; the event will be removed when this function block is called. A "message received" event is raised when the user writes a text message or sends a quick message.
Input: None.
Output: time : DINT The timestamp when the text message was sent from the navigation device.
id : INT This message is a reply to the text message with this unique ID. The ID will be zero on navigation devices that do not support message threading, or if it is not a reply.
message : STRING The received text message.
ready : BOOL
Declaration: FUNCTION_BLOCK navMessageReceiveX;
Example: INCLUDE rtcu.inc |