diff options
author | Marc Petit-Huguenin <petithug@gmail.com> | 2010-07-14 12:33:15 -0700 |
---|---|---|
committer | Marc Petit-Huguenin <petithug@gmail.com> | 2010-07-27 17:23:41 -0700 |
commit | a1b379c65f787fc85bd9c6f4a6d14d8a2bebc9d5 (patch) | |
tree | 7b3e7fb07704a507f0914e8e6290546b59045934 /telephony/sim_card.h | |
parent | 657a3521a1f4d354b57f0e524b1cd57bed177bb0 (diff) | |
download | external_qemu-a1b379c65f787fc85bd9c6f4a6d14d8a2bebc9d5.zip external_qemu-a1b379c65f787fc85bd9c6f4a6d14d8a2bebc9d5.tar.gz external_qemu-a1b379c65f787fc85bd9c6f4a6d14d8a2bebc9d5.tar.bz2 |
Make the GSM simulator more realistic
- The phone number of the phone is now built by concatenating "1555521"
to the console port.
- Convert number in remote call by concatenating "1555521" to the port
number.
- Convert called number to a number starting with "1555521".
- Fixed a bug in sms_address_to_str where the length returned is
incorrect is the length of the phone number to convert is odd.
Change-Id: Iefbdd866b6e41f6086c6e0cc33026551e3d5ae8f
Diffstat (limited to 'telephony/sim_card.h')
-rw-r--r-- | telephony/sim_card.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/sim_card.h b/telephony/sim_card.h index af78237..1bab1ba 100644 --- a/telephony/sim_card.h +++ b/telephony/sim_card.h @@ -16,7 +16,7 @@ typedef struct ASimCardRec_* ASimCard; -extern ASimCard asimcard_create( void ); +extern ASimCard asimcard_create( int from_port ); extern void asimcard_destroy( ASimCard sim ); typedef enum { |