Commit Graph

3385 Commits

Author SHA1 Message Date
Lucas De Marchi e57df97584 Simplify linker script
Version linker scripts support function names and globs, so there's no
need to rely on nm tool to gather the exported symbols.
2010-09-21 23:25:50 +09:00
Jeevaka Badrappan 64b0af24bd stk: Language Notification proactive cmd support 2010-09-21 08:44:48 -05:00
Denis Kenzior 7e32ced1f3 example_history: Update to the new internal API 2010-09-21 08:44:48 -05:00
Denis Kenzior 251ac0ebd2 sms: Update to the new history API 2010-09-21 08:44:48 -05:00
Denis Kenzior e5f86783d8 build: Make unit test compile with new dependency 2010-09-21 08:44:48 -05:00
Denis Kenzior 04634af6fe common: Implement ofono_uuid_to_str 2010-09-21 08:44:48 -05:00
Denis Kenzior dbd7639d25 history: Update to the new SHA1 based sms id API 2010-09-21 08:44:48 -05:00
Denis Kenzior 753cab6f70 unit: Update test-sms to the new sr assembly api 2010-09-21 08:44:48 -05:00
Denis Kenzior 03c8177208 sms: Update to the new status report assembly api 2010-09-21 08:44:47 -05:00
Denis Kenzior e345a6b579 smsutil: update SR assembly to use SHA1 msg ids 2010-09-21 08:44:47 -05:00
Denis Kenzior 02cca88bcc sms: Get rid of NextMessageId setting 2010-09-21 08:44:47 -05:00
Denis Kenzior b086f57ec0 sms: Reflow manager methods table 2010-09-21 08:44:47 -05:00
Denis Kenzior 016f168f47 sms: Refactor __ofono_sms_txq_submit 2010-09-21 08:44:47 -05:00
Denis Kenzior 63c8b720fe sms: Refactor txq_entry_create 2010-09-21 08:44:47 -05:00
Denis Kenzior 9d52a9d215 sms: Refactor outgoing sms id generator 2010-09-21 08:44:47 -05:00
Inaky Perez-Gonzalez 1683c03140 sms: replace sequential SMS message ID with hash
The SMS messages's ID number (used for history, D-Bus naming and
storage in external database) is updated to use a hash (based on PDUs
and submission time) to further avoid ID collision concerns.
2010-09-21 08:44:47 -05:00
Denis Kenzior 852a65bcdd sms: Compute SHA1 based UUID for incoming messages 2010-09-21 08:44:47 -05:00
Denis Kenzior 5a336a1cfb include: Introduce ofono_uuid 2010-09-21 08:44:47 -05:00
Marcel Holtmann 9415cf5d2f Use DBUS_CONFDIR variable instead of DBUS_DATADIR 2010-09-21 19:12:15 +09:00
Kalle Valo 78842faa30 huawei: fix online logic
The recently introduced online support to huawei didn't work with my
Huawei E1552. The problem was that with command AT+CFUN=1;+CFUN=5
the modem didn't initialise the sim state properly.

To fix this I changed the logic so that CFUN=5 is called only after the sim
state has switched to a valid state. Now my Huawei E1552 works with connman
again.

PIN locked SIMs still won't work. The problem is that it takes some time for
the sim state to go to a valid state:

Sep 20 15:01:57 dell-m520 ofonod[12451]: Pcui:< \r\n+CPIN: READY\r\n\r\nOK\r\n
[...]
Sep 20 15:02:00 dell-m520 ofonod[12451]: huawei: invalid sim state in post online (0)
[...]
Sep 20 15:02:01 dell-m520 ofonod[12451]: Pcui:< \r\n^SIMST:1\r\n

I don't know why it takes so long to get a valid state.

There is also another issue, in "cold start" case the phonebook
initialisation fails:

Sep 20 14:34:24 dell-m520 ofonod[11939]: Pcui:> AT+CPBS=?\r
Sep 20 14:34:24 dell-m520 ofonod[11939]: Pcui:< \r\n+CME ERROR: SIM busy\r\n

But in "warm start" it seems to work:

Sep 20 14:38:59 dell-m520 ofonod[12091]: Pcui:> AT+CPBS=?\r
Sep 20 14:38:59 dell-m520 ofonod[12091]: Pcui:< \r\n+CPBS: ("SM","EN","ON")\r\n\r\nOK\r\n

I consider this as a minor issue and didn't investigate it at all.
2010-09-21 02:08:45 +09:00
Kalle Valo 940eaffa72 huawei: poll sim state
On my Huawei E1552 when I plug in the modem (ie. cold start) with PIN locked
SIM, the sim state is 255 (HUAWEI_SIM_STATE_NOT_EXISTENT). As the modem
doesn't send ^SIMST notifications, poll the sim state until it's ready.

In theory it might be possible to do this better, for example follow
^BOOT notifications or something, but it's unknown what parameter we
should check for.
2010-09-21 02:08:24 +09:00
Marcel Holtmann 9f906504a5 atmodem: Allow setting PPP debug via environment variable 2010-09-20 08:28:13 +09:00
Yang Gu 5d569e2ee6 hso: Enable phonebook atom 2010-09-19 20:38:13 +09:00
Marcel Holtmann a4aeedc3f0 ifxmodem: Add skeleton for Infineon driver plugin 2010-09-18 22:18:51 +09:00
Marcel Holtmann df807d6d0a ifx: Add skeleton for Infineon modem plugin 2010-09-18 22:13:53 +09:00
Marcel Holtmann 3443a7a177 udev: Add support for IFX device detection
The IFX device detection is pretty static, but instead of using
a static configuration file it is important to know when the device
node is actually present. For this udev is perfect. Adding a simple
udev rule is all that it takes:

KERNEL=="ttyIFX[0-9]*", ENV{OFONO_DRIVER}="ifx"

With this rule for every TTY with the kernel name like ttyIFX0, a new
modem will be added and the IFX modem plugin driver requested for it.
2010-09-18 22:08:41 +09:00
Denis Kenzior 315cfd4217 isimodem/ussd: Fix 64-bit compilation issue 2010-09-16 13:53:26 -05:00
Pekka Pessi fe14190935 isimodem/ussd: fix mobile-terminated cases
ACK notifys. Handle mobile-terminated requests gracefully.
2010-09-16 13:47:46 -05:00
Pekka Pessi 5e92604955 isimodem/debug: debug USSD type 2010-09-16 13:47:15 -05:00
Pekka Pessi 0d9473d8c8 test-ussd: read stdin for Response()s 2010-09-16 13:46:47 -05:00
Pekka Pessi 217c161cf5 ussd: debug log notifys 2010-09-16 13:46:25 -05:00
Pekka Pessi 4b8f2b037c ussd.h: +CUSD is documented in 27.007 section 7.15 2010-09-16 13:45:53 -05:00
Pekka Pessi a111048129 isimodem/ussd: clean const casts 2010-09-16 08:58:54 -05:00
Denis Kenzior e94e45143f TODO: Add Rich Text support task 2010-09-15 16:52:08 -05:00
Denis Kenzior 63be804e48 doc: Add features.txt document 2010-09-15 16:45:41 -05:00
Jeevaka Badrappan 0d809cd636 phonesim: set character set to GSM 2010-09-15 13:56:59 -05:00
Denis Kenzior c97489a161 ussd: Tweak buffer size 2010-09-15 12:11:08 -05:00
Denis Kenzior 41a55beef3 stk: Refactor Send USSD error handling 2010-09-15 12:03:02 -05:00
Denis Kenzior d966b6593b stk: Fix style issues 2010-09-15 11:58:29 -05:00
Denis Kenzior a0d476281d stkutil: Don't include USSD text unless needed 2010-09-15 11:58:00 -05:00
Jeevaka Badrappan 47ddc4b70d stk: Handling of Send USSD proactive command 2010-09-15 11:46:23 -05:00
Denis Kenzior 98e2b6b426 ussd: Give proper errors 2010-09-15 11:45:18 -05:00
Denis Kenzior 165fa52cdf ussd: No need for these structure members 2010-09-15 11:37:23 -05:00
Denis Kenzior ac9e1157ab test: Update monitor-ofono with USSD support 2010-09-15 11:36:26 -05:00
Jeevaka Badrappan 77361655c0 ussd: Add __ofono_ussd_initiate internal api 2010-09-15 11:36:03 -05:00
Denis Kenzior 3114a907ff ussd: Fix up minor style issue 2010-09-15 10:03:53 -05:00
Denis Kenzior f6a4d4a5ce ussd: Rework ussd_request
- Only allocate variables which are needed
- Make sure buffers are big enough
- converted is a simple string, no need to use fancy printf magic
2010-09-14 22:05:32 -05:00
Denis Kenzior 82e6ddfd4b ussd: Simplify ussd notification parser logic 2010-09-14 21:54:25 -05:00
Jeevaka Badrappan eb425a281f ussd: Driver API changes
To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive
Command.
2010-09-14 17:01:49 -05:00
Denis Kenzior adc0a1bd6c util: Clean up style issues 2010-09-14 12:00:28 -05:00