浏览代码

Added Box 009

Gerfried 4 年之前
父节点
当前提交
6d6a16efc5
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      aml_sensorbox_tmpNoise.ino

+ 3 - 2
aml_sensorbox_tmpNoise.ino

@@ -48,6 +48,7 @@
  *      BOX 6: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjMsImlhdCI6MTYwMDg0NTg4M30.OjsoqjcAMhCh9WLkBpBtXyOlOL25mBXSxT1Uy3tM01M
  *      BOX 7: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUsImlhdCI6MTYwMDg0NjUwMH0.XqBhCwt9V6YTNE8fwfxrXahBxGGNHgLkXgO3XaqDcwI
  *      BOX 8: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjExLCJpYXQiOjE2MDA4NDYxMjd9.uJPST-APKEpsS-CIimNh3ePNce2PaabuX5c3HNnVsfo
+ *      BOX 9: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE2LCJpYXQiOjE2MTA3MTg5MjF9.2lk9xY4Gy0CR65V9giXPHrDR7Eei-O3R5sS1oD6hzsM
  *  
  *  
  ************************************************  
@@ -77,7 +78,7 @@
  Adafruit_NeoPixel pixel(1, LEDPIN, NEO_GRB + NEO_KHZ800);
 
  //Name of this Box
- String boxID = "BOX 002";
+ String boxID = "BOX 009";
  
  //GSM
  SoftwareSerial fonaSS = SoftwareSerial(FONA_TX, FONA_RX);
@@ -85,7 +86,7 @@
  Adafruit_FONA fona = Adafruit_FONA(FONA_RST);
  uint8_t type;
  //char URL[] = "http://airquality.media.tuwien.ac.at:10005/measurements";
- char URL[] = "http://aml.media.tuwien.ac.at:11312/api/sensordata/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1LCJpYXQiOjE2MDA4NDY3MTl9.Jk1CXJXeB6cm4T0QARoj_1BtxvsZF3jl5UhvPRMEBvQ";
+ char URL[] = "http://aml.media.tuwien.ac.at:11312/api/sensordata/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE2LCJpYXQiOjE2MTA3MTg5MjF9.2lk9xY4Gy0CR65V9giXPHrDR7Eei-O3R5sS1oD6hzsM";
  char URL2[] = "http://www.mobillab.wien/sensorbox/write/";
  //char URL[] = "www.kunstmedienkultur.com/sensorbox/";
  unsigned long ATtimeOut = 10000; // How long we will give an AT command to complete