From f32da73a875f87c5c3add3ddb9abb274bec6e0e5 Mon Sep 17 00:00:00 2001 From: Luca Pawlik Date: Mon, 5 Apr 2021 23:32:25 +0200 Subject: [PATCH] fix(bluetooth-le): add missing status type value and add missing (optional) address property to NotifyParams interface (#3613) --- src/@ionic-native/plugins/bluetooth-le/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/bluetooth-le/index.ts b/src/@ionic-native/plugins/bluetooth-le/index.ts index 8e73a03cd2..965fbb174f 100644 --- a/src/@ionic-native/plugins/bluetooth-le/index.ts +++ b/src/@ionic-native/plugins/bluetooth-le/index.ts @@ -40,7 +40,8 @@ export type Status = | 'advertisingStarted' | 'advertisingStopped' | 'responded' - | 'notified'; + | 'notified' + | 'notificationSent'; /** Available connection priorities */ export type ConnectionPriority = 'low' | 'balanced' | 'high'; @@ -88,6 +89,8 @@ export interface NotifyParams { characteristic: string; /** Base64 encoded string, number or string */ value: string; + /** Android only: address of the device the notification should be sent to. */ + address?: string; } export interface RespondParams {