 					rf95.waitPacketSent();
 				}
 				else if (pong.type == T_PONG) {
+					col = pong.replier == ping.initiator;
 					// got pong, print stats
 					sprintf(line, "Got PONG(%d,%d,%d)", pong.count, pong.rssi, pong.replier);
 					Serial.println(line);


	unsigned long now = millis();
	while (millis() - now < wait) {
		uint8_t len = sizeof(buf);

		if (rf95.available()) {
			rf95.recv(buf, &len);

			if (len == sizeof(pong)) {
				memcpy(&pong, buf, sizeof(pong));

				if (pong.type == T_PING) {
					// got ping
					sprintf(line, "Recv PING(%d,%d,%d)", pong.count, pong.rssi, pong.initiator);
					Serial.println(line);

	for(uint8_t i=A0; i<=A7; i++)
		r ^= analogRead(i);
	srandom(r);
	srand(~r);

	//    rf95.setTxPower(20);

	// init ping
	genId(false);
	ping.type = T_PING;
	ping.count = 0;
	ping.rssi = 0;
	pong.replier = -1;

	Serial.print(F("Hello World from "));
	Serial.println(ping.initiator);

	pong.initiator = -1;
	pong.replier = ping.initiator;
}

static char line[128];
static uint8_t buf[RH_RF95_MAX_MESSAGE_LEN];

void loop()
{
