Tool/software: TI C/C++ Compiler
So odd things occurring with hexadecimal bytes input from the outside world when MCU embedded C+ decodes char*.
So is char default to unsigned char via 18.12.3.LTS compiler?
Conversion and recombination of two hex bytes back into decimal integers fails profusely. For example serial input of 0xff (char*) ends up being 0x00 reading Buffer array cells 0xff was stored. Now that ain't a terrible thing since 0xff were only terminators 255,255,255 and are intact on first read but changed to 0x0 on second input pass.
However when NOT terminators (char*) 0xff must be left intact so the conversion of hexadecimal to decimal integers for variables and or reconstruction fails. Yet the outside world deconstruction of a single variable succeeds quit well when turned into two equivalent hexadecimal bytes for the MUC to serial import.
The main part of failure seems to be CCS and the MCU embedded language interpreter can not effectively reassemble two hex bytes given that <iostream> is not present in libc.a. How can anyone be expected to re-produce integer strings from hexadecimal bytes without #include <iostream.h> ? Does TI have some other scientific way to input hexadecimal to MCU for C+++ to manipulate back into variable integers. Otherwise very long strings of ASCII decimals must be passed to the MCU making the RX handler protocol highly invasive, bloated and prone to errors. In this case less is more in my book keep it KISS.