Commit Graph

2685 Commits

Author SHA1 Message Date
Marcel Holtmann 86caf654de Add test script for setting CBS topics 2010-06-09 18:58:38 -07:00
Marcel Holtmann 118759d5ba Enable Qualcomm specific CBS quirk for Novatel and Huawei devices 2010-06-09 18:42:09 -07:00
Marcel Holtmann a774d9ed49 Add quirk for Qualcomm issues with setting CBS topic ranges 2010-06-09 18:40:59 -07:00
Marcel Holtmann 88d083c4fd Coding style fix for the PIN type table 2010-06-09 18:23:05 -07:00
Andrzej Zaborowski b95ef22f61 stkutil: Refactor stk_location_info
In some cases an empty stk_location_info means that no object should be
emitted (e.g. it is optional) and in other cases an empty object should
be emitted.  This is context specific to the terminal response /
envelope and thus we break this up into two separate functions.
2010-06-09 19:29:15 -05:00
Andrzej Zaborowski 08c689ca7c test-stkutil: MO SMS Control envelope tests 2010-06-09 18:03:20 -05:00
Andrzej Zaborowski 5684577171 stkutil: Add MO SMS Control envelope builder 2010-06-09 18:03:00 -05:00
Denis Kenzior 70b09d1742 simutil: Remove unneeded forward-declaration 2010-06-09 13:08:23 -05:00
Andrzej Zaborowski 4dcb3fed2a simutil: Fix MMC MNC encoding for 2-digit MNCs. 2010-06-09 13:07:09 -05:00
Andrzej Zaborowski 9f925b3620 util: Add a "sim string" encoding utility. 2010-06-09 12:43:27 -05:00
Andrzej Zaborowski 6120e487b5 test-stkutil: Menu Selection envelope tests 2010-06-09 12:30:58 -05:00
Andrzej Zaborowski b2dfa2321f stkutil: Add the Menu Selection envelope builder 2010-06-09 12:30:19 -05:00
Andrzej Zaborowski 758005a7c4 test-stkutil: CBS-PP Data Download envelope tests 2010-06-09 12:28:58 -05:00
Andrzej Zaborowski 569c252e48 Fix: download CBS to SIM even when "Powered" is 0 2010-06-09 12:27:24 -05:00
Andrzej Zaborowski 7e5ef25c5a stk: Use envelope encoding utility from stkutil.c 2010-06-09 12:26:32 -05:00
Andrzej Zaborowski f989541161 stkutil: Add CBS-PP Data Download envelope builder 2010-06-09 12:25:25 -05:00
Andrzej Zaborowski d9f4abfd3f test-stkutil: SMS-PP Data Download envelope tests 2010-06-09 12:23:48 -05:00
Andrzej Zaborowski 8be222d46e stkutil: Add SMS-PP Data Download envelope builder 2010-06-09 12:23:13 -05:00
Andrzej Zaborowski ef408ae1a6 stkutil: Use static buf in stk_pdu_from_response 2010-06-09 12:19:52 -05:00
Denis Kenzior 1d8bb1bab6 atmodem: Fix CPUC parser
Apparently some modems are extra stupid:

AT+CPUC?\r
\r\n+CPUC: \r\nOK\r\n

So if we fail to parse the response, return an error
2010-06-07 20:36:40 -05:00
Denis Kenzior 719842ea39 gatchat: Check for disconnection when resuming
If the internal GAtIO is no longer valid, treat it as if our channel was
disconnected.
2010-06-07 19:32:26 -05:00
Denis Kenzior cc6a43c477 huawei: Rework huawei plugin
- Use the PCUI (event) port for all commands unrelated to ppp
- Use the Modem port for ppp
2010-06-07 19:07:05 -05:00
Denis Kenzior 588b689d2b netreg: whitespace style 2010-06-07 19:06:57 -05:00
Denis Kenzior 6a480bb861 netreg: Add Huawei RSSI unsolicited callback 2010-06-07 19:06:36 -05:00
Denis Kenzior fc634f114c Mention Florian's contributions 2010-06-07 19:05:49 -05:00
Denis Kenzior 71ea72adf2 udev: Fixup Huawei detection 2010-06-07 19:04:36 -05:00
Florian Steinel 5c0bdac347 udev: Add support for Huawei E176 2010-06-07 16:08:29 -05:00
Denis Kenzior 06ecf0e7f5 cbs: Send ETWS topics last 2010-06-07 15:08:58 -05:00
Denis Kenzior 0a14493673 test: Refactor previous commit 2010-06-07 13:14:50 -05:00
Pasi Miettinen 27cdb7254d test: Set UseDeliveryReports in send-sms 2010-06-07 13:09:40 -05:00
Denis Kenzior ba5ec3b38e sms: style fix, remove extra newline 2010-06-07 13:05:50 -05:00
Pasi Miettinen 47082757b9 sms: Add UseDeliveryReports property 2010-06-07 13:05:13 -05:00
Pasi Miettinen ccb362383c test-sms: Update unit test to the new API 2010-06-07 13:01:19 -05:00
Pasi Miettinen 475c0de92c smsutil: Add option to use delivery reports 2010-06-07 13:00:46 -05:00
Denis Kenzior 19c10877a5 include: More style issues 2010-06-07 12:57:50 -05:00
Denis Kenzior c8f15602cf network: Some style issues 2010-06-07 12:57:50 -05:00
Denis Kenzior 11c8156543 atmodem: Optimize cops queries
This patch is meant to do two things:
- Some modems, like the Novatel, report bogus operator information when
  not registered, as opposed to simply returning empty strings.  In this
  case we're a little bit more explicit about checking the returned
  mcc/mnc string
- If we determine that the mcc/mnc string is bogus, we don't schedule
  the alphanumeric cops query and return early.
2010-06-07 12:57:50 -05:00
Denis Kenzior 3d96880f41 netreg: Ignore operator info when not registered
Sometimes when we roam off the cell or are simply not registered, the
modem still reports a bogus operator.  We explicitly ignore this
condition in the core.
2010-06-07 12:57:46 -05:00
Marcel Holtmann ee3343f81b Add test script for enabling cell broadcast 2010-06-07 04:02:31 -07:00
Marcel Holtmann 0329a6ceaf Reopen the GPRS context channel when the modem closes it after PPP 2010-06-07 02:36:12 -07:00
Marcel Holtmann 6178173160 Restore GAtChat disconnect handling when resuming a chat session 2010-06-07 02:18:39 -07:00
Denis Kenzior 16071b5324 Update TODO 2010-06-06 20:01:11 -05:00
Marcel Holtmann edc33cfdb3 Use event channel for SMS, CBS and USSD with Huawei devices 2010-06-06 18:22:03 -07:00
Marcel Holtmann 45ba3b9a7c Add special SMS handling for Huawei based devices 2010-06-06 18:21:30 -07:00
Marcel Holtmann d990308c69 Enable CBS and USSD for Huawei modems 2010-06-06 15:52:02 -07:00
Marcel Holtmann 6ab0b6f29a Fix detection of Huawei E220 and E270 modems 2010-06-06 15:51:36 -07:00
Marcel Holtmann f1c209d973 Move AT_ODO quirk into HSO driver instead of network registration 2010-06-06 15:27:34 -07:00
Marcel Holtmann 360abb0f5b Use hsomodem instead of hso for Option HSO GPRS atom driver 2010-06-06 15:20:48 -07:00
Marcel Holtmann 8a96a250f0 Enable Option specific radio settings 2010-06-06 15:19:32 -07:00
Marcel Holtmann 30b054d0e0 Add support for Option specific radio settings 2010-06-06 15:18:57 -07:00