Skip to content

Commit f32da73

Browse files
authored
fix(bluetooth-le): add missing status type value and add missing (optional) address property to NotifyParams interface (#3613)
1 parent cc79a1e commit f32da73

File tree

1 file changed

+4
-1
lines changed
  • src/@ionic-native/plugins/bluetooth-le

1 file changed

+4
-1
lines changed

src/@ionic-native/plugins/bluetooth-le/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export type Status =
4040
| 'advertisingStarted'
4141
| 'advertisingStopped'
4242
| 'responded'
43-
| 'notified';
43+
| 'notified'
44+
| 'notificationSent';
4445

4546
/** Available connection priorities */
4647
export type ConnectionPriority = 'low' | 'balanced' | 'high';
@@ -88,6 +89,8 @@ export interface NotifyParams {
8889
characteristic: string;
8990
/** Base64 encoded string, number or string */
9091
value: string;
92+
/** Android only: address of the device the notification should be sent to. */
93+
address?: string;
9194
}
9295

9396
export interface RespondParams {

0 commit comments

Comments
 (0)