diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2010-01-08 10:53:42 +0200 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2010-01-11 10:51:00 +0200 |
commit | c03cdaed9a16559e40360a601c07dbfacbce24ad (patch) | |
tree | 8e1f7a30b4495ba61eb5aaabab966eff74f54815 /drivers/isimodem/phonebook.c | |
parent | 06afe598f542eb4dc8a17fb4e80bf440f85f7e27 (diff) | |
download | ofono-c03cdaed9a16559e40360a601c07dbfacbce24ad.tar.bz2 |
Split ISI codepoints to separate files
Also, adding infrastructure for debugging ISI messages, with APIs for
turning most common fields into human readable string format.
Diffstat (limited to 'drivers/isimodem/phonebook.c')
-rw-r--r-- | drivers/isimodem/phonebook.c | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/drivers/isimodem/phonebook.c b/drivers/isimodem/phonebook.c index f0e63097..f5c5e470 100644 --- a/drivers/isimodem/phonebook.c +++ b/drivers/isimodem/phonebook.c @@ -39,41 +39,10 @@ #include <ofono/phonebook.h> #include "util.h" -#include "isi.h" - -#define PHONEBOOK_TIMEOUT 5 -#define PN_SIM 0x09 - -enum pb_message_id { - SIM_PB_REQ_SIM_PB_READ = 0xDC, - SIM_PB_RESP_SIM_PB_READ = 0xDD -}; - -enum pb_service_types { - SIM_PB_READ = 0x0F -}; - -enum pb_sub_block_id { - SIM_PB_INFO_REQUEST = 0xE4, - SIM_PB_STATUS = 0xFB, - SIM_PB_LOCATION = 0xFE, - SIM_PB_LOCATION_SEARCH = 0xFF -}; - -enum pb_type { - SIM_PB_ADN = 0xC8 -}; - -enum pb_tag { - SIM_PB_ANR = 0xCA, - SIM_PB_EMAIL = 0xDD, - SIM_PB_SNE = 0xF7 -}; - -enum pb_status { - SIM_SERV_OK = 0x01, - SIM_SERV_NO_MATCH = 0x16 -}; +#include "isimodem.h" +#include "isiutil.h" +#include "sim.h" +#include "debug.h" struct pb_data { GIsiClient *client; |