Commit Graph

19 Commits

Author SHA1 Message Date
Denis Kenzior 8d380f8fa0 Add vendor flag capability for sms 2009-09-01 18:14:58 -05:00
Denis Kenzior 8c92e3dd18 Remove modem member from cb_data 2009-08-19 18:35:08 -05:00
Denis Kenzior 1c61fa3db4 Port SMS AT modem driver to the new API 2009-08-19 18:35:06 -05:00
Denis Kenzior cb75833fc8 Rename ofono_modem_userdata 2009-07-29 16:44:16 -05:00
Denis Kenzior 4dae83636c Use int for MoreMessagestoSend (mms) 2009-07-27 17:09:35 -05:00
Denis Kenzior a3a2190f03 Add experimental support for MT incoming sms store
Some Nokia modems only support "MT" as the incoming sms store.
Presumably the modem has some intelligence to pick the right store
depending on the SMS class.  This means that oFono must now track
what the current store is, and issue a CPMS, CMGR & CMGD when a
CMTI notification arrives.
2009-07-16 11:44:48 -05:00
Denis Kenzior 7104169eb2 Fix printing binary version of the pdu 2009-07-15 15:51:29 -05:00
Denis Kenzior 2effe63667 Fix CNMI parsing, it uses ranges not just a list 2009-07-15 11:49:06 -05:00
Denis Kenzior 4fa4f491a4 Add some more debugging to SMS driver 2009-07-15 11:49:06 -05:00
Denis Kenzior 14436de30f Fix sms looking for text mode instead of pdu mode 2009-07-15 11:49:06 -05:00
Denis Kenzior 3d24c2654d SMS sending in AT backend 2009-06-19 21:15:05 -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 3a28213072 Add Basic SMS reception capabilities
- Can receive 7Bit, 8Bit and UCS2 encoded messages
- 8Bit is assumed to be a datagram to a certain port
- Messages with Invalid format are ignored
- Concatenation not yet supported
2009-06-12 21:43:26 -05:00
Denis Kenzior 3a7164c0e7 Fix memory leak 2009-06-12 19:40:51 -05:00
Denis Kenzior 5846688988 Rename sms utilities properly
Rename encode_sms to sms_encode
Rename decode_sms to sms_decode
2009-06-05 19:58:09 -05:00
Denis Kenzior b149dc166c Add proper handling for various messages
Handle Deliver / Status Report / Cell Broadcast messages and send the
appropriate acknowledgement PDUs (+CNMA) if required
2009-06-05 19:57:37 -05:00
Denis Kenzior 973b33f47e Add colons to SMS prefixes 2009-06-05 19:57:01 -05:00
Denis Kenzior 3dcd15a4d8 Add SMS interface initialization code for atmodem 2009-06-03 21:08:47 -05:00
Denis Kenzior 373bf7e6bf Forgot this for SMS driver 2009-06-01 14:05:36 -05:00