|
PebbleOS v4.47.0-512-g5285d4236
|
Handles the SMS check-in code used to reauthenticate SMS replies. More...
Functions | |
| bool | nexmo_is_reauth_sms (const struct pbl_bt_ancs_attr *app_id, const struct pbl_bt_ancs_attr *message) |
| Check whether a notification is a reauthentication SMS. | |
| void | nexmo_handle_reauth_sms (uint32_t uid, const struct pbl_bt_ancs_attr *app_id, const struct pbl_bt_ancs_attr *message, iOSNotifPrefs *existing_notif_prefs) |
| Forward a reauthentication SMS to the phone and dismiss it. | |
Handles the SMS check-in code used to reauthenticate SMS replies.
| void nexmo_handle_reauth_sms | ( | uint32_t | uid, |
| const struct pbl_bt_ancs_attr * | app_id, | ||
| const struct pbl_bt_ancs_attr * | message, | ||
| iOSNotifPrefs * | existing_notif_prefs | ||
| ) |
Forward a reauthentication SMS to the phone and dismiss it.
Stores the message in the app's notification prefs as an auth code attribute, which syncs it to the phone, then performs the ANCS negative action so the user never sees it.
| uid | ANCS UID of the SMS notification. |
| app_id | App identifier attribute. |
| message | Message attribute. |
| existing_notif_prefs | Existing prefs of the Messages app. |
| bool nexmo_is_reauth_sms | ( | const struct pbl_bt_ancs_attr * | app_id, |
| const struct pbl_bt_ancs_attr * | message | ||
| ) |
Check whether a notification is a reauthentication SMS.
| app_id | App identifier attribute. |
| message | Message attribute. |