cancel
Showing results for 
Search instead for 
Did you mean: 

Data for BlueNRG_Stack_Initialization_t for BlueNRG-1?

TJohn.14
Associate II

Is there a guidance sheet for the BlueNRG_Stack_Initialization_t structure passed into BlueNRG_Stack_Initialization?

I've been using the SensorDemo application as a template, and found that I need to say

#define MAX_NUMBER_ATTRIBUTE_SERVICE1 (13)

Even though the first service (DeviceInfo) is only using 4 characteristics...

Best I can figure is that it should be 3*Nchar+1 (for the service entry)... if it's made too much larger, it fails, and if it's made smaller, you start getting errors when you call aci_gatt_add_char.

But why *3?

0 REPLIES 0