Collection Contents Previous Next PDF

MobiLink Server-Initiated Synchronization User's Guide

The Listener

The Listener utility

Listening libraries


When you run the Listener, by default the listening library lsn_udp.dll is used. If you are using SMTP, you need to specify an SMTP listening library.

You specify the listening library with the dblsn -d option, and specify options for the listening library with the -a option. To enable multi-channel listening, specify multiple dlls by repeating -d. After each -d option, specify the -a and -i options that relate to the dll. For example,

dblsn.exe -d lsn_udp.dll -i 10 -d maac750.dll -i 60

To specify multiple options, repeat -a. For example,

-d maac750.dll -a port=2439 -a ShowSenderPort

To see options for your dll, type dblsn -d filename.dll -a ?.

You can also create a custom Listener library. For more information, see MobiLink Listener SDKs.

Following is a list of supported listening libraries and their options.

UDP (lsn_udp.dll) 
Option Description
Port=port_number The default is 5001.
Timeout=seconds This value must be smaller than the polling interval of the UDP listening thread. The default is 0.
ShowSenderPort Appends :port to the sender.
HideWSAErrorBox Suppresses the error box showing errors on socket operations.
CodePage=number On CE, translates multi-byte characters into Unicode based on this code page number.
SMS for AirCard510 (lsn_swi510.dll) 
Option Description
MessageStoreSize=number This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20.
NetworkProviderId=name The matching Carrier(name).network_provider_id. This information is sent up during a device tracking synchronization. This option is needed for device tracking.
PhoneNumber=number A 10-digit telephone number. This information is sent up during a device tracking synchronization. This option is needed for device tracking.
SMS for AirCard555 (maac555.dll) 
Option Description
MessageStoreSize=number This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20.
PreserveMessage Specifies that messages should be left in the queue for other SMS applications. The default is for the Listener to consume messages as they are processed.
SMS for AirCard710 and AirCard750 using firmware R2 (maac750.dll) 
Option Description
MessageStoreSize=number This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20.
PreserveMessage Specifies that messages should be left in the queue for other SMS applications. The default is for the Listener to consume messages as they are processed.
SMS for AirCard710 and AirCard750 using firmware R3 (maac750r3.dll) 
Option Description
MessageStoreSize=number This size affects how the library collapses redundant messages. If the message store is filled, the library stops collapsing identical messages until a message is consumed. The default is 20.
PreserveMessage Specifies that messages should be left in the queue for other SMS applications. The default is for the Listener to consume messages as they are processed.

Collection Contents Previous Next PDF