MCPcopy Create free account

hub / github.com/chenxuuu/sms_forwarding / functions

Functions49 in github.com/chenxuuu/sms_forwarding

↓ 114 callersFunctionlogCaptureLn
code/web_handlers.cpp:53
↓ 22 callersFunctionsendATCommand
发送AT命令并获取响应
code/modem.cpp:5
↓ 10 callersFunctioncheckAuth
检查HTTP Basic认证
code/web_handlers.cpp:66
↓ 8 callersFunctionlogCapture
code/web_handlers.cpp:27
↓ 7 callersFunctionlogCaptureF
code/web_handlers.cpp:37
↓ 6 callersFunctionjsonEscape
JSON转义函数
code/push.cpp:94
↓ 6 callersFunctionurlEncode
URL编码辅助函数
code/push.cpp:41
↓ 5 callersFunctionblink_short
code/modem.cpp:125
↓ 5 callersFunctionsendEmailNotification
发送邮件通知函数
code/push.cpp:11
↓ 4 callersFunctionsendATandWaitOK
code/modem.cpp:132
↓ 3 callersFunction_logCommit
code/web_handlers.cpp:20
↓ 3 callersFunctionisPushChannelValid
检查推送通道是否有效配置
code/config.cpp:73
↓ 3 callersFunctionprocessSmsContent
处理最终的短信内容(管理员命令检查和转发)
code/sms_process.cpp:265
↓ 2 callersFunctionassembleConcatSms
合并长短信各分段
code/sms_process.cpp:74
↓ 2 callersFunctionclearConcatSlot
清空长短信槽位
code/sms_process.cpp:87
↓ 2 callersFunctionmodemInit
模组 AT 初始化流程(setup 中调用,resetModule 后也调用)
code/modem.cpp:51
↓ 2 callersFunctionresetModule
重启模组(EN引脚断电重启 + 重新初始化)
code/modem.cpp:44
↓ 2 callersFunctionsendSMS
发送短信(PDU模式)
code/modem.cpp:171
↓ 1 callersFunction_logAppend
code/web_handlers.cpp:14
↓ 1 callersFunctiondingtalkSign
钉钉签名函数(时间戳为UTC毫秒级)
code/push.cpp:67
↓ 1 callersFunctionfindOrCreateConcatSlot
查找或创建长短信缓存槽位
code/sms_process.cpp:21
↓ 1 callersFunctiongetDeviceUrl
获取当前设备URL
code/config.cpp:115
↓ 1 callersFunctiongetUtcMillis
获取当前UTC毫秒级时间戳(用于钉钉签名)
code/push.cpp:84
↓ 1 callersFunctionhandleRoot
处理配置页面请求
code/web_handlers.cpp:75
↓ 1 callersFunctionisAdmin
检查发送者是否为管理员
code/sms_process.cpp:188
↓ 1 callersFunctionisConfigValid
检查配置是否有效(至少配置了邮件或任一推送通道)
code/config.cpp:97
↓ 1 callersFunctionisHexString
检查字符串是否为有效的十六进制PDU数据
code/sms_process.cpp:148
↓ 1 callersFunctionisInNumberBlackList
检查发送者是否在号码黑名单中
code/sms_process.cpp:160
↓ 1 callersFunctionmodemPowerCycle
新增"模组断电重启"函数
code/modem.cpp:31
↓ 1 callersFunctionprocessAdminCommand
处理管理员命令
code/sms_process.cpp:207
↓ 1 callersFunctionreadSerialLine
读取串口一行(含回车换行),返回行字符串,无新行时返回空
code/sms_process.cpp:126
↓ 1 callersFunctionsaveConfig
保存配置到NVS
code/config.cpp:5
↓ 1 callersFunctionsendSMSToServer
发送短信到所有启用的推送通道
code/push.cpp:353
↓ 1 callersFunctionsendToChannel
发送单个推送通道
code/push.cpp:109
↓ 1 callersFunctionwaitCEREG
检测网络注册状态(LTE/4G) CEREG状态: 1=已注册本地, 5=已注册漫游
code/modem.cpp:151
FunctioncheckConcatTimeout
检查长短信超时并转发
code/sms_process.cpp:99
FunctioncheckSerial1URC
处理URC和PDU
code/sms_process.cpp:301
FunctionhandleATCommand
处理AT指令测试请求
code/web_handlers.cpp:292
FunctionhandleFlightMode
处理飞行模式控制请求
code/web_handlers.cpp:184
FunctionhandleLog
处理日志查询请求 — 返回环形缓冲区中的日志行
code/web_handlers.cpp:952
FunctionhandleModem
模组控制命令
code/web_handlers.cpp:968
FunctionhandlePing
处理Ping请求
code/web_handlers.cpp:670
FunctionhandleQuery
处理模组信息查询请求
code/web_handlers.cpp:323
FunctionhandleSave
处理保存配置请求
code/web_handlers.cpp:848
FunctionhandleSendSms
处理发送短信请求
code/web_handlers.cpp:614
FunctionhandleToolsPage
处理工具箱页面请求 — 已整合到主页,直接返回主页
code/web_handlers.cpp:179
FunctionhandleWifi
WiFi 重启
code/web_handlers.cpp:1077
FunctioninitConcatBuffer
初始化长短信缓存
code/sms_process.cpp:9
FunctionloadConfig
从NVS加载配置
code/config.cpp:34