avc with xbee code part1