Skip to main content
Fx.1
Associate II
September 28, 2021
Question

hi all, when i press fllow picture "↓↓↓" button in nrf connect APP ,which event will be generated in bluenrg_lp_events.h api // use bluenrg-LP 345 ic

  • September 28, 2021
  • 2 replies
  • 1177 views

0693W00000FAayvQAD.png

This topic has been closed for replies.

2 replies

Sebastien DENOUAL
ST Employee
September 28, 2021

Hi,

This button is used to enable notification. It means Client (smartphone) will register to receive notification on this characteristic.

On BlueNRG-LP embedded side (Server) you should received a aci_gatt_srv_attribute_modified_event() with Attr_Handle == (CharHandle + 2)

Regards,

Sebastien.

Fx.1
Fx.1Author
Associate II
September 29, 2021

hi,

thank you. just as you say it is "aci_gatt_srv_attribute_modified_event() with Attr_Handle == (CharHandle + 2)".

In addition, why it is "+2",not" +1" or other ,What documents can I know about this

Sebastien DENOUAL
ST Employee
September 29, 2021

Hi,

The general documentation is available on st.com (BlueNRG-LP webPage) or directly accessible from installed SDK at this default path :

C:\Users\"USER_NAME"\ST\BlueNRG-LP DK 1.1.0\Docs\index.html

I would especially advise to check "BLE Stack Programming Guide" (PM0269) :

Now, attribute handlers (+1,+2..) you mentioned are defined by BLE specs.

Regards,

Sebastien.

Fx.1
Fx.1Author
Associate II
September 29, 2021

ok, thank you