You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/03/15 06:14:43 UTC

[GitHub] [mynewt-nimble] prasad-alatkar commented on a change in pull request #899: NimBLE host: Make set Packet Length API public

prasad-alatkar commented on a change in pull request #899:
URL: https://github.com/apache/mynewt-nimble/pull/899#discussion_r594072651



##########
File path: nimble/host/include/host/ble_gap.h
##########
@@ -1214,6 +1214,23 @@ struct ble_gap_ext_adv_params {
     uint8_t sid;
 };
 
+/**
+ * Configure LE Data Length in controller (OGF = 0x08, OCF = 0x0022).
+ *
+ * @param conn_handle      Connection handle.
+ * @param tx_octets        The preferred value of payload octets that the Controller
+ *                         should use for a new connection (Range
+ *                         0x001B-0x00FB).
+ * @param tx_time          The preferred maximum number of microseconds that the local Controller
+ *                         should use to transmit a single link layer packet
+ *                         (Range 0x0148-0x4290).
+ *
+ * @return              0 on success,
+ *                      other error code on failure.
+ */
+int ble_hs_hci_util_set_data_len(uint16_t conn_handle, uint16_t tx_octets,

Review comment:
       @sjanc Thank you for valuable inputs :). I have made relevant changes.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org