You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/api/connectivity/bluetooth/GattServer.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,14 @@ You can query the server by invoking the function `areUpdatesEnabled()` to find
16
16
17
17
#### Events
18
18
19
-
You can register several event handlers with the GattServer that will be used to notify you of client (remote application connected to the server) and server activities:
20
-
21
-
-`onDataSent`: Register an event handler with the GattServer that will be called by it when it sends a characteristic value update to a client.
22
-
-`onDataWriten`: Register an event handler with the GattServer that will be called by it when a client has written an attribute of the server.
23
-
-`onDataRead`: Register an event handler with the GattServer that will be called by it when a client has read an attribute of the server.
24
-
-`onUpdatesEnabled`: Register an event handler with the GattServer that will be called by it when a client subscribes to updates for a characteristic.
25
-
-`onUpdatesDisabled`: Register an event handler with the GattServer that will be called by it when a client unsubscribes from updates for a characteristic.
26
-
-`onConfimationReceived`: Register an event handler with the GattServer that will be called by it when a client acknowledges a characteristic value notification.
19
+
You can register several event handlers with the GattServer that it will call to notify you of client (remote application connected to the server) and server activities:
20
+
21
+
-`onDataSent`: Register an event handler with the GattServer that it will call to notify you when it sends a characteristic value update to a client.
22
+
-`onDataWriten`: Register an event handler with the GattServer that it will call to notify you when a client has written an attribute of the server.
23
+
-`onDataRead`: Register an event handler with the GattServer that it will call to notify you when a client has read an attribute of the server.
24
+
-`onUpdatesEnabled`: Register an event handler with the GattServer that it will call to notify you when a client subscribes to updates for a characteristic.
25
+
-`onUpdatesDisabled`: Register an event handler with the GattServer that it will call to notify you when a client unsubscribes from updates for a characteristic.
26
+
-`onConfimationReceived`: Register an event handler with the GattServer that it will call to notify you when a client acknowledges a characteristic value notification.
27
27
28
28
The term characteristic value update represents Characteristic Value Notification and Characteristic Value Indication when the nature of the server initiated is not relevant.
0 commit comments