Commit Graph
1993 Commits
Author SHA1 Message Date
Aleksander Morgado ccf16e00a7 ublox,helpers: avoid cast-align errors
We can safely cast the data in a GArray to gpointer first, and then
to the pointer type we require.

  ublox/mm-modem-helpers-ublox.c: In function 'parse_bands_from_string':
  ublox/mm-modem-helpers-ublox.c:1612:48: error: cast increases required alignment of target type [-Werror=cast-align]
           tmpstr = mm_common_build_bands_string ((MMModemBand *)(bands->data), bands->len);
                                                  ^
2020-05-19 13:44:23 +02:00
Aleksander Morgado 76d06ce697 cinterion,helpers: avoid cast-align errors
We can safely cast the data in a GArray to gpointer first, and then
to the pointer type we require.

  cinterion/mm-modem-helpers-cinterion.c: In function 'mm_cinterion_build_band':
  cinterion/mm-modem-helpers-cinterion.c:409:54: error: cast increases required alignment of target type [-Werror=cast-align]
           bands_string = mm_common_build_bands_string ((MMModemBand *)bands->data, bands->len);
                                                        ^
2020-05-19 13:44:23 +02:00
Aleksander Morgado b0be4e895c telit,helpers: avoid cast-align errors
We can safely cast the data in a GArray to gpointer first, and then
to the pointer type we require.

  telit/mm-modem-helpers-telit.c: In function 'mm_telit_build_bnd_request':
  telit/mm-modem-helpers-telit.c:256:55: error: cast increases required alignment of target type [-Werror=cast-align]
               bands_str = mm_common_build_bands_string ((const MMModemBand *)(bands_array->data), bands_array->len);
                                                         ^
  telit/mm-modem-helpers-telit.c:275:55: error: cast increases required alignment of target type [-Werror=cast-align]
               bands_str = mm_common_build_bands_string ((const MMModemBand *)(bands_array->data), bands_array->len);
                                                         ^
2020-05-19 13:44:23 +02:00
Aleksander Morgado 301b6f0a64 plugins,tests: avoid cast-align errors
We can safely cast the data in a GArray to gpointer first, and then
to the pointer type we require.

  tests/test-helpers.c: In function 'mm_test_helpers_compare_bands':
  tests/test-helpers.c:41:47: error: cast increases required alignment of target type [-Werror=cast-align]
       bands_str = mm_common_build_bands_string ((MMModemBand *)(bands->data), bands->len);
                                                 ^
  tests/test-helpers.c:46:56: error: cast increases required alignment of target type [-Werror=cast-align]
       expected_bands_str = mm_common_build_bands_string ((MMModemBand *)(expected_bands_array->data), expected_bands_array->len);
                                                          ^
2020-05-19 13:44:23 +02:00
Giacinto Cifelli fae614becf udev rules for the PLS62 in 005b enumeration 2020-05-16 09:37:46 +02:00
Aleksander Morgado 6b36fe9f19 huawei: NDISDUP based devices may use plain TTYs for control
So don't warn if no associated cdc-wdm port is found.
2020-05-15 14:12:12 +02:00
Giacinto Cifelli f109b528d3 plugins/cinterion: added Signal interface
Not all Cinterion modems support AT+CESQ.
However a much larger group of them support AT^SMONI
This commit uses the latter instead of the default former.
2020-05-15 13:49:18 +02:00
Aleksander Morgado 8b7bdea7e0 telit: flag GPS port in the LE910C1 2020-05-14 15:34:47 +00:00
David Khouya 9c77fb8834 telit: add LE910C1 udev rule 2020-05-14 15:34:47 +00:00
Aleksander Morgado 26b589cc02 broadmobi: new plugin
Right now, just with port type hints for the BM818.
2020-05-10 10:51:45 +02:00
Murithi Borona 479d8e723c huawei: updated HCSQ regex to match unquoted response 2020-04-28 15:09:49 +02:00
Teijo Kinnunen d98597e430 quectel: Check SIM swap after "+QUSIM: 1" URC
Quectel emits "+QUSIM: 1" after eUICC reinitialization. Detect it
and perform SIM swap check if one is encountered.

The motivation here is that M2M eUICC profile switch causes eUICC
reset and this is one way to detect and handle profile switches
properly on Quectel modems. The existing SIM hot swap mechanism is
used as it appears to be suitable for handling profile switches as
well as physical swapping of SIM cards.
2020-04-17 07:45:47 +00:00
Aleksander Morgado 8eaffb654f fibocom: add FM150 port type hints 2020-04-09 12:38:50 +00:00
Aleksander Morgado 03f625aa3b fibocom: support QMI capable devices 2020-04-09 12:38:50 +00:00
Aleksander Morgado 05301f23a1 iface-modem-3gpp: new 5GS network support 2020-04-09 12:38:50 +00:00
Aleksander Morgado 93e4c8625b plugin: don't match generic plugin by name 2020-04-08 17:53:42 +02:00
Aleksander Morgado 4b058872a0 plugins: don't add plugin name in log message explicitly 2020-04-08 17:53:42 +02:00
Aleksander Morgado 8722215f7e plugins: use logging module name as plugin name 2020-04-08 17:53:42 +02:00
Aleksander Morgado 997e2cefb8 log: define per-module logging for shared utils and plugins 2020-04-08 17:53:42 +02:00
Aleksander Morgado e956bac47b log: common logging method definition for all testers and helpers 2020-04-08 17:53:42 +02:00
Aleksander Morgado 4508c11796 zte: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado 35554aaeed xmm: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado 9c9e531130 x22x: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado ab47b56573 wavecom: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado c891595e3f via: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado ccd0f6de5a ublox: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado e04aa0ea5d tplink: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado 94a1559751 thuraya: no logging in plugin 2020-04-08 16:35:10 +02:00
Aleksander Morgado 98631e140e thuraya: return GError in custom CPMS parser 2020-04-08 16:35:10 +02:00
Aleksander Morgado 078c638165 telit: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado 9dbc346f93 simtech: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado d15da9cf60 sierra: port to use object logging 2020-04-08 16:35:10 +02:00
Aleksander Morgado aed9f46443 samsung: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado e623a54d27 quectel: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado d25163cca1 pantech: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 662f8afc56 option,hso: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 4e0a9b1985 novatel: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 793fc1c51a nokia: no logging in plugin 2020-04-08 16:35:09 +02:00
Aleksander Morgado 63955ce52d mtk: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 1edd4bb101 mbm: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 64ac1c19ff longcheer: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 62033b1b6e linktop: no logging in plugin 2020-04-08 16:35:09 +02:00
Aleksander Morgado 2da417c7a2 iridium: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado fe78612d6d icera: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 1cb39536e9 huawei: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 59e6e3b141 haier: no logging in plugin 2020-04-08 16:35:09 +02:00
Aleksander Morgado fb85b5cbf9 generic: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado a5df49c5f4 foxconn: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado 77080d5f26 fibocom: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado b3e56bc576 dlink: port to use object logging 2020-04-08 16:35:09 +02:00