sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
462 stars 179 forks source link

Issue with nRF52-DK #254

Closed jkpachunk closed 5 years ago

jkpachunk commented 5 years ago

I have used this library in the past for the nRF52-DK in the Platformio IDE. Recently though whenever I go to compile the sketch I receive the following error:

"ble_gatts.h: No such file or directory"

I have tried compiling the remote_test.ino sketch in both the Arduino and Platformio IDE and I keep getting the same error. What could potentially be causing this issue?

SL06 commented 5 years ago

From what I have read, you have o flash the Softdevice first and it will solve the problem, Good luck.

jkpachunk commented 5 years ago

Thank you very much that was the issue! I found out how to include a soft device through the Platformio tutorials.