STM32WB55 - Where the value is stored?
- October 18, 2023
- 1 reply
- 2562 views
I have stm32wb55 , i have created a service using stm32cubeIDE, in that i have like 3 characteristics 1:: myChar, 2: mynotify and 3: mywrite,, ( mynotify has nothing to do with this problem). mychar is used to read the value only and mywrite is set to read and write the value, so in my st tools app if i try to update the value of mychar using this command, it does update the value ( Custom_STM_App_Update_Char(CUSTOM_STM_MYCHAR, (uint8_t *)UpdateCharData);

BUT
If i try to write the value for MYWRITE in the app, it does write the value and read exactly the same, but i dont know where the value is stored in the program, i have tried to get value from a instance like (CUSTOM_STM_MYWRITE) it does have some value but its not what i have written in the app.
i have tried this command as well ( Custom_STM_App_Update_Char(CUSTOM_STM_MYWRITE,CUSTOM_STM_MYCHAR);
to get the MYCHAR value in MYWRITE but as there is already a random value sitting there so its not working.
all of these things are from ( ''CUSTOM_APP.C'')
All i want is get my mywrite value from the app to the program and do some maths.