Base on SIM800_AT_Python
-
Reject calls/accept/forward/send text messages through SIM800 module and AT commands. Supports multiple input and output methods.
-
通过SIM800模块和AT指令拒绝电话/接受/转发/发送短信。支持多种输入和输出方法。
Changes in SIM_Forwarder_2024:
- Use Sqlite as database, instead of file system.
- TimeStamp will be saved as timestamp.
- 3 types of log: TERMINAL(pyserial), LOG_TG(Telegram), LOG(std_output)
- Remove virtual environment. Use more python native methods to implement functions and achieve the best compatibility.
Database Desgin:
CREATE TABLE "calls" ( "timestamp" TEXT, "from" TEXT, "to" TEXT, "result" TEXT ); CREATE TABLE "messages" ( "timestamp" TEXT, "from" TEXT, "to" TEXT, "content" TEXT ); CREATE TABLE "logs" ( "timestamp" TEXT, "self" TEXT, "type" TEXT, "content" TEXT );
WebServer Design: API Desgin(Method: POST): Form Not in URL but like this Return json:
/api/message/send mode=[cn/en]&from=[]&to=[]
{"result":"suc/fail", "details":"xxx"}
/api/phone/call from=[]&to=[]
{"result":"suc/fail", "details":"xxx"}
/api/message/read include_num=[]&index=[]&include_content=[]&share=[] /api/phone/read?include=
If the value of "from" in the posted form is "TEST", API will return test message.
Dev Details: Read app/Dev_Notes.txt
USB转GSM模块 四频GSM/GPRS SIM80OC
Messages
Send a message
Call
Make a call
Plugin: Bank chart (Read bank messages from database)
Share: Share to others. 共享网盘登录的动态验证码
Add messages to database manually. 手动添加消息到数据库
Statistics
Console控制台
Database
Database
Database
Telegram