贝壳物联arduino esp8266 demo版本


贝壳物联arduino esp8266 demo版本;贝壳物联平台非常简单,适合搭建毕业设计
资源截图
代码片段和文件信息
/*
 Copyright (c) 2001 Interactive Matter Marcus Nowotny

 based on the cJSON Library Copyright (C) 2009 Dave Gamble

 Permission is hereby granted free of charge to any person obtaining a copy
 of this software and associated documentation files (the “Software“) to deal
 in the Software without restriction including without limitation the rights
 to use copy modify merge publish distribute sublicense and/or sell
 copies of the Software and to permit persons to whom the Software is
 furnished to do so subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS OR
 IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
 LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 */

// aJSON
// aJson Library for Arduino.
// This library is suited for Atmega328 based Arduinos.
// The RAM on ATmega168 based Arduinos is too limited

/******************************************************************************
 * Includes
 ******************************************************************************/

#include 
#include 
#include 
#include 
#include 
#ifdef __AVR__
#include 
#else
#include 
#endif
#include “aJSON.h“
#include “utility/stringbuffer.h“

/******************************************************************************
 * Definitions
 ******************************************************************************/
//Default buffer sizes - buffers get initialized and grow acc to that size
#define BUFFER_DEFAULT_SIZE 4

//how much digits after . for float
#define FLOAT_PRECISION 5


bool
aJsonStream::available()
{
  if (bucket != EOF)
    return true;
  while (stream()->available())
    {
      /* Make an effort to skip whitespace. */
      int ch = this->getch();
      if (ch > 32)
       {
 this->ungetch(ch);
 return true;
       }
    }
  return false;
}

int
aJsonStream::getch()
{
  if (bucket != EOF)
    {
      int ret = bucket;
      bucket = EOF;
      return ret;
    }
  // In case input was malformed - can happen this is the
  // real world we can end up in a situation where the parser
  // would expect another character and end up stuck on
  // stream()->available() forever hence the 500ms timeout.
  unsigned long i= millis()+500;
  while ((!stream()->available()) && (millis() < i)) /* spin with a timeout*/;
  return stream()->read();
}

void
aJsonStream::ungetch(char ch)
{
  bucket = ch;
}

s

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      63470  2017-06-05 15:32  Arduino_ESP8266Arduino+ESP01清单.png

     文件      52182  2017-06-04 18:23  Arduino_ESP8266arduino_esp.sch

     文件     123551  2017-06-04 18:23  Arduino_ESP8266arduino_esp接线原理图.pdf

     文件      56655  2017-06-04 19:46  Arduino_ESP8266esp-01针脚说明.jpg

     文件     302501  2017-05-23 21:00  Arduino_ESP8266乐鑫刷固件及smartconfig工具esptouch_android-apk_v0.3.4.3_0.rar

     文件      74970  2017-05-27 17:22  Arduino_ESP8266乐鑫刷固件及smartconfig工具esptouch_ios-ipa_v0.3.4.3_0.rar

     文件    8807140  2017-04-13 21:00  Arduino_ESP8266乐鑫刷固件及smartconfig工具flash_download_tools_v3.4.4_0.zip

     文件       4640  2017-06-05 14:53  Arduino_ESP8266代码Arduino代码Arduino_codeArduino_code.ino

     文件         99  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJson.gitignore

     文件      28264  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonaJSON.cpp

     文件       9894  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonaJSON.h

     文件       7493  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonExamplesJson_ExampleJson_Example.ino

     文件       2630  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonExamplesJson_SerialJson_Serial.ino

     文件       2461  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonExamplesMultiLevelParsingMultiLevelParsing.ino

     文件       1686  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonkeywords.txt

     文件        310  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonlibrary.json

     文件      10907  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonREADME.md

     文件       3402  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonutilitystringbuffer.c

     文件       1316  2016-08-27 17:04  Arduino_ESP8266代码Arduino代码librariesaJsonutilitystringbuffer.h

     文件         46  2017-06-05 14:45  Arduino_ESP8266代码Arduino代码
eadme.txt

     文件      95852  2017-05-27 17:09  Arduino_ESP8266代码ESP-01 Smartconfig 直接透传贝壳物联固件flash_map.JPG

     文件        426  2017-06-04 15:11  Arduino_ESP8266代码ESP-01 Smartconfig 直接透传贝壳物联固件
eadme.txt

     文件     254944  2017-05-27 16:54  Arduino_ESP8266代码ESP-01 Smartconfig 直接透传贝壳物联固件smartconfig2bigiot.bin

     文件    1358556  2017-06-05 14:43  Arduino_ESP8266使用说明.docx

     目录          0  2017-06-05 08:32  Arduino_ESP8266代码Arduino代码librariesaJsonExamplesJson_Example

     目录          0  2017-06-05 08:32  Arduino_ESP8266代码Arduino代码librariesaJsonExamplesJson_Serial

     目录          0  2017-06-05 08:32  Arduino_ESP8266代码Arduino代码librariesaJsonExamplesMultiLevelParsing

     目录          0  2017-06-05 08:32  Arduino_ESP8266代码Arduino代码librariesaJsonExamples

     目录          0  2017-06-05 08:32  Arduino_ESP8266代码Arduino代码librariesaJsonutility

     目录          0  2017-06-05 08:32  Arduino_ESP8266代码Arduino代码librariesaJson

............此处省略10个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)