This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Blood Pressure trigger subscribe willnot execute on_write

Hi All,

I want to port BPS to my custom project, I encountered the problem as the title.

When I connect and trigger the subscribe like this picture.

My project will not execute 【case BLE_GATTS_EVT_WRITE】 will be disconnected,like this picture.

Here is my project,please help me to take a look.

Lab06_BLE_AddService_BAS_DIS_BPS.zip

IDE => Segger

SDK => 17.1.0

Parents Reply Children
  • Hello Kai, sorry about the delay.

    Are you sure you've used nRF5 SDK 17.1? There seem to be a surprising number of changes between the v17.1 BPS example and your project.

    If you want a functioning mix of the two, you can simply add the Blinky functionality to the main function of the BPS project. 

    Regards,

    Elfving

  • Hi Elfving,

    I'm very share that I use SDK17.1.0.

    There seem to be a surprising number of changes between the v17.1 BPS example and your project.

    I'm not sure what you mean?

    If you want a functioning mix of the two, you can simply add the Blinky functionality to the main function of the BPS project. 

    I am trying to learn the usage of Indicate, so I need to add other Services to the Base on Blinky project.

    Best regards,

    Kai

  • I see. So you haven't really used the SDK's BPS example as a guideline for this?

    I assumed you simply tried to copy the code from the BPS project to make a functioning mix of the two.

    Regards,

    Elfving

  • Hi Elfving,

    So you haven't really used the SDK's BPS example as a guideline for this?

    I have already used it so I will try to port BPS to Blinky.

    Best regards,

    Kai

  • kai19960504 said:

    I have already used it so I will try to port BPS to Blinky.

    You have already used it to try to port BPS to Blinky? I see. 

    kai19960504 said:

    I'm not sure what you mean?

    Just comparing the BPS example to yours I see a lot of changes. Any particular reason you decided not to include peer_manager_init() for instance?

    Regards,

    Elfving

Related