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

BLE as Peripheral

Hi,

I have started development on nrf52840.

I want to use BLE as a Peripheral.

Can you please suggest me which example I can use for sending characteristics and add my own new characteristics(from nRF5 SDK)?

Any document/link to add services/characteristics in the Example project and add PWM/UART/timers turn different pins HIGH/LOW etc

Thanks!

Parents Reply
  • Hi 

    I have enabled debug logs but can't see anything there.
    Then I changed the following value in sdk_config.h and able to see logs in the Debug terminal.

    NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0

    Here is the error list.

    I have changed the values "Project -> Options" as follow

    RAM_START=0x20002270



    Now, LED1 has started blinking and BLE also started advertising.
    But when I am trying to connect it's immediately disconnected.
    I have attached the Segger+nRF Connect logs.





      

    Any solution for this, please?


Children
Related