The Interface Between Database And The Console - Geeetech ESP8266 Instruction

Table of Contents

Advertisement

2.4 The Interface between Database and the Console

The database adopts Sqitle3.
 Define the user format in the database
Format
user ( password TEXT,friend0 TEXT)
1)user is a form name in the database. In each line of the form, there are 2
Description
character strings: password, friend0. "Password" consists of "user name:
password". "Friend 0" represents good friend.
2)The "printer_" before user name represents the printer's login name.
 Administrator
Administrator is defined according to the user format.
 Administrator obtains the detailed user info list
Format
user form
Description
To obtain the detailed user info list, administrator needs to log in at first.
eg.
user form
Return
Format
eg.
 Administrator adds user name and password
Format
name: word : friend
Description
Administrator adds user name and password
Return
 Administrator deletes user name and password
Format
User name
Description
Administrator deletes user name and password
eg.
user printer_123456
Return
Success or fail
 Users change passwords
Format
Old passwoassword
User word: friend\n
9

Advertisement

Table of Contents
loading

Table of Contents