Commit Graph

3059 Commits

Author SHA1 Message Date
Marcel Holtmann 0e4aaf0042 Add another test script for USSD transactions 2010-08-16 19:09:30 +02:00
Denis Kenzior 0b2beb0068 gatutil: Handle non-printable characters
Signed arithmetic and shifts do not work well...
2010-08-16 11:25:19 -05:00
Denis Kenzior cc67a29551 ussd: Be extra pedantic trying to Cancel
If we initiated a Respond() transaction, but have not returned from the
callback.  Or if we already called Cancel and it hasn't returned yet.
2010-08-16 11:02:05 -05:00
Denis Kenzior 3791f4418a doc: update USSD api for possible errors 2010-08-16 10:41:35 -05:00
Denis Kenzior 0699de64eb ussd: Properly handle cancellations 2010-08-16 10:41:35 -05:00
Denis Kenzior f86bc5ebde dbus: Add Canceled error 2010-08-16 10:41:35 -05:00
Marcel Holtmann 89d77da833 Add simple test script to cancel USSD transactions 2010-08-16 17:07:28 +02:00
Marcel Holtmann 7e01bef1b4 zte: Add support for sms, cbs, ussd and phonebook atoms 2010-08-16 15:28:31 +02:00
Marcel Holtmann 885880512d zte: Add initial support for devinfo, sim and netreg atoms 2010-08-16 15:16:01 +02:00
Marcel Holtmann 83a04505bf netreg: Add quirk for ZTE modem without CIND support 2010-08-16 15:14:17 +02:00
Marcel Holtmann 78a304de71 Fix typo in Huawei port detection 2010-08-16 14:49:54 +02:00
Marcel Holtmann 0a18997416 Add udev detection support for ZTE modems 2010-08-16 14:49:04 +02:00
Marcel Holtmann 3e93fbca03 Add skeleton for ZTE modem support 2010-08-16 14:48:41 +02:00
Denis Kenzior fa822e906e atutil: Don't try parsing lac/ci when unregistered 2010-08-13 18:29:42 -05:00
Denis Kenzior d6f81ef17a gprs: Fix up some attach/detach logic issues
Parts of it are related to Meego bug 5193, namely that we don't properly
signal the Attached status when powering down.

Another part of the fix is that we automatically detach in case our
conditions are not fulfilled if the modem attaches automatically (e.g.
Auto-Attach is enabled)
2010-08-13 18:17:04 -05:00
Denis Kenzior f51b8af585 nwemodem: Fix up radio-settings driver 2010-08-13 14:00:43 -05:00
Denis Kenzior bdc9cdaaf6 hsomodem: Fix up radio-settings driver 2010-08-13 14:00:43 -05:00
Sjur Brændeland 72bc61976c stemodem: Copy if_caif.h from 2.6.36 RC 2010-08-13 14:00:43 -05:00
Sjur Brændeland 83ef53484a build: Make distcheck pass
distcheck fails due to rename of dataconnectionmanager-api.txt
2010-08-13 14:00:43 -05:00
Denis Kenzior bab23b3976 voicecall: Make hangup_all work for 911 calls 2010-08-13 14:00:43 -05:00
Marcel Holtmann 5d52804373 TODO: Mention the proposed Lockdown property name 2010-08-13 17:56:51 +02:00
Denis Kenzior 8523bcb786 TODO: Add GPS power atom task 2010-08-13 10:36:40 -05:00
Denis Kenzior ba6a77c40a TODO: Add ofono_sim_ready_notify task 2010-08-13 10:33:53 -05:00
Denis Kenzior 71d107beb3 TODO: update with hardware dependencies 2010-08-13 10:21:03 -05:00
Denis Kenzior 9a00f06329 stemodem: register should not be called from probe 2010-08-12 23:46:02 -05:00
Denis Kenzior 361773f4d8 stemodem: Use g_at_chat_clone 2010-08-12 23:44:07 -05:00
Denis Kenzior 71d309ab50 stemodem: Fix minor whitespace issue 2010-08-12 23:41:19 -05:00
Denis Kenzior e916acc353 nwemodem: Use g_at_chat_clone 2010-08-12 23:40:47 -05:00
Denis Kenzior de94bf4082 mbmmodem: Use g_at_chat_clone 2010-08-12 23:40:14 -05:00
Denis Kenzior ecc774b0f2 hsomodem: Use g_at_chat_clone 2010-08-12 23:37:52 -05:00
Denis Kenzior fa8f094a96 calypso: Use g_at_chat_clone 2010-08-12 23:34:44 -05:00
Denis Kenzior ac524be99f atmodem: Use g_at_chat_clone 2010-08-12 16:40:40 -05:00
Denis Kenzior 5f47eca7ed gatchat: Add g_at_chat_clone
This function will clone a chat object, but will create a new group
internally.
2010-08-12 16:06:32 -05:00
Denis Kenzior 2356ebf9ef gatchat: Make GAtChat a facade for struct at_chat
Each GAtChat object is now simply a representation of a set of
outstanding commands and registered unsolicited notification handlers.
This makes it easy to cancel entire groups, e.g. by canceling the
GAtChat object itself rather than forcing the user into tracking all
relevant g_at_chat_register and g_at_chat_send ids.
2010-08-12 16:06:27 -05:00
Denis Kenzior 3b34dd44f1 phonesim: Support set_online/post_online 2010-08-12 15:53:59 -05:00
Denis Kenzior ad8607994f modem: Be consistent when naming callback typedefs 2010-08-12 15:46:46 -05:00
Denis Kenzior 9194a71813 doc: Describe EmergencyNumbers property 2010-08-12 13:22:50 -05:00
Denis Kenzior c7b13ec2fe voicecall: Relax restriction for hangup_active
If hangup_active is present, then a single active call in a 3-way
situation is hung up using hangup_active.
2010-08-12 13:15:52 -05:00
Denis Kenzior fa2c29c84f voicecall: Move some stuff around 2010-08-12 13:13:53 -05:00
Sjur Brændeland f65ab1a9da stedriver: Copy caif_socket.h from 2.6.36 RC
Copied include/linux/caif/caif_socket.h and
added AF_CAIF, PF_CAIF and SOL_CAIF definitions
found in linux/include/socket.h.
2010-08-12 11:32:12 -05:00
Sjur Brændeland 5a935a43fd stedriver: remove unsupported CAIF socket ioctls 2010-08-12 11:32:12 -05:00
Denis Kenzior 2c9a2b8a99 voicecall: Don't hangup waiting calls
During hangup_all operation.  For multiparty hangups, waiting calls are
not part of the mpty call.
2010-08-12 11:32:12 -05:00
Denis Kenzior dcf1c32f4c voicecall: Make logic bit cleaner 2010-08-12 11:32:12 -05:00
Denis Kenzior 516d1545a1 voicecall: Minor style issues 2010-08-12 11:32:12 -05:00
Denis Kenzior 10e9bdf4c1 voicecall: Reflow the logic of voicecall_hangup 2010-08-12 11:32:12 -05:00
Sjur Brændeland 9a24ece0fb voicecall: Add support for function hangup_all
This patch fixes problem for modems that cannot terminate
DIALING/ALERTING calls with CHUP=1X. The main change is that
voicecall driver's hangup function is split into the functions
hangup_all and hangup_active.

Changes:
- In cases where hangup previously was used, hangup_all is used
  if implemented otherwise hangup_active is used.
- Call in state DIALING/ALERTING is released with hangup_active if
  implemented.
- manager_hangup_all will simply call hangup_all if implemented.
- manager_hangup_all will release calls in state
  ALERTING/DIALING/INCOMING using hangup_active otherwise
  release_specific.
2010-08-12 11:32:12 -05:00
Sjur Brændeland dde0a4ccb5 voicecall: Rename hangup to hangup_active 2010-08-12 11:32:12 -05:00
Marcel Holtmann ee31188114 doc: Update connection manager API (GPRS context) 2010-08-11 14:39:47 -04:00
Marcel Holtmann 31adbb5c03 doc: Rename message manager API documentation 2010-08-11 14:33:33 -04:00
Marcel Holtmann 2c22a5a3a8 doc: Update network registration and operator API
Change the network registration API to reflect simplification in the
operator selection and scanning handling for applications.
2010-08-11 14:31:43 -04:00