Gemalto Cinterion P-family modems expose hardware related commands to monitor temperature and voltage. The following patches add a custom interface in Gemalto plugin.
Implementation is based on ril_intel and smart-messaging plugins for DBus interface creation and callback handling. Create DBus interface org.ofono.HardwareMonitor with two methods GetTemperature and GetVoltage. First patch registers the DBus interface and create the DBus method table. Second patch implements the DBus methods with AT command calls and DBus message handling. Vincent Cesson (2): gemalto: Prepare new interface for hardware monitoring gemalto: Implement HardwareMonitor methods plugins/gemalto.c | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) -- 1.9.1 _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
