Commands Usage In Notification Messages - Motorola CA50 Developer & User Manual

Table of Contents

Advertisement

J - 14 CA50/UCA Client & Server Developer & User Guide

Commands Usage in Notification Messages

The SendNotification API is used to notify the CA50 device user of any information in text format. This can also
be extended to a complex work flow application. In this context, commands can be used in the notification to
execute a command on the device. This section describes how commands can be embedded in Notification
messages.
The SendNotification() Web service can be used by external programs to send an asynchronous message to a
logged in CA50 device user. This Web service allows users to customize the left soft key and right soft key.
One of the parameters for the SendNotification(), NotifInfo, has the properties LSKey and RSKey which can be
used to assign custom action.
Example:
notifInfo.LSKey = ""
notifInfo.RSKey = ""
See
Device Messaging Web Service on page 11-26
UCA Client commands can be assigned to these parameters.
Example:
notifInfo.LSKey = "WTScan:S:L:SETSCANMODE"
notifInfo.RSKey = ""
Using these parameters, the left soft key is WTScan and the right soft key is Dismiss.
Assigned Left and Right Soft Keys
Figure J-1
NOTE When LSKey and RSKey are left blank, default values are assigned. The default value for LSKey is Ack
and the default value for RSKey is Dismiss.
In the example in
Figure
The UCAClient then sets the WT mode to Scan mode.
Additional commands that can be used with SendNotification are listed in the table below.
J-1, pressing the left soft key sends the SETSCANMODE command to the UCAClient.
for details and instructions for using the Web service.

Advertisement

Table of Contents
loading

Table of Contents