pc------router-----s6b+pic16f887

i try to follow tutorial on http://tutorial.cytron.com.my/2013/01/14/remote-mobile-robot-with-xbee-wifi/
but in the end of that i cannot control the motor …the different is their using s6 and mine s6b.

my question here is that xbee s6 and s6b have a different configuration…

second how to setup on ad hoc mode?..