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 = ""
See
Device Messaging Web Service on page 11-26
for details and instructions for using the Web service.
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.
Figure J-1
Assigned Left and Right Soft Keys
In the example in
Figure J-1
, pressing the left soft key sends the SETSCANMODE command to the UCAClient.
The UCAClient then sets the WT mode to Scan mode.
Additional commands that can be used with SendNotification are listed in the table below.
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.
Summary of Contents for CA50
Page 1: ...CA50 UCA Client Server Developer User Guide ...
Page 2: ......
Page 3: ...CA50 UCA Client Server Developer User Guide 72E 93914 02 Revision A November 2009 ...
Page 18: ...xvi CA50 UCA Client Server Developer User Guide ...
Page 24: ...xxii CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 30: ...1 6 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 34: ...2 4 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 48: ...3 14 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 106: ...4 58 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 109: ...UCA Client Application on the CA50 5 3 Page intentionally blank ...
Page 110: ...5 4 CA50 UCA Client Server Developer User Guide ...
Page 135: ...UCA Server 6 25 Figure 6 30 Installing Prerequisites Figure 6 31 SQL Server Setup ...
Page 200: ...7 32 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 284: ...9 56 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 302: ...10 18 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 350: ...11 48 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 358: ...12 8 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 418: ...A 6 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 436: ...B 18 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 478: ...E 12 CA50 UCA Client Server Developer User Guide 6 7 8 9 10 11 ...
Page 488: ...F 4 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 492: ...G 4 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 510: ...I 14 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 538: ...Index 12 CA50 UCA Client Server Developer User Guide ...
Page 540: ......
Page 541: ......