aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ble.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ble.md b/docs/ble.md
index 107e9e4..0632bf5 100644
--- a/docs/ble.md
+++ b/docs/ble.md
@@ -33,6 +33,7 @@ specific API functions.
[NoInterfaceObject]
interface BLE {
+ void disconnect();
void on(string eventType, EventCallback callback);
void startAdvertising(string name, string[] uuids, string url);
void stopAdvertising();
@@ -90,6 +91,12 @@ interface Characteristic {
API Documentation
-----------------
+### BLE.disconnect
+
+`void disconnect();`
+
+Disconnect the remote client.
+
### BLE.on
`void on(string eventType, EventCallback callback);`