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/01/06 05:25:56 UTC

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

prasad-alatkar commented on pull request #899:
URL: https://github.com/apache/mynewt-nimble/pull/899#issuecomment-755087174


   I am a little surprised and confused with below build error as there is `#include "host/ble_gap.h"` in btshell app.
   
   ```
   Error: apps/btshell/src/main.c: In function 'btshell_datalen':
   
   apps/btshell/src/main.c:1922:10: error: implicit declaration of function 'ble_hs_hci_util_set_data_len'; did you mean 'ble_hs_hci_util_set_random_addr'? [-Werror=implicit-function-declaration]
   
        rc = ble_hs_hci_util_set_data_len(conn_handle, tx_octets, tx_time);
   
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   
             ble_hs_hci_util_set_random_addr
   
   cc1: all warnings being treated as errors
   
   ```


----------------------------------------------------------------
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