create a buffer so that we can gradually send the analytics out via the xbees