• This repository has been archived on 02/Jun/2022
  • Stars
    star
    228
  • Rank 175,267 (Top 4 %)
  • Language
    Java
  • License
    Other
  • Created over 9 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

=============================USER MANUAL=================================

IOT_Espressif_Android source code is used to control ESP8266 device by

Android pad or phone. It support local and online. More info about how

to use the Android apk, please follow the step:

  1. install the apk by source code

  2. register an espressif account or skip ( register automatically )

  3. tap the "question mark" button on the top right corner,

    it will tell you how to use it step by step

  4. tap the "setting" button at the bottom, you could set your own

    preference and see change logs.

  5. enjoy yourself

==================================v0.9.2==================================

  1. Esptouch Demo version is v0.2.1

    ( The indepedent Esptouch Demo, please refer to

    https://github.com/EspressifApp/EsptouchForAndroid )

  2. How to use python and log4j to turn on/off log

    2.1 cd PROJECT_DIR/python

     PROJECT_DIR means the directory of the project where contains '.project'
    

    2.2 python xml_file_search.py

     ( generate log4j.xml )
    

    2.3 vi log4j.xml and modify it as you like

     ( Our log4j support "OFF FATAL ERROR WARN INFO DEBUG TRACE ALL"
    
     Besides, we support "IGNORE" which means its level is depended upon
    
     its parent's level. ) 
    

    2.4 python xml_parse.py

     ( it will change InitLogger.java according to log4j.xml automatically )
    
  3. DB

    We use greendao as our ORM database

    ( More info about greendao, please refer to

    https://github.com/greenrobot/greenDAO and http://greendao-orm.com/ )

  4. The framework of the source code

     The layer of our source code are seperated as:
    
     UI, INTERFACE, TYPE, MODEL, ACTION, COMMAND, BASE, OPEN, DB, DB-gen, UTIL, LOG, ESPTOUCH
    

    4.1 UI:

     UI layer is just the UI, it shouldn't contain complex business logical.
    

    4.2 INTERFACE:

     INTERFACE layer contains the interfaces, it defines the interface to be implemented.
    

    4.3 TYPE:

     TYPE layer contains the property type, including device's type, device's state,
    
     device's status, device's timer and etc.
    

    4.4 MODEL:

     MODEL layer contains various models. The differece between TYPE and MODEL is that
    
     TYPE just stores the property but model contains business logical.
    

    4.5 ACTION:

     ACTION layer contains various actions. The action is based upon command.
    
     ACTION = COMMANDS + BUSINESS LOGICAL
    

    4.6 COMMAND:

     COMMAND layer contains various commands. The command is the basis of action.
    
     COMMAND is pure command without any logical.
    

    4.7 BASE:

     BASE layer is the basic layer, which is the base of the iot espressif apk.
    

    4.8 OPEN:

     OPEN layer is used to store open api and source code, such as zxing, from others.
    

    4.9 DB:

     DB layer is used to make the intermediate layer between DB-gen and upper layer.
    

    4.10 DB-gen:

     DB-gen layer is generated by greendao to implement ORM.
    

    4.11 UTIL:

     UTIL layer contains various utilities classes.
    

    4.12 LOG:

     LOG layer is the layer about logging. Log4j is used at present.
    

    4.13 ESPTOUCH:

     ESPTOUCH layer contains the source code of esptouch. ESPTOUCH layer is an indepent layer.
    
     At present, only UI layer depends upon it. And it is just used to display a ESPTOUCH demo.
    

More Repositories

1

EsptouchForAndroid

EspTouch is one way for Android Phone to tell the connected Router's Ssid, Password and etc. to make IOT devices to connect to the same Router. EspTouch is developed and maintained by Espressif Corp.
Java
1,018
star
2

EsptouchForIOS

EspTouch is one way for iPhone to tell the connected Router's Ssid, Password and etc. to make IOT devices to connect to the same Router. EspTouch is developed and maintained by Espressif Corp.
Objective-C
409
star
3

EspBlufiForAndroid

EspBlufi is based on the BLUFI protocol, which connect with IOT devices for BLE data communication, realizes device config network, and custom data transmission and reception. EspBlufi is developed and maintained by Espressif Corp.
Java
317
star
4

EspBlufiForiOS

EspBlufi is based on the BLUFI protocol, which connect with IOT devices for BLE data communication, realizes device config network, and custom data transmission and reception. EspBlufi is developed and maintained by Espressif Corp.
C
101
star
5

EspMeshForAndroid

ESP-MESH can be thought of as an extension of the Wi-Fi protocol. It combines the advantages of both Wi-Fi and Bluetooth technologies to provide innovative solutions that make you re-think how wireless networks can be built using the same networking equipment. ESP-MESH is developed and maintained by Espressif Corp.
JavaScript
62
star
6

IOT-Espressif-Android-APK

IOT-Espressif-Android released APKs
57
star
7

EspEyeForWeChat

JavaScript
31
star
8

EspBLEMeshForAndroid

Java
27
star
9

EspMeshForiOS

ESP-MESH can be thought of as an extension of the Wi-Fi protocol. It combines the advantages of both Wi-Fi and Bluetooth technologies to provide innovative solutions that make you re-think how wireless networks can be built using the same networking equipment. ESP-MESH is developed and maintained by Espressif Corp.
C
16
star
10

EspMeshForWeChat

JavaScript
13
star
11

IOT-Espressif-iOS

iOS app for Espresso's IOT
Objective-C
13
star
12

Esp32MeshAppResources

APP resources for Esp32 mesh smart device
13
star
13

EspRelease

Release Espressif android app
12
star
14

lib-esptouch-v2-android

Java
12
star
15

EsptouchForAndroidForRTOS

11
star
16

EsptouchForIOSForRTOS

Esptouch for IOS developer, it is used by RTOS version
11
star
17

lib-esptouch-android

Java
9
star
18

lib-blufi-android

Java
7
star
19

notification

Example for Apns implement of http://iot.espressif.cn
6
star
20

MeshProxyForIOS

The lib to support Espressif's mesh scheme by an proxy server supported by Espressif App iOS Team
3
star
21

rainmaker-proto-java

Compiled java files of rainmaker protobuf
1
star