2018-01-12 12:15 AM
Solved! Go to Solution.
2018-01-18 10:06 PM
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
2018-01-18 10:06 PM
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
2018-02-20 04:18 PM
how to find out the correct size of mblock to be initialized for adding services?
2018-02-21 09:16 AM
Dear Aqib Riaz,
for additional information, this thread about the
https://community.st.com/0D50X00009XkYAvSAN
may be useful for you.Best regards,
Antonio
2018-02-21 08:37 PM
Hi Aqib,
Please try the BlueNRG-1 Radio Parameter Wizard, which comes with BlueNRG-1 DK.
In topic ''Service Configuration'', config the needed number of services, characteristics, and attributes,
the reference size will be exposed in ''Output'' topic.
The thread mentioned by Antonio will be a great reference.
Best Regards,
Winfred