Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/CC2640R2F: Characteristic Value Return Function

$
0
0

Part Number:CC2640R2F

Tool/software: TI C/C++ Compiler

Hello. I would like to run a check of a characteristic value. I will write into the characteristic value, and if the CV is greater than 0x00, it will execute some code and then be changed back to 0x00. The problem is I have no idea how to reference the characteristic value within the program. I thought about writing a very simple function that returns the value, but that doesn't seem to be working. 


uint8_t ReturnLogic()

{

return b_LogicHexVal;
}

Any help getting the value would be appreciated. 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>