 iota::Map<long, WiFiClient*> *clientMap;
 
 static const size_t bufferSize = 1024;
-static uint8_t sbuf[bufferSize];
+static uint8_t rxBuf[bufferSize];
+static uint8_t txBuf[bufferSize];
 
 std::pair<int, int> tMarkers;
+
+
 
 
 void setup() {


#define HUB_SIZE 4
#include <IoTaDeviceHub.h>

#include "iota_defines.h"
#include "heartbeat.h"
#include "LedSerialMaster.h"


	//get and broadcast state updates
	//while broadcasts waiting
	//tx to each attached unAuthClient
	
	while (hub->numCapsulesRemaining() > 0)
	{
