[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting security code
From: |
Ladislav Michl |
Subject: |
Setting security code |
Date: |
Wed, 1 Jul 2009 01:19:04 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi there!
So it seems my old phone is going to die, so I resurrected new one. Nokia 6021.
Unfortunately security code was not set to sane default "12345". Therefore
I compiled gnokii for MacOSX (iBook has builtin Bluetooth) and tried to set
security code. To my surprise, relevant code path was commented out, so
I uncommented it and gnokii did its job.
What is the reason for FIXME bellow?
Index: gnokii/gnokii-security.c
===================================================================
RCS file: /sources/gnokii/gnokii/gnokii/gnokii-security.c,v
retrieving revision 1.14
diff -u -r1.14 gnokii-security.c
--- gnokii/gnokii-security.c 11 Nov 2008 18:01:43 -0000 1.14
+++ gnokii/gnokii-security.c 30 Jun 2009 21:05:59 -0000
@@ -192,10 +192,8 @@
security_code.type = GN_SCT_Pin2;
else if (!strcmp(type, "PUK2"))
security_code.type = GN_SCT_Puk2;
- /* FIXME: Entering of security_code does not work :-(
else if (!strcmp(type, "security_code"))
- security_code.type = GN_SCT_security_code;
- */
+ security_code.type = GN_SCT_SecurityCode;
else
return entersecuritycode_usage(stderr, -1);
@@ -281,10 +279,8 @@
security_code.type = GN_SCT_Pin2;
else if (!strcmp(type, "PUK2"))
security_code.type = GN_SCT_Puk2;
- /* FIXME: Entering of security_code does not work :-(
else if (!strcmp(type, "security_code"))
- security_code.type = GN_SCT_security_code;
- */
+ security_code.type = GN_SCT_SecurityCode;
else
return changesecuritycode_usage(stderr, -1);
Best regards,
ladis
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Setting security code,
Ladislav Michl <=