ml_set_device

Use this system procedure to add or alter information about remote devices when you are manually setting up device tracking. It adds or updates a row in the ml_device table.

Parameters

Item

Parameter

Description

1

device

VARCHAR(255). User-defined unique device name.

2

listener_version

VARCHAR(128). Optional remarks on listener version.

3

listener_protocol

INTEGER. Use 0 for version 9.0.0, 1 for post-9.0.0 Palm Listeners, 2 for post-9.0.0 Windows Listeners.

4

info VARCHAR(255). Optional device information.

5

ignore_tracking CHAR(1). Set to y to ignore tracking and stop it from overwriting manually entered data.

6

source VARCHAR(255). Optional remarks on the source of this record.
Remarks

The system procedures ml_set_device, ml_set_device_address, and ml_set_listening are used to override automatic device tracking by changing information in the MobiLink system tables ml_device, ml_device_address, and ml_listening. For example, if some of your remote devices are Palm devices you may want to use automatic device tracking but manually insert data for the Palm devices.

This system procedure is useful only if you are manually setting up device tracking.

See Using device tracking with Listeners that don't support it.

See also
Example

For each device, add a device record:

CALL ml_set_device(
 'myFirstTreo180',
 'MobiLink Listeners for Treo 180 - 9.0.1',
 '1',  
 'not used',
 'y',  
 'manually entered by administrator' );