Briwil:
void loop(){
char d=wifly.read();
char parameter = strtok (d, " ,");
But I'm getting "invalid conversion from 'char' to 'char*'" errors.
The "strtok" function works on a string of characters, not on a single character.
Does your phone send a character at the end of the three value to let the Arduino know that all characters have been received? If so, you can put the characters in a character array and use that array as a string once all the characters have been received.
Alternatively you can parse each character as it arrives (but not with strtok). When you get a letter (r, g, or b) you keep track of which letter was last received and set the value for that color to 0. As each digit arrives you multiply the value for the last color letter received by 10 and add the new digit. If you receive any other character you can ignore it.