cancel
Showing results for 
Search instead for 
Did you mean: 

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

Fx.1
Associate II

0693W00000FAayvQAD.png

4 REPLIES 4
Sebastien DENOUAL
ST Employee

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.

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

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.

ok, thank you