999f8e00de
The one derived from the filename is identical. Deriving it from the filename is the preferred approach. In KF6, log messages are printed out if the Id is needlessly specified. A mismatching Id vs basename would print out a warning. |
||
---|---|---|
.. | ||
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.