PDA

View Full Version : GPRS connectivity in EVB


MikeBoxwell
01-03-2003, 07:04 AM
I have an EVB application that connects to GPRS using a library from Sapphire Solutions.

This has worked reasonably well, but doesn't give me a lot of control of what is going on.

What other methods have people tried? Any hints?

Anonymous
15-03-2003, 12:29 AM
I also was lookinf for this solution forever and never found it so i wrote the software myself. Here is the dll that you need to connect to the internet through evb it connects to the default connection no problems.

http://xdaconnect.wastedbrains.com

have fun,
Dan Mayer

Anonymous
17-03-2003, 08:51 AM
Thanks for this. I'll have a play.

The stupid thing is, O2 have told me that I should be using their routines. But nobody can tell me what the routines are, how to find them or give me any information about them whatsoever!

Compare and contrast with Vodafone who actually know a thing or two about implementing mobile systems, but don't have a product to implement...

wwb95
23-03-2003, 06:03 PM
Public Declare Function AllocPointer Lib "VBPointers" Alias "VB_AllocPointer" (ByVal nSrcSizeInBytes As Long) As Long
Public Declare Function AllocStringPointer Lib "VBPointers" Alias "VB_AllocStringPointer" (ByVal str As String) As Long
Public Declare Function FreePointer Lib "VBPointers" Alias "VB_FreePointer" (ByVal Pointer As Long) As Long
Public Declare Sub SetLongAt Lib "VBPointers" Alias "VB_SetLongAt" (ByVal Pointer As Long, ByVal OffsetInBytes As Long, ByVal Value As Long)
Public Declare Function PhoneMakeCall Lib "Phone" (ByVal CallInfo As Long) As Long
Public Sub Dial(Number_to_dial As String)
CallInfo = AllocPointer(24) ' sizeof (PHONEMAKECALLINFO)
Call SetLongAt(CallInfo, 0, 24) ' cbSize
Call SetLongAt(CallInfo, 4, 1) ' dwFlags = PMCF_DEFAULT
PhoneNumber = AllocStringPointer(Number_to_dial)
Call SetLongAt(CallInfo, 8, PhoneNumber) ' pszDestAddress
PhoneMakeCall (CallInfo)
FreePointer (PhoneNumber)
FreePointer (CallInfo)

End Sub

zx10rider
24-04-2004, 01:25 PM
The xdaconnect dll posted by Dan is pretty good at getting a connection. The problem is that it has to be registered on each device using eVC. My problem is that I want to make a cd so that other people who dont have eVC can install the device. Normally I would do this with dllRegisterServer or by including the file in the manifest file of dll's to be registered when a program is installed. The problem is that this dll wont register alone, an error is returned back that "dllRegsisterServer is not included in the dll".

Can anyone help?

The dll and eVC project file is available for download at http://xdaconnect.wastedbrains.com

Many thanks
Tony