Hi
in a cust1 implementation, where does the data for the characteristic actually get stored ?
I have set
custs1_att_db[CUST1_IDX_MYCHAR_VAL] = {CUST1_MYCHAR_UUID, ATT_UUID_128_LEN, PERM(RD, ENABLE),
DEF_CUST1_MYCHAR_CHARLEN, 4, z_mydata},
char z_mydata[4] = {1,2,3,4}
The first time I read the characteristic I get 1,2,3,4,
but if I change z_mydata at any point, I sill only read 1,2,3,4 no the new value - is it 'cached' somewhere ??
Device:
Hi paulb231,
的数据are located in the BLE database and are allocated dynamically in the DB_HEAP, by changing the variable that you have used in order to set tha data in the database wont alter the data in the database itself. In order to alter the data in the database you can use the functions indicated on this posthttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl....
Thanks MT_dialog