I have an array of data in standard C
unsigned char datas[9] = { 0x20,0x01,0x03,0xE0,0X12,0XFF,0,0,0 };
I need to create a binary string of the combined array of this data for example
"011001010000101010110110101"(Yes this is a random number but represent what i am trying todo)
The string is then passed to another routine for bit stuffing.
I'm unsure how to convert the char (datas) to a concatenated binary string?
charfrom its value (0x20for example) to its bitwise represention, then usestrcat()to append thr result to a C-"string". If you face any specific issue in doing so then come back here showing where exactly you got stuck.