   int i;
   for(i=0;i<SENSOR_CNT;i++)
   {
-    if (sensorType[i] != '-'){
-      msg_sensor.concat("|data-");
+    if (sensorType[i][0] != '-'){
+      msg_sensor.concat("|s_");
       msg_sensor.concat(sensorType[i]);
       msg_sensor.concat("=");
       msg_sensor.concat(sensorValue[i]);

#include <MtkAWSImplementations.h>
#include <LGPS.h>

#define VER_FORMAT "2"	// version number has been increased to 2 since v0.7.0
#define FMT_OPT 0 // FMT_OPT : 0: default format with gps, 1: default format but gps is fix data, need to update GPS_FIX_INFOR 
    // ( format is right, but no actual gps information because no gps device exist ) 
#define VER_APP "0.7.2"


#define POLICY_ONLINE_ALWAYS 1

  for(i=0;i<SENSOR_CNT;i++)
  {
   sensorValue[i]=0;  
   strcpy(sensorType[i], "-");
  }

  strcpy(sensorType[0], "0");
  strcpy(sensorType[1], "1");
  strcpy(sensorType[2], "2");
  strcpy(sensorType[3], "3");
#if APP_ID == 1  
  strcpy(sensorType[SENSOR_ID_DUST],"d0");
  strcpy(sensorType[SENSOR_ID_UV], "u0");
  strcpy(sensorType[SENSOR_ID_SOUND], "s0");
#elif APP_ID == 2
  strcpy(sensorType[SENSOR_ID_DUST],"d0");
#elif APP_ID == 3
  strcpy(sensorType[SENSOR_ID_BAROMETER], "b0");
  strcpy(sensorType[SENSOR_ID_TEMPERATURE], "t0");
  strcpy(sensorType[SENSOR_ID_HUMIDITY],"h0");
  strcpy(sensorType[SENSOR_ID_LIGHT], "l0");
#elif APP_ID == 4
  strcpy(sensorType[SENSOR_ID_DUST],"d0");
  strcpy(sensorType[SENSOR_ID_TEMPERATURE], "t0");
  strcpy(sensorType[SENSOR_ID_HUMIDITY],"h0");
#endif

  
