• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

use of the method PINGetStatus ??

Started by stef2pont, September 26, 2009, 02:32:27 am

Previous topic - Next topic

stef2pont

Hello Romans,

I use your library for coding my software, with great success for now. I coding with C++ Builder 2009.

So, where do i use the method PINGetStatus() ? Before, or After the activation of the TnrGSM ?

Finally, can i wrote my analysis in this order ?

PINGetStatus
if return 'SIM PIN' then
PIN = "1234"
PINApply
Activate = true
else
... it's all ok.... and continue.....

thank's man
C++ Builder 3, 5, 6 and now C++ Builder 2009, runing under Win2000, XP and now Vista

Roman Novgorodov

Hello

You can fill TnrGsm.PIN property before activation. And this string will be used for PIN.

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

stef2pont

understood !

The PINApply is used for modify the pin code, correct ?
C++ Builder 3, 5, 6 and now C++ Builder 2009, runing under Win2000, XP and now Vista

Roman Novgorodov

Hello

All actions with GSM are possible after activation only.

The following is more correct :

if nrGsm1.PINGetStatus <> ' READY' then begin
  nrGsm1.PIN = "1234";
  nrGsm1.PINApply;
  Update;
else
... it's all ok.... and continue.....


Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

stef2pont

C++ Builder 3, 5, 6 and now C++ Builder 2009, runing under Win2000, XP and now Vista