Serial/XBee support thanks to the handling of different communication libraries (fix #27)