c++ - ExTAPI: lineRegister returns before line is registered -


I used the lineSetEquipmentState <> after enabling the radio to register GPRS radio on the network Using the TAPI function . Actually the line registrar function is returning successfully before the network is actually registered.

The asynchronous line registrar function first returns a positive number, which Indicating that the job succeeds, I then wait for a LINE_REPLY callback from TAPI indicating the value of 'DwParam1' matches the initial return value of lineRegister That this is my last lineRegister The asynchronous reply. The dwParam2 value is set to 0, which is called MSDN that the function is successful.

Then I try to connect to GPRS network but the connection fails. I have entered the code to lineGetRegisterStatus in LINE_REPLY for the line line, and I can confirm that the radio is not yet registered. Is there any way to inform the network if it is successfully registered and usable? It seems that voting for a network registration is required when an asynchronous API and information system is available.

TAPI implementation quality is very OEM dependent, you can find another device where it is expected Works like that. But, if this is what you want your application to be used, then you probably have to vote.

-Polh


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -