 #include <elapsedMillis.h>
 #include <SoftwareSerial.h>
 
-#define XBLEN 93 //paylenght+2(identifier)+3(randnum)+1(null)
-#define PAYLEN 90
+#define XBLEN 83 //paylenght+2(identifier)+3(randnum)+1(null)
+#define PAYLEN 80
 
 SoftwareSerial customDue(3, 4); //Rx, Tx
 SoftwareSerial altserial(8,9);

		for (j=0;j<XBLEN+1;j++) payload[j]=0x00;

		delay(500);
		payload[0]=(uint8_t)id;
     
		for (j=1;j<PAYLEN;j++){
			payload[j]=(uint8_t)streamBuffer[datalen];
			datalen++;
		}

int length=0;
int paylength=77;
int datalen=0;

int count_success=0;
int verify_send[24]={0};
