The information contained here are property of DIGITAX Automotive Electronics Italy, and extremely con
fi
dential. Any disclosure, copying, distribution to third
party is strictly prohibited.
70
Digitax.Mobile.dll
A base class to support the other modem libraries
Digitax.Mobile.Modem.dll
This library contains the classes used to interact with the embedded modem. The main class to use is ModemManager
which exposes all the methods, proper es and events to work. It allows to view phone network status such as
registra on, signal strength, operator name and more. By dedicated events the applica on is updated in real- me
about the changes. Modem manager can work with PIN-locked SIM simply by entering the correct PIN code in the
ModemManager.PIN property; the manager will try to write the PIN to the SIM only if there are at least 3 remaining
a empts. If only 2 a empts le the manager will disable itself to avoid a de
fi
ni ve SIM-lock and permit a hand-
removal of PIN. If the SIM property is not set the manager will trigger the ModemManager.OnPINRequest event
specifying the remaining a empts. The applica on can then provide the PIN code and can specify if the SIM must be
unlocked de
fi
ni vely. If no PIN code is provided the manager will disable itself. Note that the manager will not unlock
de
fi
ni vely the SIM if the PIN is provided by the PIN property; the SIM will remain unlocked un l modem is powered
on. Instead, if the PIN code is provided by the event, the manager will not check the remaining a empts; the count
of the remaining a empts will be only no
fi
ed to the delegate as an argument. The manager than has the goal of
maintaining the modem always usable, so if the applica on needs to power o
ff
the modem, the correct procedure is
to call the ModemManager.PowerO
ff
Modem() method and then disable the manager.
Other features of the modem manager are:
•
the possibility of send/receive SMS messages;
•
the possibility of answer/hang incoming voice calls;
•
the possibility of get informa on (such as ID and signal strength) about the neighbor cell sta ons;
•
the possibility of send/receive direct AT commands to the modem.
Digitax.Mobile.RAS.dll
This library contains the classes to work with the RAS entries con
fi
gured on the system. By the RasManager’s sta c
methods the applica on can retrieve the con
fi
gured RAS entry names, the con
fi
gured RAS-enabled devices and the
ac ve RAS connec ons.
The RasEntryManager is the class to use to handle a speci
fi
c RAS entry name. It allows to open (dial) or close (hang up)
a RAS connec on; when its state changes the RAS entry manager no
fi
es it by triggering the Connec onStateChanged
event. When the entry is connected the RAS entry manager can retrieve the connec on’s system sta s cs (bytes sent,
bytes received, connec on me, ...) and the network projec on informa on such as the IP address assigned by the
Summary of Contents for M1 mdt
Page 1: ...Technical Manual InstallationandProgramming ver 1 16 12 2014...
Page 2: ......
Page 83: ......