08 February 2005

Notes on AT+CKPD Command

A lot of people has been asking me on how to navigate SIMs in order to hack provider-specific menus. One method is by emulating keypad actions using AT Command for GSM with an appropriate Mobile Equipment(ME), is it really possible? Yes it is, but I am not going to drill in the step-by-step procedure of how to do that because that depends on programming language the developer will going to use. This is one practical approach if the STK developers don't want to share their APIs in public or there's just too much red tape to get one. Take note this is not cracking, keypad emulation is an open GSM standard.

First, keypad emulation must be enabled by calling AT+CMEC command via serial connection. This will respond accordingly if the command is successful and supported. The example shown uses Nokia 6610 as this is the only unit available for testing as of this writing. For Nokia 6610, the supported characters for keypad emulation are "0-9 * # Dd Ee Pp Ss Uu Vv ^ [ ]" as illustrated below.




The syntax for AT+CKPD is



AT+CKPD=<char<,<time>,<pause>



Where char is the character representation of the key to be pressed, time is the duration of time the key is pressed and pause is the pause time between key presses.

This technique will help in navigating a SIM using Nokia 6610. Great for top-ups or e-loading.

21 comments:

Pete Mendoza said...

interesting! hmm.. next question is, how to send values on the menu...

Jared said...

Same thing, just passed append the value to the AT+CKPD command.
for example you want to top-up for 09191234567.
AT+CKPD=0,0,0
AT+CKPD=9,0,0
AT+CKPD=1,0,0
AT+CKPD=9,0,0
...
until you complete the values.

Pete Mendoza said...

follow up question, is there an app wherein i could connect or send an AT command directly from a database? thanks

Jared said...

I don't know of any. But you can build one.

Pete Mendoza said...

i tried using windows terminal and i get error when issuing the AT+CKPD commands.

Jared said...

What's the model of your phone? did you initialize with AT+CMEC? did you properly terminate the command?

Pete Mendoza said...

i used a nokia 30 gsm modem and still no luck. is this compatible with nokia6610 or some lower versions? thanks

Anonymous said...

Don't expect any luck with Nokia 30 GSM Modem, it's a modem it doesn't have any keypad, so you can't emulate keypad actions. I have used Nokia 30 only for testing and receiving SMS applications.

Pete Mendoza said...

so this command only works with nokia6610 phones or a lower version can do? thanks

Anonymous said...

Nokia 60 series only those phones with softkeys.

Pete Mendoza said...

tried testing it on my 6610 phone connected to my pc as com1 but still no luck. i used hyperterminal and activecomport script from activexperts.. no luck still... could you enlighten me a bit on this? thanks.

Aming said...

hai, i want to know about accessing keypad in sony ericsson t60 cdma how ?
I already try AT+CKPD but not work.
Can any body help me thank's

Raquien said...

Hi,

Can you please repost the picture illustration? I'm planning to develop topup system. thanks for the help.

Raquien said...
This comment has been removed by the author.
JP said...

Hi,
I am trying AT+CKPD commands with my Nokia 6230i mobile, but I get ERROR message for all CKPD commands

For example :
AT+CKPD=1
ERROR
AT+CKPD=0
ERROR
AT+CKPD?
ERROR
AT+CKPD=?
ERROR

Is there any method for enabling/activate CKPD feature ?

Nouaman said...

HEllo jared,
im going to a really really stupid question because i will just start with working with this kind of stuff, my question is "How do i type or use AT+CKPD="p"10 on my phone"
My phone is a nokia N93i
If you can help me that would be great, thanks in advance
Oh you can either reply yo me at
amjad_9995@hotmail.com or in here but it would be better to reply in my email if possible thanks again

Nouaman said...

HEllo jared,
im going to a really really stupid question because i will just start with working with this kind of stuff, my question is "How do i type or use AT+CKPD="p"10 on my phone"
My phone is a nokia N93i
If you can help me that would be great, thanks in advance
Oh you can either reply yo me at
amjad_9995@hotmail.com or in here but it would be better to reply in my email if possible thanks again

Ketan Parmar said...

I tired AT+CKPD command in GSM Modem,
but not supported

Is it required to connect phone only ?

Ketan Parmar said...

I tired AT+CKPD command in GSM Modem,
but not supported

Is it required to connect phone only ?

reyt said...

Our website are the reliable wow gold and wow power leveling wow gold

Learning_Android said...

Hi Jared,
when I try to do AT+CMEC I get an error also i tried AT+CMEC=? and it gives me an error.

How can I check for initialization of AT+CMEC is there any other way to achieve the end objective i.e. working of AT+CKPD