cancel
Showing results for 
Search instead for 
Did you mean: 

who can help me , i use BLUEBRG-LP 345 mcu,i want let two characteristic show "descriptors" ,and show"↓↓↓" button,in nrf connect APP. but i have error . my english is not good,can see fllow pictures

Fx.1
Associate II

if i use two ,aci_gatt_srv_add_service() will return 0x87 error0693W00000FAVCrQAP.png0693W00000FAVGPQA5.pngbut use only one,it is ok

0693W00000FAVBVQA5.png

3 REPLIES 3
Sebastien DENOUAL
ST Employee

Hi,

Not sure to get 100% of your request. Anyway, 0x87 issue might indicates out of memory error :

#define BLE_STATUS_OUT_OF_MEMORY      ((tBleStatus)(0x87))

To avoid this, please check your code_example_config.h

Code examples from BlueNRg-LP SDK are optimized in terms of memory consumption according to number of link, services, characteristics,... used by this example.

If you add service or char to an existing code example, you may need to change config accordingly.

As an example, you may increase :

  • NUM_APP_GATT_SERVICES_CONF
  • NUM_APP_GATT_CHAR_ATTRIBUTES_CONF
  • ...

To help you in this configuration, a "BlueNRG-LP radio init wizard" is available together with DK (available from Windows menu as per SDK)

Regards,

Sebastien.

Fx.1
Associate II

hi,Sebastien DENOUAL (ST Employee)

thank you very much,

i set change

#define NUM_APP_GATT_ATTRIBUTES_CONF

from 6 to 16,

now it is ok.

you are very powerful ,thank yuo.

Sebastien,

I know this is years late but this comment helped me!  Thank you!