This function will delete a text message from the navigation device.
Input:
id : INT
Unique ID of the message.
Returns: INT
0
|
- Success.
|
-1
|
- Navigation interface is not open.
|
-2
|
- Error communicating with navigation device.
|
-4
|
- The navigation device rejected the command.
|
-11
|
- This is not supported by navigation device.
|
-12
|
- Navigation interface is busy.
|
Declaration:
FUNCTION navMessageDelete : INT;
VAR_INPUT
ID : INT;
END_VAR;
Example:
INCLUDE rtcu.inc
PROGRAM NavigationExample;
BEGIN
...
navMessageSend(id := 55, text := "Remember to pick up lunch on the way", type := 1);
...
navMessageDelete(id := 56);
...
END;
END_PROGRAM;
|