   char status;
 
   // abirvalg!!!
-  
-  status = pressure.startTemperature();
-  if (status != 0)  {
-    delay(status);
-    status = pressure.getTemperature(T);
-    Serial.println(T);
-    if (status != 0) {
-      status = pressure.startPressure(3);
+  if (board == 0) {
+    status = pressure.startTemperature();
+    if (status != 0)  {
+      delay(status);
+      status = pressure.getTemperature(T);
+      //Serial.println(T);
       if (status != 0) {
-        delay(status);
-
-        status = pressure.getPressure(P,T);
+        status = pressure.startPressure(3);
         if (status != 0) {
-
+          delay(status);
+    
+          status = pressure.getPressure(P,T);
+          if (status != 0) {
+    
+          } else { T = -1.0; P = -1.0; }
         } else { T = -1.0; P = -1.0; }
       } else { T = -1.0; P = -1.0; }
     } else { T = -1.0; P = -1.0; }
-  } else { T = -1.0; P = -1.0; }
-
-
-  if (board == 0) {
-    char out[80];
-    //sprintf(out, "seqid %d;%d;;;\r\n", cnt++, val); // 0.7501
-    sprintf(out, "seqid=%d;A0=%d;A1=%d;D8=%d;D10=%d;T=%d;P=%d\r\n", cnt, v0, v1, d8, d10, (int)T, (int)(P*0.7501));
-    Serial.print(out); 
-    BTSerial.write(out);
+
+    bt_echo_send("(")
+    fbt_echo_send(cnt); 
+    fbt_echo_send(v0); 
+    fbt_echo_send(-1);
+    fbt_echo_send(-1);
+    fbt_echo_send(v1); 
+    fbt_echo_send(d8);
+    fbt_echo_send(d10);
+    fbt_echo_send(T);
+    fbt_echo_send(P);
+    bt_echo_send(")")
+
+    bt_echo_send("\r\n")
+        
     delay(100);
   }
   cnt++;

double T = -10.0;
double P = -10.0;


void loop()
{


#define msg(x) Serial.println(x)

const int board = 0; // 0 -- for outdoor, 1 -- indor module

SoftwareSerial BTSerial(HC_05_TXD_ARDUINO_RXD, HC_05_RXD_ARDUINO_TXD); // RX | TX

enum BTDeviceState {
  error = -2,
