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

Can I enable notification in my ble peripheral?

How to enable the notifications or indications? In APP? can I enable it in ble peripheral? I meet a chip of "Quintic" can do this. When I connect it to MCP and I get this: image description

But my nordic nrf51822 device connect MPC just like this:

image description I must click Enable service manually, can enable notification like quintic chip show state

Parents
  • MPC's "Enable Service" just works for test purpose.

    Your service is enabled automatically when it connects to your cellphone, If you're using those BLE service API written by NordicSemi, such as ble_hrs.h, ble_bas.h, ble_dis.h, etc.

    However, if you're writing your own service, you should handle the client characteristic configuration event correctly.

Reply
  • MPC's "Enable Service" just works for test purpose.

    Your service is enabled automatically when it connects to your cellphone, If you're using those BLE service API written by NordicSemi, such as ble_hrs.h, ble_bas.h, ble_dis.h, etc.

    However, if you're writing your own service, you should handle the client characteristic configuration event correctly.

Children
Related