Giter Site home page Giter Site logo

anvizcloudkit's Introduction

Anviz device cloud PHP interface kit


Support device

C2 Pro/W1/W2/OA1000 FaceDeep3/FaceDeep5/FaceDeep3-IRT/FaceDeep5-IRT MBIO

Environmental requirements

Apache + php(php version support 5.x/7.0) Extended requirements: php_soap/php_mcrypt support rewrite

Directory File Description

  • src API framework
    • lib Library
      • AnvizCommand.php Device command function
      • Logs.php Log class
      • Montitor.php Listen service
      • Protocol.php Protocol
      • SoapDiscovery.php PHP SOAP wsdl
      • Tools.php Method packets
    • config.sample.php Configure file
    • Webserver.php Communction process
  • sample Sample
    • client Client
    • server Server
      • callback.php Callback class
      • Webserver.php Soap Server
      • .htaccess Route file
    • logs Logs directory
    • config.php Configure file
    • database.phpDB connect
    • db.sql DB file

Testing process

  1. Deploy the Apache + php environment, Install php_soap Extended, php-mcrypt Extended and rewrite support
  2. Put the directory file to site directory, input http://(Site domain name)/sample/server/webserver/wsdl.html in the browser, can be display wsdl pages means successful
  3. Open url http://(site domain name)/sample/client/index.html in brower. Register new user and record the device url, username and password
  4. Power on the device,and setup device network setting connect internet
  5. Input the 000048+OK in device main UI to active cloud development mode.
  6. Enter into network - cloud menu follow the below setup
    User Name:(User name of the 3rd step)
    Password:(Pasword of the 3rd step)
    Server IP: (http://(Site domain name)/sample/server/webserver)
    
  7. Then on the device screen will display cloud connection ok. Open url http://(site domain name)/sample/client/index.html in brower, now you can see the device in page.
  8. And enter into site root directory log folder to check the device communicaiton logs with server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.