f740a8bda8
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
connectivity_reportplugin.cpp | ||
connectivity_reportplugin.h | ||
kdeconnect_connectivity_report.json | ||
README |
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.