 }
 
 void loop() {
-  if(ir_bcast_mode){
+  // in IR broadcast mode, we keep sending IR signal and hover the one with largeste intensity reading
+  if (ir_bcast_mode) {
     // constantly sending out ir broadcast as visual cue
     Serial.println(ir_time);
     if(millis() - ir_time > ir_cycle) {

	}
      }
    }
  }
}

boolean isPacketValid(char *message) {

int ir_current_rssi = 0;
char current_id[03] = "00";
bool is_increase_available = false;
bool is_connected = false;
char message[20];
unsigned long start_time;
boolean isWaitingReply;
