modeling in blender by taking input from wireless media controlled by autonomous system
First you will need a python module that will talk to your xbee. The XBee module doesn't mention what python versions it works with, but it uses pyserial which does support python3.5. If that doesn't work, searching pypi for xbee shows a few other possibilities.

There are a few ways to install third party modules or you can make blender use the system python. You can also add a path to sys.path so that blenders python can search for it.

Once you are able to import the module within blender create a script that responds to the input. You may want to look at using the subprocess module to read the input without locking blenders UI.