fix(bluetooth-le): add missing status type value and add missing (optional) address property to NotifyParams interface (#3613)

This commit is contained in:
Luca Pawlik 2021-04-05 23:32:25 +02:00 committed by GitHub
parent cc79a1edb7
commit f32da73a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {