Strange errors when adding Bluethoth Nimble to my app

lg.lindstrom
Posts: 48
Joined: Fri Sep 17, 2021 4:02 pm

Strange errors when adding Bluethoth Nimble to my app

Postby lg.lindstrom » Fri Dec 23, 2022 2:03 pm

As the title says. I have a big applicatioen and decided to att BLE.

In the example directory of ESP-IDF there is a nimble folder with a spp_server app.
I followed the example and added more or less a copy to my application.

Compiling I getting lots of errors simular this...

Code: Select all

esp-idf/components/bt/host/nimble/nimble/porting/nimble/include/os/os.h:34:19: error: expected unqualified-id before '(' token
   34 | #define min(a, b) ((a)<(b)?(a):(b))
      |                   ^

This is a file I not even be close to change...

My guess is that the configuration have gone wrong,,, but which parameter ???

Who is online

Users browsing this forum: Majestic-12 [Bot] and 125 guests