Commit Graph
2754 Commits
Author SHA1 Message Date
Ben Chan e997803594 sim: validate IMSI value in +CIMI response 2012-08-27 11:13:51 +02:00
Aleksander Morgado a1d6667df9 novatel: don't claim the Novatel E362, should be handled by `novatel-lte' 2012-08-26 23:01:50 +02:00
Aleksander Morgado 0436b3e457 api,introspection: report list of drivers, not just one
Different ports of the same modem may get handled by different drivers. We
therefore need to provide a list of drivers (new `Modem.Drivers' property with
signature 'as') instead of just one (removed `Modem.Driver' property with
signature 's').

$ sudo mmcli -m 0 | grep drivers
           |        drivers: 'qcserial, qmi_wwan'
2012-08-24 13:34:51 +02:00
Aleksander Morgado a595912d2d novatel: fix creation of the `MMBroadbandModemNovatel' object 2012-08-24 13:09:17 +02:00
Aleksander Morgado 985f510041 cli: fix output message when storing a SMS 2012-08-24 12:32:29 +02:00
Aleksander Morgado ba4e209745 sms: fix sending SMS messages on some modems
This is the port to git master of the following commit:

commit 65f13f41cfd00cd38f118121a58b83713501f45f
Author: Dan Williams <dcbw@redhat.com>
Date:   Tue Jul 17 16:00:31 2012 -0500

    gsm: fix sending SMS messages on some modems and use PDU by default

    It turns out we really do have to wait for the modem to return the
    ">" prompt before sending the message data, otherwise a number of
    modems will complain about the data and fail the message.  Fix that
    by sending the first bit of the CMGS, waiting for the ">", and then
    sending the rest.

    This also switches all modems over to PDU mode by default if they
    support it, since it's more compatible and most recent modems don't
    even bother to support text mode anyway.
2012-08-24 12:32:29 +02:00
Aleksander Morgado 4fe7c7d637 base-modem-at: new `mm_base_modem_at_command_raw()'
Equivalent to `mm_base_modem_at_command()', but with a raw setup.
2012-08-24 12:32:29 +02:00
Aleksander Morgado d18dbb869a base-modem-at: add 'raw' handling to `mm_base_modem_at_command_full()' 2012-08-24 12:32:29 +02:00
Aleksander Morgado d9ea4a304c at-serial-port: allow sending 'raw' commands
Commands treated as 'raw' won't get the 'AT' prefix and will also not get the
trailing carriage return.
2012-08-24 12:32:28 +02:00
Aleksander Morgado d74336e96d build: warn about unused but set variables 2012-08-24 11:37:38 +02:00
Aleksander Morgado 20cd805a2a build: cleanup plugin compilation rules 2012-08-23 18:56:24 +02:00
Aleksander Morgado e1aa7d376f mbm: plugin fully ported 2012-08-23 18:56:24 +02:00
Aleksander Morgado 2d0cb24af8 mbm: implement custom 3GPP disconnection sequence 2012-08-23 18:56:23 +02:00
Aleksander Morgado 3ddb57d816 mbm: implement custom 3GPP dialling sequence 2012-08-23 18:56:23 +02:00
Aleksander Morgado 2f20fc64c2 mbm: new `MMBroadbandBearerMbm' object 2012-08-23 18:56:23 +02:00
Aleksander Morgado 3753184eb1 mbm: implement custom PIN retry count loading 2012-08-23 18:56:23 +02:00
Aleksander Morgado 3cdfa93c73 mbm: implement custom modem factory reset 2012-08-23 18:56:23 +02:00
Aleksander Morgado 1fa82ebd40 mbm: implement custom modem reset 2012-08-23 18:56:23 +02:00
Aleksander Morgado ef300a69b6 mbm: receive E2NAP unsolicited messages 2012-08-23 18:56:23 +02:00
Aleksander Morgado e9941b1b80 mbm: implement custom 3GPP unsolicited messages setup/cleanup
Including access technology reporting now.
2012-08-23 18:56:23 +02:00
Aleksander Morgado 08825d361c mbm: no need to flash serial ports 2012-08-23 18:56:23 +02:00
Aleksander Morgado 894ff1be68 mbm: ignore several unsolicited messages 2012-08-23 18:56:23 +02:00
Aleksander Morgado 49f5bc98e2 mbm: only allow enabling if *EMRDY has been received 2012-08-23 18:56:23 +02:00
Aleksander Morgado 6c6cbb33e7 mbm: implement custom initialization commands 2012-08-23 18:56:23 +02:00
Aleksander Morgado 2a06d1ed08 mbm: implement custom power-up command 2012-08-23 18:56:23 +02:00
Aleksander Morgado efe4a7fb75 mbm: implement custom 3GPP unsolicited events enabling/disabling 2012-08-23 18:56:23 +02:00
Aleksander Morgado 78a716e07b mbm: implement custom allowed mode setting 2012-08-23 18:56:23 +02:00
Aleksander Morgado e2c7ff2219 mbm: implement custom allowed mode loading 2012-08-23 18:56:23 +02:00
Aleksander Morgado 758eb07c0d mbm: sleep 500ms after sim unlock 2012-08-23 18:56:23 +02:00
Aleksander Morgado ea53df17dd mbm: new `MMBroadbandModemMbm' object 2012-08-23 18:56:23 +02:00
Aleksander Morgado c7c21ae460 mbm: start porting the MBM plugin 2012-08-23 18:56:23 +02:00
Aleksander Morgado 24bb59f5a5 sierra: plugin fully ported 2012-08-23 18:56:23 +02:00
Aleksander Morgado 6b1ee4e3cb sierra: both AT and QCDM expected 2012-08-23 18:56:22 +02:00
Aleksander Morgado 896e0469f0 sierra: implement custom CDMA detailed registration checks 2012-08-23 18:56:22 +02:00
Aleksander Morgado 5764d39689 modem-helpers: ERI parser is generic enough, not just for !SPERI 2012-08-23 18:56:22 +02:00
Aleksander Morgado 86e7b0e8c6 sierra: custom power-down command for CDMA modems 2012-08-23 18:56:22 +02:00
Aleksander Morgado 5b9c1625b6 sierra: custom power-up command for CDMA modems 2012-08-23 18:56:22 +02:00
Aleksander Morgado 7027c6e972 sierra: custom 3GPP disconnection sequence 2012-08-23 18:56:22 +02:00
Aleksander Morgado d8bc27a8c3 sierra: custom 3GPP dialling sequence 2012-08-23 18:56:22 +02:00
Aleksander Morgado d091344da2 broadband-bearer: pass down the data port to the 3GPP dialling step
Plugins may require specific dialling commands depending on the port type.
2012-08-23 18:56:22 +02:00
Aleksander Morgado 3666168c12 sierra: new `MMBroadbandBearerSierra' object 2012-08-23 18:56:22 +02:00
Aleksander Morgado 79b4c4b47d sierra: implement custom ports setup 2012-08-23 18:56:22 +02:00
Aleksander Morgado 96a6e8923a broadband-bearer: generic CDMA connections are all over serial port and PPP 2012-08-23 18:56:22 +02:00
Aleksander Morgado e38828c318 broadband-bearer: allow implementations to override the port used for connection 2012-08-23 18:56:22 +02:00
Aleksander Morgado 3dfb48d75a sierra: custom SIM identifier loading 2012-08-23 18:56:22 +02:00
Aleksander Morgado 0c80815ea2 sierra: new `MMSimSierra' object 2012-08-23 18:56:22 +02:00
Aleksander Morgado cd2174d2ef sierra: implement custom allowed/preferred mode setting 2012-08-23 18:56:22 +02:00
Aleksander Morgado bce0a2c48e sierra: implement custom allowed/preferred mode loading 2012-08-23 18:56:22 +02:00
Aleksander Morgado b6fb78ffd7 sierra,icera: implement custom power up sequence 2012-08-23 18:56:22 +02:00
Aleksander Morgado 713eb28484 sierra: new `MMBroadbandModemSierraIcera' object 2012-08-23 18:56:22 +02:00