Program does not go into the switch statements at all !

Do you guys have any idea why it did not go onto the switch statement?

Do you think you could maybe lean over a bit? You're blocking our view of your serial output.

All of the anonymous values you are printing on each end don't help with understanding.

It appears that you are using the Serial pins to talk to the XBee and to talk to the PC. That really isn't a good idea.