esp-nimble icon indicating copy to clipboard operation
esp-nimble copied to clipboard

Compilation fails with extended advertising enabled.

Open h2zero opened this issue 10 months ago • 6 comments

Checklist

  • [X] Checked the issue tracker for similar issues to ensure this is not a duplicate
  • [X] Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • [X] Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

compile without errors

Actual behavior (suspected bug)

Will not compile when extended advertising is enabled.

Error logs or terminal output

/opt/esp/idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:6922:9: error: implicit declaration of function 'ble_gap_master_set_timer'; did you mean 'ble_gap_master_timer'? [-Werror=implicit-function-declaration]
 6922 |         ble_gap_master_set_timer(duration_ticks);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
      |         ble_gap_master_timer
cc1: some warnings being treated as errors

Steps to reproduce the behavior

Enable extended advertising and not connection reattempt.

Project release version

latest

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

latest

Shell

Bash

Additional context

https://github.com/espressif/esp-nimble/commit/275e6820cda2862e636c35b1acecfe67978684c7#r150288200

h2zero avatar Dec 12 '24 15:12 h2zero