adding service return 0x1f error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-12 12:15 AM
Solved! Go to Solution.
- Labels:
-
Low Power RF Solutions
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-20 4:18 PM
how to find out the correct size of mblock to be initialized for adding services?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-21 9: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-21 8: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
