kdeconnect-kde/plugins/connectivity-report
Alexander Lohnau 1631ada5b3 Simplify KDEConnectPlugin::recievePacket
- We do not need the return type. If a plugin declares it can handle the
  packet it should do so. We don't have any fallback logic in place and
  the packet types are namespaced with the plugin IDs anyway.

- Provide a default implementation with a warning, not all plugins need
  to overwrite this
2023-08-03 20:49:44 +02:00
..
CMakeLists.txt Use versionless Qt targets where possible 2023-07-25 18:29:38 +02:00
connectivity_reportplugin.cpp Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
connectivity_reportplugin.h Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
kdeconnect_connectivity_report.json SVN_SILENT made messages (.desktop file) - always resolve ours 2023-07-30 01:37:54 +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.