Good morning to everyone,
in the past we worked a lot with the Sierra Wireless FXT009 modem. We made some OpenAT application for it without any problems. (They work in SMS or GPRS Network)
Now we want to do the next step and develop a new version of the software, which doesn’t uses SIM cards, but an ethernet connection.
With our reseller we have found the FXTE02 adapter and we are able to assemble everything. Now our problem is that in the OpenAT application we are not able to connect to a (DHCP) ethernet network.
Unfortunately I did not find anything helpfull in the documentation, but in the OpenAT framework headers I have found the ethernet bearer.
Anyways I am not able to connect to the ethernet network.
As far as I understand the only thing that I have to change in my SIM card application is the part where I connect to the internet.
This is the relevant part of the code:
bool openConnection(void) {
int error = 0;
error = wip_ATCmdSubscribe();
if(error != 0 && error != -2) {
//... error handling
return FALSE;
}
error = wip_netInit();
if(error != 0) {
//... error handling
return FALSE;
}
error = wip_bearerOpen(&gprsBearer, "GPRS", gprsEventHandler, NULL);
if(error != 0) {
//... error handling
return FALSE;
}
error = wip_bearerSetOpts(gprsBearer, WIP_BOPT_GPRS_APN, ReadInternet(), WIP_BOPT_LOGIN, ReadIUser(), WIP_BOPT_PASSWORD, ReadIPassword(), WIP_BOPT_END);
if(error != 0) {
//... error handling
return FALSE;
}
error = wip_bearerStart(gprsBearer);
if(error != 0 && error != -27) {
//... error handling
return FALSE;
}
return TRUE;
}
Maybe anybody can help me modify this or can point me a documentation where I can inform myself?
Thank you so much and best regards
Harald
PS: sorry for my bad english