Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » MobiLink - Server-Initiated Synchronization » Setting up server-initiated synchronization » Device tracking


Setting up device tracking

To set up device tracking

  1. Set up a UDP gateway and/or SMTP gateway, if necessary. Note: Typically, the UDP gateway is usable without further configuration, and you do not have to set up a gateway or carrier for it. However, if you want to use email-to-SMS notification, the default SMTP gateway requires configuration.

    See Configuring gateways and carriers.

  2. Your request_cursor script should have the following settings:

    • The gateway name must be the name of a device tracker gateway. The default instance is called Default-DeviceTracker.
    • The address must be a MobiLink user name. By default, it can be the Listener user name. However, you can use the dblsn option -t+ to add the MobiLink user name of the remote database that you are synchronizing, and then directly address that database.

    See request_cursor property.

  3. Add the Listener name to the MobiLink ml_user system table.

    The default Listener name is device_name-dblsn, where device_name is the name of your device. You can find the device name in your Listener messages window. Optionally, you can set the device name using the dblsn -e option. You can specify a different Listener name using the dblsn -u option.

    Whether or not you use the default name, you may need to add the Listener_name to the ml_user MobiLink system table on your consolidated database. This is because the Listener_name is a MobiLink user name. Like other MobiLink user names, it must be unique and it must be added to the ml_user MobiLink system table on your consolidated database.

    See Creating and registering MobiLink users.

  4. Start the Listener with the required options.

    See Listener options for device tracking.