Question: I want to stract 8 chars from a char array that will contain a lot of data and at the same time assign the stracted

I want to stract 8 chars from a char array that will contain a lot of data and at the same time assign the stracted 8chars to 9 variables consecutively.

So variables are uint32_t var1; uint32_t var2; etc ... ( 9 variables)

A char array might contain data in hex like: A34478E1 45E2A8B1 43F24376 ...etc ( there will be 9 of these values in the char array)

How could I read the char array and store the separated values in each variable uint32_t starting from the first value in the char array and the first variable???

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!