diff --git a/README.md b/README.md index 840bac63206dabea3887290675204840f6b499ff..0b30a08ff7eb91cdd4b8b41a63bb76d0fa4475b4 100644 --- a/README.md +++ b/README.md @@ -106,13 +106,13 @@ BleManager.getInstance().read( setTimeout(()=> { _this.appendDataText(HexUtil.formatHexString(data, true)); }); - } + }; public onReadFailure(exception: BleException): void { setTimeout(()=> { _this.appendDataText(exception.toString()); }); - } + }; }); ``` 8. 写数据