added new logic level for xbee