apache / mynewt-documentation

Apache MyNewt Documentation
18 stars 47 forks source link

No "host/ble_hs.h" file #52

Closed hmcashan13 closed 6 years ago

hmcashan13 commented 6 years ago

This is the error message I'm getting:


Compiling apps/ble_app/src/main.c Error: apps/ble_app/src/main.c:4:25: fatal error: host/ble_hs.h: No such file or directory

include "host/ble_hs.h"


I used the exact source code that is offered and I was able to run the bare bones application with no problem. I'm working with a nrf52 Adafruit feather with boot loader pre-soldered with myNewt pre-bootloaded and a J-Link Segger mini.

andrzej-kaczmarek commented 6 years ago

you need to include NimBLE host packages in your app, e.g. @apache-mynewt-nimble/nimble/host you will also need at least HCI transport package: @apache-mynewt-nimble/nimble/transport

btw, which example did you use to setup NimBLE?