[layer23] Fixed and completed SIM's PIN handling
authorAndreas.Eversberg <jolly@eversberg.eu>
Sun, 19 Sep 2010 10:52:42 +0000 (10:52 +0000)
committerAndreas.Eversberg <jolly@eversberg.eu>
Sun, 19 Sep 2010 10:52:42 +0000 (10:52 +0000)
commit5e1cf12d67be5f45d811fc5f2529ba6593981b92
tree8712b3bc5a9c2a67c2e8788e1517cfe6a4bccef5
parent0856c8a6a5ad48d810da598b421f81fc21d0ba55
[layer23] Fixed and completed SIM's PIN handling

Use VTY to handle PIN:

enable
sim pin 1 xxxx
sim change-pin 1 xxxx yyyy
sim disable-pin 1 xxxx
sim enable-pin 1 xxxx
sim unlock-pin 1 uuuuuuuu yyyy

1 = mobile station "1"
xxxx = current PIN
yyyy = new PIN
uuuuuuuu = unlock key (PuK)
src/host/layer23/include/osmocom/bb/common/sim.h
src/host/layer23/include/osmocom/bb/mobile/subscriber.h
src/host/layer23/src/common/sim.c
src/host/layer23/src/mobile/subscriber.c
src/host/layer23/src/mobile/vty_interface.c