This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

add libuarte to central&peripheral

Hello,
Im working on project that communicate with gps/gprs and it works with the example/peripheral/libuarte. 
but when I want to integrat it (add) it to central peripheral id doesnt :
I added the same "drivers" that are used on libuarte example and "library" and "sdkconfig" and also "User Include Directories"

here is my logs of errors:

Parents
  • Okay, thank you for clarifying. I think you have started out wrong. It is much harder to implement BLE and the SoftDevice into an example that doesn't have that. One thing that came to mind. When implementing a SoftDevice into an example that didn't already have a SoftDevice you have to make sure you remove the ../../../../../../components/drivers_nrf/nrf_soc_nosd from the User Include Directories, as that might cause errors like NRF_SUCCESS undefined. Sorry I didn't think of this initially!

    Best regards,

    Simon

Reply
  • Okay, thank you for clarifying. I think you have started out wrong. It is much harder to implement BLE and the SoftDevice into an example that doesn't have that. One thing that came to mind. When implementing a SoftDevice into an example that didn't already have a SoftDevice you have to make sure you remove the ../../../../../../components/drivers_nrf/nrf_soc_nosd from the User Include Directories, as that might cause errors like NRF_SUCCESS undefined. Sorry I didn't think of this initially!

    Best regards,

    Simon

Children
  • yes thats what i try to explained to you and continue forward to the main subject .
    is adding libeuart to the example of relay:
    i removed the nrf_soc_nosd: the nrf_nvic  and nrf_soc.

    I activate in the sdk libuarte and and alla of the sdkconfig libuarte , and now it complies without errors . but when i debug and upload it the nrf52832 the log is white and it stoped fastely and i push the button of play another time but the lof is emepery every thing is white. please have alook at my project , i promise i will share it with the community to see the example of relay with libeuarte.


    here is the file uploaded to we transfer beacaue the platforme wont i try many time 

    https://we.tl/t-6kCaxqyveA




    above is the probleme that show when i ckliked on play the frist time its caused by the uartInit()

Related