Skip to main content
aqib riaz
Associate
January 12, 2018
Solved

adding service return 0x1f error

  • January 12, 2018
  • 1 reply
  • 1507 views
Posted on January 12, 2018 at 09:15

The original post was too long to process during our migration. Please click on the attachment to read the original post.
This topic has been closed for replies.
Best answer by Winfred LU
Posted on January 19, 2018 at 07:06

Hi Aqib,

Return value 0x1F means 'Out of memory'.

Possibly you need to increase the memory size to be allocated (mblockCount) in 

BlueNRG_Stack_Init_params structure.

The size should be increased according to the number of services and attributes you'd like to add.

Regards,

Winfred

1 reply

Winfred LU
ST Employee
January 19, 2018
Posted on January 19, 2018 at 07:06

Hi Aqib,

Return value 0x1F means 'Out of memory'.

Possibly you need to increase the memory size to be allocated (mblockCount) in 

BlueNRG_Stack_Init_params structure.

The size should be increased according to the number of services and attributes you'd like to add.

Regards,

Winfred

aqib riaz
aqib riazAuthor
Associate
February 21, 2018
Posted on February 21, 2018 at 00:18

how to find out the correct size of mblock to be initialized for adding services?

Antonio Vilei
ST Employee
February 21, 2018
Posted on February 21, 2018 at 17:16

Dear Aqib Riaz,

for additional information, this thread about the

https://community.st.com/0D50X00009XkYAvSAN

may be useful for you.

Best regards,

Antonio