Hi
I need a solution where the attribute table is built up dinamically but before GATTServApp_RegisterService is called (from flash).
The attAttribute_t structure has a const pValue which cannot be changed later, that cannot be changed to non-const since GATTServApp_RegisterService is external function from TI precompiled libraries and get's in conflict if I do so:
Warning[w6]: Type conflict for external/entry "GATTServApp_RegisterService", in module battery against external/entry in module gattservapp; function types differ in parameter 1; class/struct/union
field/base types do not match for field/base 'pValue'; different composite type kinds
Warning[w35]: There is more than one definition for the struct/union type with tag 'attAttribute_t'; class/struct/union field/base types do not match for field/base 'pValue'; different composite type kinds