Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Mon Nov 20, 2017 12:50 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jan 07, 2013 9:33 am 
Offline

Joined: Mon Jan 07, 2013 9:29 am
Posts: 1
Hey All,

I have the M4x all set up with the GSM modem running. When I boot up the device I can open my network panel and manually connect to the GSM modem using a dial up connection. All the setting are saved so all I have to do is open the connection and hit connect. From then all it all works great.

The issue im having is I want the dialup connection to connect automatically when I boot up the device. Can anyone point me in the right direction for achieving this?

Thanks,
Mike


Top
 Profile  
 
PostPosted: Wed Jan 09, 2013 8:08 am 
Offline
User avatar

Joined: Mon Sep 10, 2012 1:33 pm
Posts: 5
Generally RAS connections are created programmatically to better handle hang-ups, disconnects, re-dial attempts, etc. What you can do to accomplish this is write a simple program that automatically dials the connectoid you are using (e.g. GSM_COM4). After writing this program you can follow the instructions in this post to start your program at boot-up.

There's a freely available RAS wrapper from the OpenNETCF community for use in managed code: http://rascf.codeplex.com/
I've attached a quick VS2008 project implementing the library.

RAS Library Reference for CE6:
http://msdn.microsoft.com/en-us/library/ee496773.aspx

There's also an option to make a RasEntry the default connection. This will cause the connection dialog to appear at boot-up so that the "Connect" button is immediately available. To do this click on Start > Settings > Network and Dial-up connections > Right-click on Connectoid (e.g. GSM_COM4) > and check "Set as Default". While this won't autodial the connection at boot-up it certainly makes it faster to connect.


Attachments:
RasDialDemo.zip [34.29 KiB]
Downloaded 324 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group