This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CC2650: Copy Character buffer data to integer type Variable

Part Number: CC2650

Tool/software: Code Composer Studio

Hello,

I am trying to copy buffer data(character type) to some variable which is integer type (uint8_t) .

Say I have 1 Buffer BUFTYPE txBufmesdata2[] ="78"   here 78 is stored or received  as char type.

I want to copy that 78 to variable say  H(int type ). I am getting error like incompatible with type.

Can you suggest any alternative method or way to copy data.