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

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

  • September 27, 2021
  • 2 replies
  • 1041 views

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

0693W00000FAVBVQA5.png

This topic has been closed for replies.

2 replies

Sebastien DENOUAL
ST Employee
September 27, 2021

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.

Associate II
May 10, 2024

Sebastien,

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

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

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.