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