Denis Kenzior
16118320fd
Utility to create SMS, both fragmented and not
2009-06-19 21:12:37 -05:00
Denis Kenzior
492795c4c8
Add utility function
2009-06-19 21:12:19 -05:00
Denis Kenzior
b49479b2b4
Minor style issue
2009-06-19 21:12:18 -05:00
Denis Kenzior
5068e895cb
Don't fail in own_buf if items_written is NULL
2009-06-19 21:12:16 -05:00
Denis Kenzior
fe486efadd
Fix another logic bug in SS parser
...
If the passwords do not match, it is still a recognized string,
but we must return invalid format
2009-06-18 16:58:08 -05:00
Denis Kenzior
2982a7962f
Minor style issue
2009-06-18 16:58:05 -05:00
Denis Kenzior
0c8aed38d7
Fix logic flow in SS parser
2009-06-18 16:58:03 -05:00
Andrzej Zaborowski
3fa13d4d25
Implement CallBarring::ChangePassword in AT driver
2009-06-18 16:58:02 -05:00
Andrzej Zaborowski
b091f7b186
Add CallBarring::ChangePassword
2009-06-18 16:58:00 -05:00
Andrzej Zaborowski
f93376229a
Teach USSD to recognise password change strings.
...
This is slightly hacky, part of ussd.c responsible for registering services
is duplicated and parse_ss_control_string is modified to accept a fourth
SI fragment in the input string.
2009-06-18 16:57:58 -05:00
Andrzej Zaborowski
9156607bc9
Move struct ussd_data definition out of the header.
...
No fuctional change.
2009-06-18 16:57:57 -05:00
Denis Kenzior
713cbac79a
Mention Yang's contribution
2009-06-18 15:29:05 -05:00
Denis Kenzior
b876ada550
Mention Aki's contribution
2009-06-18 15:28:32 -05:00
Denis Kenzior
4b9f025084
Mention Rémi's contribution
2009-06-18 15:27:59 -05:00
Denis Kenzior
98a3826ab8
Don't bother reporting subscriber numbers by type
2009-06-18 04:02:15 -05:00
Denis Kenzior
6fdf580a5d
Cleanup EFmsisdn reading patch
2009-06-18 04:02:13 -05:00
Denis Kenzior
314478c756
Add a new extract_bcd_number utility
2009-06-18 04:02:10 -05:00
Andrzej Zaborowski
1c6d44d9c0
Read own numbers from EFmsisdn instead of AT+CNUM.
2009-06-18 04:02:08 -05:00
Denis Kenzior
c3e3750ebb
Minor style fixes
2009-06-18 04:02:06 -05:00
Andrzej Zaborowski
2b451eaeab
Add record based file capability to sim_ops
...
Add capability to read / write / stat files on the SIM. This now
supports cyclic, linear fixed and transparent SIM files.
Parse GET RESPONSE result to find structure of the file (cyclic, linear
fixed, or transparent), the file size and the record length.
Add both read and update capability for binary and record-based files.
Implement writing sim files through AT.
2009-06-18 04:02:05 -05:00
Andrzej Zaborowski
498759f2b6
Use GET RESPONSE sim command to retrieve EF length
...
Also accept 0x9f as a success status word 1 for READ BINARY (GSM specific).
2009-06-18 04:02:03 -05:00
Andrzej Zaborowski
3b9e5c19e8
Fix NetworkRegistration test by fixing indentation.
...
[Sorry if you get this mail or some of the other mails a second time,
I sent a copy from an unsubscribed address yesterday].
2009-06-18 04:02:02 -05:00
Denis Kenzior
58e573bf63
Phonebook API tweak
2009-06-17 18:20:22 -05:00
Denis Kenzior
1dbfc02d6c
Add call-history driver type
2009-06-17 18:20:20 -05:00
Denis Kenzior
c892f36dc2
Return slist elements back to the allocator
2009-06-17 18:20:17 -05:00
Denis Kenzior
5fa4cd895c
Refactor phonebook code
...
Use immediate mode reporting, which means that the individual CPBR
lines are reported up to the core immediately. This has a couple
advantages:
- We do not need to malloc/free a bunch of single variables
and copy them over. Helps performance.
- The lines are not buffered up and given to the plugin in one
shot, instead processing is performed piecemeal. This helps
with keeping memory consumption down to a minimum
2009-06-16 16:42:02 -05:00
Denis Kenzior
fc98cf91a8
Use library functions appropriately
...
Instead of using custom parsing, use the existing library
functionality in result iter open_list, next_range and close_list
2009-06-16 16:42:00 -05:00
Denis Kenzior
3dc86e65e1
No need for mainloop in this test
2009-06-16 16:39:00 -05:00
Denis Kenzior
d22e6f4ed5
Header guards not to be present in private headers
2009-06-16 16:38:56 -05:00
Denis Kenzior
5bcc74d857
Fix SMS port addressing
2009-06-16 16:38:50 -05:00
Denis Kenzior
79e39e4016
SMS 8-Bit and 16-Bit ports are not the same
2009-06-16 16:38:47 -05:00
Denis Kenzior
6ea7dba3b6
Fix not being able to set some attributes
2009-06-16 16:38:44 -05:00
Denis Kenzior
087472c402
Fix test case
2009-06-16 16:38:42 -05:00
Denis Kenzior
867117243a
Cleanup phonebook implementation
2009-06-16 16:38:39 -05:00
Denis Kenzior
db51d5b8ac
Fix style issues
2009-06-16 16:38:36 -05:00
Denis Kenzior
43a441e8f5
Change some defines
2009-06-16 16:38:34 -05:00
Denis Kenzior
9a2ab0de83
Don't use spaces and use tabs instead
2009-06-16 16:38:32 -05:00
Denis Kenzior
6acfa4e046
Re-arrange destruction order
2009-06-16 16:38:27 -05:00
Denis Kenzior
be4a4691aa
Make const-correct
2009-06-16 16:38:26 -05:00
Denis Kenzior
b648a112f2
Improve string parsing code
...
Currently next_string and next_hexstring functions use a static
buffer in the iterator to store the value. This value is clobbered
as soon as next_string or next_hexstring is called. Instead,
we copy the entire line in iter_next and use it as a scratch buffer.
The only limitation is that lines of max 2048 are possible, however
these are limited to around this size by parts of the standard.
2009-06-16 16:38:24 -05:00
Denis Kenzior
69372e642e
Add g_at_send_listing function
2009-06-16 16:38:19 -05:00
Yang Gu
f00af45270
Export phonebook as vCard 3.0 format
2009-06-16 16:38:17 -05:00
Denis Kenzior
ac4aeac3d6
Rework CMGR as an unsolicited notification
...
Since the PDU line doesn't have a prefix, the parser can get confused
if other unsolicited notifications arrive. There is already explicit
support for unsolicited notifications with PDU, so we use that
instead
2009-06-16 16:38:15 -05:00
Denis Kenzior
8241c3f025
Add SMS fragment assembly capabilities
2009-06-14 02:02:16 -05:00
Denis Kenzior
e9a0e82e53
Add Unit test for SMS re-assembly code
2009-06-14 02:02:16 -05:00
Denis Kenzior
c5511db5c5
Add utilities for SMS re-assembly
2009-06-14 02:02:16 -05:00
Denis Kenzior
f443493ddb
Fix SMS Concatenation header parsing
2009-06-14 02:02:16 -05:00
Denis Kenzior
93c2a630b0
Change function signature
2009-06-14 02:02:16 -05:00
Aki Niemi
ede04ed8ca
Fix to use negative error return in gisi/client.c
2009-06-15 11:33:34 +03:00
Aki Niemi
e5f0290ddb
Rename ISI client and PhoNet netlink APIs
...
- Add g_ prefix to functions
- Add G-prefix and use CamelCasing in types
2009-06-15 11:27:16 +03:00