Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I need to start a net connection as soon as possible after the phone is turned on. But if I just register for the boot notification and try to open a network connection I get the error ENETNONET.

Is there some notification I can register for to tell me when it's safe to open a net connection?

-Erik

You can possibly try the following:
Register for NMASK_TAPI_STATUS either in the MIF or at the start up of your application (which can be hooked up with the boot event).
Now as soon as system initializes Telephony and acquires signal, you would get NMASK_TAPI_STATUS and then from there you can proceed.

You can possibly try the following:
Register for NMASK_TAPI_STATUS either in the MIF or at the start up of your application (which can be hooked up with the boot event).
Now as soon as system initializes Telephony and acquires signal, you would get NMASK_TAPI_STATUS and then from there you can proceed.

Thanks Ruben. I'm registering for TAPI status at boot and then waiting for the state to be PS_IDLE, at which point I can open my network connection.
-Erik

Thanks Ruben. I'm registering for TAPI status at boot and then waiting for the state to be PS_IDLE, at which point I can open my network connection.
-Erik