background image

 

The information contained here are property of DIGITAX Automotive Electronics Italy, and extremely confidential. Any disclosure, copying, distribution to third 

party is strictly prohibited.

 

42 

            

// register to Link events 

            _rasLink.IpAddressC= 

new

 

IpAddressChangedHandler

(_rasLink_IpAddressChanged); 

        } 
 
 
        

private

 

void

 Demo_Load(

object

 sender, 

EventArgs

 e) 

        { 
            btnDial.Enabled = 

false

            btnHangUp.Enabled = 

false

 
            

// enable managers 

            _modem.Enabled = 

true

            

if

 (_rasLink != 

null

            { 
                _rasLink.Enabled = 

true

                chkRasLinkManagerEnabled.Checked = 

true

            } 
            

else 

            { 
                chkRasLinkManagerEnabled.Enabled = 

false

            } 
        } 
 
        

private

 

void

 Demo_Closing(

object

 sender, 

CancelEventArgs

 e) 

        { 
            

// dispose managers 

            

if

 (_rasLink != 

null

) _rasLink.Dispose(); 

            

if

 (_rasEntry != 

null

            { 
                _rasEntry.HangUp(); 
                _rasEntry.Dispose(); 
            } 
            _modem.Dispose(); 
        } 
 
 

        #region

 Modem events handlers 

 
        

/* This region contains the handlers for the events fired by the modem manager 

         */ 
 

        

void

 _modem_SimCardStatusChanged(

SimCardStatus

 status) 

        { 
            

if

 (InvokeRequired) 

            { 
                BeginInvoke(

new

 

SimCardStatusChangedHandler

(_modem_SimCardStatusChanged), 

new

 

object

[] { status }); 

                

return

            } 
 
            

switch

 (status) 

            { 
                

case

 

SimCardStatus

.Absent: 

                

case

 

SimCardStatus

.Present: 

                    txtSim.Text = status.ToString(); 
                    

break

 
                

default

                    txtSim.Text = 

""

                    

break

            } 
 
            

if

 (status == 

SimCardStatus

.Present) 

                txtSim.Text += 

" ["

 + _modem.SimID.ToString() + 

"]"

        } 
        

void

 _modem_SignalStrengthChanged(

int

 strength) 

        { 
            

if

 (InvokeRequired) 

            { 
                BeginInvoke(

new

 

SignalStrengthChangedHandler

(_modem_SignalStrengthChanged), 

new

 

object

[] { strength }); 

                

return

            } 
 
            

if

 (strength == 99) 

            { 
                txtSignalStrength.Text = 

"no signal"

            } 
            

else 

            { 
                txtSignalStrength.Text = strength.ToString() + 

"/5"

            } 
        } 
        

void

 _modem_NetStatusChanged(

NetworkStatus

 newStatus) 

        { 
            

if

 (InvokeRequired) 

            { 
                BeginInvoke(

new

 

NetworkStatusChangedHandler

(_modem_NetStatusChanged), 

new

 

object

[] { newStatus }); 

                

return

            } 
 
            

switch

 (newStatus) 

            { 
                

case

 

NetworkStatus

.NotRegistered: 

                

case

 

NetworkStatus

.Registered: 

                

case

 

NetworkStatus

.RegisteredRoaming: 

                

case

 

NetworkStatus

.RegistrationDenied: 

                

case

 

NetworkStatus

.Scanning: 

                    txtNetStatus.Text = newStatus.ToString(); 
                    

break

 
                

default

                    txtNetStatus.Text = 

""

                    

break

            } 

Summary of Contents for Force One MDT

Page 1: ...Force One MDT Technical Manual V 1 6...

Page 2: ...s 10 Front 10 Rear with mounting bracket 10 How to detach the Force One from its docking station 11 Step 1 11 Step 2 11 Step 3 11 How to Seal the Force One 12 Regular Way of Sealing the Force One 12 D...

Page 3: ...orun 25 AITP 26 GPSPub 29 GSMCall 29 InstallReg 30 SaveReg 30 SysUtils 31 Terminal 32 Test 33 Backup and Restore 34 Developer s CD 36 Active Sync Usb Connection 37 Force One NET libraries 38 Aitp Wrap...

Page 4: ...able on the modem Hardware MUX allow both RAS and AT command from user applications 2 Sim Card slots with Software switcher available through API calls Support international standard protocol ETSI AT...

Page 5: ...k Activity Signal Control External UPS option Operating System Windows CE NET 5 0 with ATL MFC NET Compact Framework 3 5 and Digitax Framework 4 1 Development Tools ActiveSync 4 5 last version availab...

Page 6: ...er System Update Fleet Management Professional OTA Over The Air Client allows the update of the whole Operating System and all the CPUs Firmware option Professional OTA Over The Air Server with vehicl...

Page 7: ...The information contained here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 7 Block Diagram...

Page 8: ...ed 8 Appearance Dimensions in millimeters Width Height Depth 185 93 25 Weight in grams Force One Docking Station Force One Docking 260 200 460 Views Left Right and Bottom Right view Left with sealeabl...

Page 9: ...e information contained here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 9 Top Front Botto...

Page 10: ...ined here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 10 Docking Station Views Front Rear...

Page 11: ...e copying distribution to third party is strictly prohibited 11 How to detach the Force One from its docking station Step 1 Press down the release lever Step 2 While keeping down the release lever pus...

Page 12: ...tial Any disclosure copying distribution to third party is strictly prohibited 12 How to Seal the Force One Regular Way of Sealing the Force One Sealing Force One to Docking Block Sealing Point By def...

Page 13: ...information contained here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 13 Dashboard Fitti...

Page 14: ...information contained here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 14 Dashboard Fitti...

Page 15: ...information contained here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 15 Windscreen Fitt...

Page 16: ...ormation contained here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 16 Combo Antenna Insta...

Page 17: ...to third party is strictly prohibited 17 Covers Main Connectors Panel SIM USB Cover Main connectors Cover SIM Card 1 Holder Host USB port Mini Client USB port for ActiveSync Connection GPRS Antenna M...

Page 18: ...ontained here are property of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 18 Force One Exploded View Docki...

Page 19: ...2 Used to select alternative RS232 or USB output It is a jumper selection For RS232 OUTPUT COM6 For USB OUTPUT USB 2 USB INT EXT internal external Used to select the fixed USB port to inner cable con...

Page 20: ...ed to select this device as chain end in RS485 environ it is on request Force One option External Speaker Power 1 and 2 Connectors and Cables Serial USB COM IN OUT Connector USB Internal external RS 2...

Page 21: ...O Digital Input and Digital Output SAMSUNG PIN FUNCTION CABLE COLOR 1 GND BLACK 2 POWER 3 YELLOW 3 POWER 2 BLUE LIGHT 4 POWER 1 WHITE PIN FUNCTION CABLE COLOR 5 GND BLACK 6 INP 3 BLU 7 INP 2 GREY 8 I...

Page 22: ...and Signals PIN FUNCTION CABLE COLOR 1 POWER 4 YELLOW 2 POWER 3 GREEN 3 POWER 2 VIOLET 4 POWER 1 GRAY 5 GND BLACK 6 ENGINE BLUE 7 8 32V RED 8 8 32V RED PIN FUNCTION CABLE COLOR 9 POWER 5 WHITE 10 POWE...

Page 23: ...sables GPS power OGSMING GSM ignition pulse OGSMPD GSM power down pulse OGP1 General purpose output 1 external refer to pin out cable chapter OGP2 General purpose output 2 external refer to pin out ca...

Page 24: ...manomissions by users opening the docking station 2 SIM USB Sealing Point To avoid access to the Sim Card and the Usb port 3 Main Connectors Cover Sealing Point To avoid access to cable connections 4...

Page 25: ...e as example for the developers Autorun As soon as Windows CE is started the Autorun exe program is launched It is a system application that take care of many tasks Power up and initializes GPS and GS...

Page 26: ...vided by Digitax to simplify the application development Dimmer This panel allows you to modify TFT brightness and to view the current light intensity and also to change the setup table for the Automa...

Page 27: ...shold have to be overcame before AITP declares the event and sends the notification message Another message is sent to the application when the speed event is finished Wheel Code is the number of puls...

Page 28: ...can be achieved by calling from the central using the voice or data number When the AITP detects the first RING coming from the GSM it can wake up the Force One In this case it is also possible to sta...

Page 29: ...h your GPS position to Internet and look at a map at the address http www digitax it utils gps gps_map html This is provided as a test and sample application GSMCall With the internal GSM module it is...

Page 30: ...dows Registry and also all the folders except the ones in the Hard Disk or the Storage Card are not saved to disk but to RAM and so their content is lost when the Force One is powered off This assures...

Page 31: ...ivided in three tabs called Options 1 Options 2 and Options 3 Options 1 Here you can set the amount of memory reserved for storage and applications You can optimize the system performances by changing...

Page 32: ...permits the creation of a full System and application image into a SD memory card For detailed information about this feature please refer to page 48 Backup and Restore chapter Furthermore you can lo...

Page 33: ...y of DIGITAX Automotive Electronics Italy and extremely confidential Any disclosure copying distribution to third party is strictly prohibited 33 Test This utility allows to switch on and off and chec...

Page 34: ...to transfer all the contents of the current system including Windows CE registry DLLs new drivers user programs etc By pressing the Create System Restore SD the program will copy all necessary files...

Page 35: ...all protected files and the Windows registry to the SD card When the procedure ends you can copy the Windows CE image provided if the answer was NO when asked to copy the Windows CE image At this poin...

Page 36: ...Includes some folders containing various code examples Some of these examples application are explained further in this chapter starting from page 20 Lib Contains two folders Net dll libraries for Net...

Page 37: ...lt the active sync is disabled to enable it open control panel double click on pc connection icon and check the Allow connection with desktop computer when device is attached box and press ok see pict...

Page 38: ...status alarm and stealth mode temperature and fans MDT and MCU only magnetic card reader Windows status other hardware informations like hardware ID The developer can initialize only the needed callb...

Page 39: ...anager are the possibility of send receive SMS messages the possibility of answer hang incoming voice calls the possibility of get information such as ID and signal strength about the neighbor cell st...

Page 40: ...n the HangUp Dial procedure GPS Wrapper41 GPS Wrapper41 library provides a NET interface to the GPS receiver it allows the applications to have positioning information without knowledge of the NMEA pr...

Page 41: ...tem RAS connection name private ModemManager _modem private RasEntryManager _rasEntry private LinkManager _rasLink public Demo InitializeComponent instantiate modem manager _modem new ModemManager MOD...

Page 42: ..._SimCardStatusChanged SimCardStatus status if InvokeRequired BeginInvoke new SimCardStatusChangedHandler _modem_SimCardStatusChanged new object status return switch status case SimCardStatus Absent ca...

Page 43: ...n switch protocolType case DataProtocolType EDGE case DataProtocolType GPRS case DataProtocolType None txtDataProtocol Text protocolType ToString break default txtDataProtocol Text break void _modem_C...

Page 44: ...dress ToString endregion private void btnClose_Click object sender EventArgs e btnClose Enabled false Close private void btnSmsSend_Click object sender EventArgs e btnSmsSend Enabled false _modem Send...

Page 45: ...t RxMsgLen ushort RxLastPackLen uint lpParam for the complete list of commands and their description please refer to the Comtax2 Protocol manual if EventCode byte ComTax2 Wrapper41 EvtCodeEnum COMTAX2...

Page 46: ...ort ComTax2 Wrapper41 EnumDest DEST_TAX new byte byte C byte R new byte 0 0 WriteLog Taximeter Clock Request Deliverd res ToString private void btOdometer_Click object sender EventArgs e bool res Requ...

Page 47: ...TPInit COM3 38400 _aitp EvAITPOdometerTrigger new Aitp Wrapper41 AitpCore delAITPActivateOdometerTrigger _aitp_EvAITPOdometerTrigger init odometer callback _aitp AITPInitOdometer void OdometerTest_Clo...

Page 48: ...InitializeComponent this Closing new CancelEventHandler HardwareInfoForm_Closing init aitp in MDT MCU COM4 19200 on ForceOne COM3 38400 _aitp AITPInit COM3 38400 _aitp EvAITPAskSoftwareVersion new Ait...

Page 49: ...r ForceOneKeysForm_Closing init aitp in MDT MCU COM4 19200 on ForceOne COM3 38400 _aitp AITPInit COM3 38400 _aitp EvAITPFOKeyboardTrigger new Aitp Wrapper41 AitpCore delAITPActivateFOKeyboardTrigger _...

Page 50: ...kstatus 0x0100 0x0100 pCANC BackColor Color Red else pCANC BackColor Color Green if _fokstatus 0x0200 0x0200 pENTER BackColor Color Red else pENTER BackColor Color Green if _fokstatus 0x0400 0x0400 pD...

Page 51: ...vAITPDimmerValueAndTableTrigger new Aitp Wrapper41 AitpCore delAITPActivateDimmerValueAndTableTrigger _aitp_EvAITPDimmerValueAndTableTrigger _aitp EvAITPLightIntensityTrigger new Aitp Wrapper41 AitpCo...

Page 52: ...ng _aitp AITPSetDimmerValue _dimVal void DiimerSample_Closing object sender CancelEventArgs e release aitp _aitp AITPRelease private void btAskLight_Click object sender EventArgs e _aitp AITPAskLightI...

Page 53: ...alIOTest Form DigitalIO Wrapper Instance DigitalIO Wrapper41 DigitalIO _digitalIO new DigitalIO Wrapper41 DigitalIO ipreshut check tread System Threading Thread ipreshutThread bool stopExecuting false...

Page 54: ...OM1 ForceOne COM2 _gps GPSInitData COM2 9600 init events and callbacks _gps EvGPSGSVSatellitesCallback new GPS Wrapper41 GPSWrapper delGPSGSVSatellitesCallback _gps_EvGPSGSVSatellitesCallback _gps EvG...

Page 55: ...tion Text _rmcData Direction_deg ToString tbLat Text _rmcData Latitude_deg ToString tbLon Text _rmcData Longitude_deg ToString tbSpeed Text _rmcData Speed_kmH ToString tbFixMode Text _gsaData iFixMode...

Page 56: ...info digitax com Digitax UK Digitax Mauritius Digitax Deutschland Smokehouse 31 Tanners Bank North Shields Tyne Wear NE 30 1 JH ENGLAND P O box 775 Bel Village MAURITIUS Taxitech Handelsges mbh Somme...

Reviews: