mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
fix(bluetooth-le): add missing status type value and add missing (optional) address property to NotifyParams interface (#3613)
This commit is contained in:
parent
cc79a1edb7
commit
f32da73a87
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user