Hi everyone !
I want to use serial communication with my ble project. So i tried to implement "/example/peripheral/serial " project into my ble project. I encountered too many errors but i fixed most of them by searching on DevZone. Now i got 4 errors and i couldn't fix them. My goal is using serial communication between my board with another custom board. Not over BLE.
Here is my output;
Building ‘nrf52-ble-tutorial-characteristic’ from solution ‘nrf52-ble-tutorial-characteristic’ in configuration ‘Release’
Linking nrf52-ble-tutorial-characteristic.elf
Output/nrf52-ble-tutorial-characteristic Release/Obj/nrf_drv_power.o: in function `nrf_drv_power_sd_usbevt_enable':
undefined reference to `sd_power_usbdetected_enable'
C:\Users\********\Desktop\Nordic\nRF5_SDK_15.0.0_a53641a\nRF5_SDK_15.0.0_a53641a\integration\nrfx\legacy/nrf_drv_power.c:229: undefined reference to `sd_power_usbpwrrdy_enable'
C:\Users\*********\Desktop\Nordic\nRF5_SDK_15.0.0_a53641a\nRF5_SDK_15.0.0_a53641a\integration\nrfx\legacy/nrf_drv_power.c:236: undefined reference to `sd_power_usbremoved_enable'
Build failed
What do these functions do? Which librarires and drivers should i include for serial communication. Is there any tutorial for serial ?
and i share the project which using for practise.
Project for nRF52840, SoftDevice S140, SDK 15.0.0
copy the file inside "ble_peripheral".