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: doc/manual/docs-template/profiles.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -630,8 +630,8 @@ identify a Characteristic without hard-coding the attribute ID, the GATT
630
630
compiler creates a list of defines in the generated \*.h file.
631
631
632
632
Similar to other protocols, it might be not possible to send any time.
633
-
To send a Notification, you can call *att_server_request_can_send_now*
634
-
to receive a ATT_EVENT_CAN_SEND_NOW event.
633
+
To send a Notification, you can call *att_server_request_to_send_notification*
634
+
to request a callback, when yuo can send the Notification.
635
635
636
636
If your application cannot handle an ATT Read Request in the *att_read_callback*
637
637
in some situations, you can enable support for this by adding ENABLE_ATT_DELAYED_RESPONSE
@@ -718,7 +718,7 @@ Step 4:
718
718
As described [above](#sec:GATTServerProfiles) all read/write requests are handled by the application.
719
719
To implement the new services as a reusable module, it's necessary to get access to all read/write requests related to this service.
720
720
721
-
For this, the ATT DB allows to register read/write callbacks for a specific handle range with *att_server_register_can_send_now_callback()*.
721
+
For this, the ATT DB allows to register read/write callbacks for a specific handle range with *att_server_register_service_handler()*.
722
722
723
723
Since the handle range depends on the application's .gatt file, the handle range for Primary and Secondary Services can be queried with *gatt_server_get_get_handle_range_for_service_with_uuid16*.
0 commit comments