Add new DBUS method to enable calling the last dialled number.
---
 include/voicecall.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/voicecall.h b/include/voicecall.h
index eb897e5e..6871a6b5 100644
--- a/include/voicecall.h
+++ b/include/voicecall.h
@@ -61,6 +61,10 @@ struct ofono_voicecall_driver {
                        const struct ofono_phone_number *number,
                        enum ofono_clir_option clir, ofono_voicecall_cb_t cb,
                        void *data);
+       /* Dials the last number again, this handles the hfp profile last number
+         * dialing with the +BLDN AT command
+         */
+       void (*dial_last)(struct ofono_voicecall *vc, ofono_voicecall_cb_t cb, 
void *data);
        /* Answers an incoming call, this usually corresponds to ATA */
        void (*answer)(struct ofono_voicecall *vc,
                        ofono_voicecall_cb_t cb, void *data);
-- 
2.14.2

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to