kdeconnect-kde/plugins/connectivity-report
Alexander Lohnau f740a8bda8 Use target-centric CMake approach for declaring debug category
This makes it easier to read, because we do not have to handle a list of
files that get added to the targets. In other KDE projects, we also
prefer the target centric approach.

In case one wants to reuse the same category in multiple places, it
would be best to create a small static lib. But for now, this is not
needed.
2023-07-22 20:51:19 +00:00
..
CMakeLists.txt Use target-centric CMake approach for declaring debug category 2023-07-22 20:51:19 +00:00
connectivity_reportplugin.cpp Provide default implementation for KdeConnectPlugin::connected 2023-07-22 16:06:21 +02:00
connectivity_reportplugin.h Provide default implementation for KdeConnectPlugin::connected 2023-07-22 16:06:21 +02:00
kdeconnect_connectivity_report.json Remove explicit plugin Id 2023-07-22 20:51:19 +00:00
README Add backend for ConnectivityReport plugin 2021-03-12 23:27:16 +00:00

This plugins receives packages with type "kdeconnect.connectivity_report" and reads the
following fields:

signalStrengths (object<string, object>): Maps each SIM (subscription ID) to the following object:
    networkType (string):
        One of "5G", "LTE", "CDMA", "EDGE", "GPRS", "GSM", "HSPA", "UMTS", "CDMA2000", "iDEN", "Unknown"
    signalStrength (int) [0..=4]: The signal strength

It also sends empty packages with type kdeconnect.connectivity_report.request
to ask the peer device to send a package like the mentioned above.