parsing a uint8_t string using strtok()

Hi,

I have a string coming in over a radio. The type of the string is uint8_t [251].

An example of the string is '01:2.7:300:4'.

I'm trying to parse the by the : using strtok(). However, I'm getting an error

invalid conversion from 'uint8_t* {aka unsigned char*}' to 'char*' [-fpermissive]

Would somebody know a solution. I cannot change the type of the incoming string to char.

Thanks

I'm pretty sure that your problem is in line 105...oh wait! You didn't bother to post your code but preferred to let us waste time guessing what you did wrong. With as many posts as you have, surely you read Nick Gammon's two posts at the top of this Forum for posting guidelines. If you had, you would have posted your source code properly using code tags so we at least have some chance of seeing what you did.

This is your third thread on the same topic. Knock this shit off.

You need to show us that you spent some time researching the use of strtok() on your own. That doesn't appear to the be case. Try studying:

http://www.cplusplus.com/reference/cstring/strtok/

and then edit the example for the Arduino IDE and see if you can get it going correctly. As a general rule, search Google first. With over 380,000 hits on strtok(), surely one of those will clear up your question.