The OP
Published on 2021-3-8 17:14
Only look at the author
This post is from ST - Low Power RF
Latest reply
The service database is static memory in the protocol stack, rather than dynamically allocated when add_service is called.
Therefore, before add_service, when initializing the protocol stack (BlueNRG_Stack_Initialization), you need to clearly indicate the size of the entire database - just configure the following macros correctly according to your needs:
NUM_GATT_ATTRIBUTES
Details
Published on 2021-3-15 15:27
| ||
|
||
littleshrimp
Currently offline
|
2
Published on 2021-3-8 21:02
Only look at the author
This post is from ST - Low Power RF
Comments
Shouldn't this number be a bit larger? I changed it to 7 and it reported an error of 0x48 when adding a server. Is this related to the GATT initialization function in the example?
Details
Published on 2021-3-9 17:30
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
This post is from ST - Low Power RF
Comments
The error 0x48 corresponds to insufficient memory. Please check if there are any other problems. To rule out the Max_Attribute_Records problem, you can try to change Max_Attribute_Records in the official example to see if the same error is reported.
Details
Published on 2021-3-9 20:02
| ||
|
||
|
This post is from ST - Low Power RF
| ||
|
||
|
littleshrimp
Currently offline
|
5
Published on 2021-3-9 20:02
Only look at the author
This post is from ST - Low Power RF
Comments | |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
This post is from ST - Low Power RF
| ||
|
||
|
This post is from ST - Low Power RF
Comments
I don't quite understand your 4 pictures. Is there no service 0a001 at 0x06? How about you send this part of the code and I can help you try it?
Details
Published on 2021-3-12 14:52
| ||
|
||
|
littleshrimp
Currently offline
|
8
Published on 2021-3-12 14:52
Only look at the author
This post is from ST - Low Power RF
Comments | |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
This post is from ST - Low Power RF
Comments | ||
|
||
|
10
Published on 2021-3-15 15:27
Only look at the author
This post is from ST - Low Power RF
| ||
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190