To send notifications, you need to follow the general steps below. Each of these steps is described in detail later in this chapter.
To send notifications to a subscriber, you must know the subscriber ID. To get the ID, you can check the HTTP headers for requests from the UP.Phone (see page 67 for more information) or ask the subscriber or UP.Link administrator.
If you have an UP.Phone or have registered your UP.Simulator on an UP.Link Server, you can view your subscriber ID by choosing Settings>Advanced> Subscriber ID. Note that the Settings option may or may not be on the Home card for a particular UP.Link Server. You can find it under Utilities on the default devgate2
Home card.
Make sure that your corporate firewall allows you to send packets to the notification port you will be using (TCP destination port 3356
for secure notifications or TCP destination port 4445
for non-secure notifications).
The COM and C++ notifications libraries are discussed in detail later in this chapter. For more information on upnotify
, invoke it with the -h
option or see the UP.SDK Tools and APIs Guide.
The UP.SDK tools and libraries all allow you to check the status of notifications you have sent. They also allow you to remove pending notifications.