Commit Graph

8869 Commits

Author SHA1 Message Date
Denis Kenzior c74ea2093f Fix case where CMGS returns an error before pdu
Commands like CMGS might return an error before the entire command
has been submitted.  This results in gatchat stalling completely.
2009-07-07 14:34:00 -05:00
Denis Kenzior db71137fd2 Update unit tests 2009-07-07 14:33:59 -05:00
Denis Kenzior 8d88ff2e11 Don't process surrogate pair chars
These are not valid UCS2 chars
2009-07-07 14:33:59 -05:00
Denis Kenzior 5f04cb1c3e Fix length check for valid UCS2 starting with 0xff 2009-07-07 14:33:59 -05:00
Denis Kenzior 35f7c4b068 Fix status of operator unknown case
When the current operator is reported, it's status is listed as
unknown if no other operators are in the operator list
2009-07-07 14:33:59 -05:00
Aki Niemi b3a166abea Fix error value to no error in success 2009-07-07 14:29:42 +03:00
Aki Niemi 5a09379263 Initialize to NULL 2009-07-07 14:18:11 +03:00
Rémi Denis-Courmont 360fd4b43b gisi: malloc -> free 2009-07-07 13:25:15 +03:00
Aki Niemi 8411088d0c Add modem attribute retrieval
Refactor isimodem.c to add support for querying modem attributes over
the ISI protocol.
2009-07-07 13:24:40 +03:00
Denis Kenzior a51700abf5 Fix another small memory leak in unit tests 2009-07-06 19:38:44 -05:00
Denis Kenzior c093a75f89 Convert SIM strings properly 2009-07-06 19:33:30 -05:00
Denis Kenzior ea43098867 Add unit test for SIM string conversion utility 2009-07-06 19:33:28 -05:00
Denis Kenzior 467db7dd7f Add utility to convert SIM FS strings to UTF8 2009-07-06 19:33:24 -05:00
Denis Kenzior 36b52d4f87 Update unit test for empty strings 2009-07-06 19:32:24 -05:00
Denis Kenzior ee38e24040 GSM to UTF8 should accept empty strings 2009-07-06 19:32:23 -05:00
Rémi Denis-Courmont a8138acce5 gisi: call to non existent function 2009-07-06 10:44:40 +03:00
Rémi Denis-Courmont 073261e507 Use phonet.h 2009-07-03 08:47:26 -07:00
Rémi Denis-Courmont e34e16b341 Replacement header for Phonet definitions 2009-07-03 08:32:14 -07:00
Rémi Denis-Courmont 1206287664 Do not include <config.h> from headers
It should be included _first_ in all modules, and it is not proof
against multiple inclusions.
2009-07-03 07:54:25 -07:00
Denis Kenzior c722e8077c Add Unit test for CBS assembly utilities 2009-07-02 19:03:05 -05:00
Denis Kenzior a9f776123e Add Cell Broadcast assembly utilities 2009-07-02 19:03:05 -05:00
Denis Kenzior bf2543b207 Fix memory leaks in unit tests 2009-07-02 19:03:05 -05:00
Denis Kenzior 807201e969 Fix memory leak 2009-07-02 19:03:05 -05:00
Denis Kenzior d717908c69 Don't hardcode 2009-07-02 19:03:04 -05:00
Denis Kenzior 5ec2e69daf Update unit test 2009-07-02 19:03:04 -05:00
Denis Kenzior e391d8d581 Add CBS Text converter utility 2009-07-02 19:03:04 -05:00
Denis Kenzior ac56263a57 Add cbs lang to ISO 639 conversion utility 2009-07-02 19:03:04 -05:00
Denis Kenzior 8d99a2a25f Add app-port extraction utility for CBS 2009-07-02 19:03:04 -05:00
Denis Kenzior d73dae9f2a Make sms_udh_iter work for Cell Broadcast messages 2009-07-02 19:03:04 -05:00
Denis Kenzior cd7ee03542 Add unit test for CBS encode / decode 2009-07-02 19:03:04 -05:00
Denis Kenzior b1602d49e5 Add Cell Broadcast encoding / decoding utilities 2009-07-02 19:03:04 -05:00
Denis Kenzior 97d53bf0ec Add DCS decoder for Cell Broadcast 2009-07-02 19:03:04 -05:00
Santtu Lakkala 5f87902443 Add support for tty on character device.
Adds support for using ttys through a serial device directly.
2009-07-01 21:59:27 +03:00
Denis Kenzior 595407f65b Fix uninitialized use of bufpos 2009-07-01 10:48:51 -05:00
Yang Gu 56863f7f50 Change sequence in phonebook merge_list 2009-07-01 10:48:51 -05:00
Marcel Holtmann 5cd2207a80 Add support for AM_SLIENT_RULES 2009-06-30 18:36:56 -07:00
Marcel Holtmann 08b81f37a1 Add support for opening TTYs directly 2009-06-30 12:53:26 -07:00
Rémi Denis-Courmont 6a2dd31a89 gisi: fix extracting Phonet address from Netlink 2009-06-29 21:03:09 +03:00
Rémi Denis-Courmont 91753078b0 Fix GISI_CFLAGS
This fixes the failure to include <gisi/netlink.h>.
2009-06-29 21:03:04 +03:00
Rémi Denis-Courmont c1b8ac0a83 ofonod: missing dependencies on convenience libraries
Without this, plain "make" does not work properly when gatchat or
gisi, or one of the built-in drivers or plugins are modified.
2009-06-29 21:01:35 +03:00
Rémi Denis-Courmont 99a425cca7 Fix bootstrap-configure when building from subdir 2009-06-29 20:59:01 +03:00
Denis Kenzior 74bbdea02d Preserve clip_validity
CLCC does not report clip_validity.  So if clip_validity of witheld
has been reported in CLIP, but we're still somehow polling CLCC,
which happens if CRING is not supported, and RING is used instead,
this fact can be lost.  Make sure we preserve clip_validity if
possible
2009-06-25 11:45:29 -05:00
Denis Kenzior 4357f33d25 Number and Number Type are optional in CLCC
According to 27.007, the number and number type are optional.  We must
take care not to do anything unexpected in this case.
2009-06-25 11:45:29 -05:00
Yang Gu 8f737d8699 Add E-UTRAN as access technology of network op 2009-06-25 11:45:29 -05:00
Aki Niemi 21389a1e05 Delete old placeholder 2009-06-25 10:04:02 +03:00
Aki Niemi 66604021bd Add new ISI modem driver to build 2009-06-25 10:03:47 +03:00
Aki Niemi 7d31520831 Add baseline for ISI modem driver 2009-06-25 10:03:27 +03:00
Aki Niemi 490840e011 gisi: Fix documentation and add API for resource ID 2009-06-25 09:42:06 +03:00
Denis Kenzior 97afa57b7a Print new line as intended 2009-06-24 20:00:19 -05:00
Denis Kenzior 6793cc7800 Another type safety fix 2009-06-24 20:00:19 -05:00