Skip to content

Commit

Permalink
fix: added mtu to success callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ksievers-irco committed May 16, 2024
1 parent 6ffb5f7 commit c223d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ declare namespace BLECentralPlugin {

/* May be used to request (on Android) a larger MTU size to be able to send more data at once
[iOS] requestMtu is not supported on iOS. */
requestMtu(device_id: string, mtu: number, success?: () => any, failure?: () => any): void;
requestMtu(device_id: string, mtu: number, success?: (mtu: number) => any, failure?: () => any): void;

/* When Connecting to a peripheral android can request for the connection priority for faster communication.
[iOS] requestConnectionPriority is not supported on iOS. */
Expand Down

0 comments on commit c223d74

Please sign in to comment.