Commit Graph

2667 Commits

Author SHA1 Message Date
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
Marcel Holtmann 5340901ad3 Use unquoted strings for cell information of Novatel devices 2010-06-06 13:14:57 -07:00
Marcel Holtmann fabf28cf02 Set Novatel quirk also for the GPRS atom 2010-06-06 13:13:02 -07:00
Marcel Holtmann 45bf4cf396 Add support for handling CNTI=0 request with Novatel devices 2010-06-06 13:12:37 -07:00
Marcel Holtmann 197d2c08bd Check the supported technologies for Novatel devices on startup 2010-06-06 12:05:10 -07:00
Marcel Holtmann 71335f3d9c Add test scripts for radio technology preference 2010-06-06 11:11:57 -07:00
Marcel Holtmann 63d1efdf7f Enable Novatel specific radio settings 2010-06-06 11:08:41 -07:00
Marcel Holtmann 5b504e8a0d Add support for Novatel specific radio settings 2010-06-06 11:08:16 -07:00
Marcel Holtmann e2024acebd Add Novatel Wireless (NW) specific modem driver 2010-06-06 11:05:48 -07:00
Marcel Holtmann 4f4565b33a Add disconnect callback handling to Novatel plugin 2010-06-05 22:37:02 -07:00
Marcel Holtmann e92040671d Use secondary port for everything besides GPRS with Novatel devices
If a Novatel device allows to enable a secondary AT command based
channel, then use that for device information, SIM handling, network
registration etc. and only leave the GPRS context setup to the first
command port.
2010-06-04 21:12:09 -07:00
Marcel Holtmann f6d252cf04 Rename Novatel ports into Primary and Secondary 2010-06-04 19:38:05 -07:00
Denis Kenzior 6e27f89f08 Mention Pasi's contributions 2010-06-04 15:46:45 -05:00
Marcel Holtmann 78cc0e8efa Enable CBS and USSD for Option HSO based devices 2010-06-04 13:01:32 -07:00
Denis Kenzior 2b1c433daa hso: Enable OUWCTI notifications 2010-06-04 14:21:58 -05:00
Denis Kenzior 69e5a65d34 smsutil: status reports also lead with SC_ADDR 2010-06-04 14:21:57 -05:00
Denis Kenzior 56d14e1fe1 atmodem: Put some common code into a utility 2010-06-04 14:21:57 -05:00
Pasi Miettinen 6220c01f4a Change in at_cds_notify for status report 2010-06-04 14:21:57 -05:00
Marcel Holtmann 5dab6f4913 Use Internet access instead of Example for context name 2010-06-04 12:20:33 -07:00