Hi! At first look it seems that ofono stores permanently the next_msg_id only when the "sms_remove" functions is called, and that's does not happen when ofono quits in a not clean way.
During our tests, users reported bad behaivour of the sqlite history plugins and error messages about sqlite constraints violation, after a rude power off of the device (battery drained, forced shutdown with long press power button, and so on). That's becouse ofono on the next start reads an "old" next_msg_id from the permanent storage, so when sending/receiving a new message the history plugin fails to insert a new row as one with the same msg_id was already inserted in the prev session. Any suggestion to fix that? Finally, we'd like to use some "panic" function in ofono, that should power down all modems and warn clients when critical conditions happen. Is that possible? Regards Niko _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono