Skip to content

Commit

Permalink
fix(bluetooth-le): add missing status type value and add missing (opt…
Browse files Browse the repository at this point in the history
…ional) address property to NotifyParams interface (#3613)
  • Loading branch information
lupalabs authored Apr 5, 2021
1 parent cc79a1e commit f32da73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/@ionic-native/plugins/bluetooth-le/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export type Status =
| 'advertisingStarted'
| 'advertisingStopped'
| 'responded'
| 'notified';
| 'notified'
| 'notificationSent';

/** Available connection priorities */
export type ConnectionPriority = 'low' | 'balanced' | 'high';
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit f32da73

Please sign in to comment.