         DEBUG_TAGGING(", select id: ", atoi(p.id));
         DEBUG_TAGGING(", equal: ", atoi(deviceId)==atoi(p.id));
         DEBUG_TAGGING("", "");
-        
+
         if(exp_mode == MODE_IR) {
           if(statePending) {  
             //only change led if it's in pending (is one of the candidates)

    else if (atoi(p.id) == atoi(deviceId)) {
      
      // pass this message to the function of client
      if(strcmp(deviceId, deviceLaptop) == 0) {
        laptopBridging(p);
      } else if(strcmp(deviceId, deviceLamp) == 0) {
        lampClient(p);

      }

void sendBackDeviceID() {
  // randomDelay = random(500);
  // avoid conflicts
  
  if(atoi(deviceId) >10) {
    randomDelay = (atoi(deviceId) - 10) *20;
    // if it's 11 - 14 ==> test 2
  } else {
    randomDelay = atoi(deviceId) *20;
  }
  delay(randomDelay);
  DEBUG_TAGGING(randomDelay, " delay, sending back device ID\n" );
  // send back acknowledge packet
