Air780E+ESP32C3 短信转发

2022-11-13 20:10:56 +08:00
 hertzry

根据这个教程(50 元内自制短信转发器)过一遍就行,踩坑如下:

  1. Luattools 要放在第一个文件夹里,点击更新要下载很多东西,应该不更新也行。
  2. 作者使用的简约版 ESP32C3 其实就是新版,对于 Windows 10 不需要装驱动,它的名字是 USB Serial Device ,视频里是 USB-Enhance-Serial-CH343 ,那个是老版,要额外装驱动。我被误导了,其实简约版什么都不用装。
  3. 作者的固件可能有问题,我用这里的 LuatOS-SoC_V1001_ESP32C3_USB ,可能它们就是一个东西。
  4. Luat 官方的邮箱推送或者是他们用的那个服务有问题,邮件好像发不了,最后我用自建 Bark 了。

问题: 虽然适配了长短信,但是还有一些奇奇怪怪的问题,应该是 notify 和 main 有冲突。

[2022-11-13 19:06:06.906] I/user.sms	recv	10681982580146303	NN
[g
[2022-11-13 19:06:06.906] 0 	22/11/13,19:06:04+32	true	2	2
[2022-11-13 19:06:06.906] I/user.notify	got sms	10681982580146303	NN
[g
[2022-11-13 19:06:06.906] 0 
[2022-11-13 19:06:06.906] ww	32.71777

[2022-11-13 19:06:06.922] I/user.notify	len,offset	5	0
[2022-11-13 19:06:06.922] I/user.notify	send to luatos push server	京东客服。
[2022-11-13 19:06:06.922] I/http HTTP GET
[2022-11-13 19:06:07.515] D/http esp_http_client_perform 0
[2022-11-13 19:06:07.515] I/user.notify	pushed sms notify	200	table: 3FCACA90	{"code":200,"message":"success","timestamp":1668337568}	10681982580146303
[2022-11-13 19:06:07.515] I/user.notify	len,offset2	-35	40
[2022-11-13 19:06:07.515] I/user.notify	wait for a new sms~
[2022-11-13 19:06:07.515] zzz	34.68848
[2022-11-13 19:06:18.467] I/user.sms	recv	10681982580146303	0 N 琋
0 殞嬃 x N:I/user.air780	found a long sms	2	1
[2022-11-13 19:08:18.472] I/user.notify	got sms	10681982580146303	0 NN
0 x N:ww	32.81738
[2022-11-13 19:08:18.472] I/user.notify	len,offset	67	0
[2022-11-13 19:08:18.472] I/user.notify	send to luatos push server	 [京东] 验证码为 613056 ,请确认本人操作,切勿泄露给他人,请在找回密码页面中
[2022-11-13 19:08:18.472] I/http HTTP GET

[2022-11-13 19:08:19.029] D/http esp_http_client_perform 0
[2022-11-13 19:08:19.033] I/user.notify	pushed sms notify	200	table: 3FCB4430	{"code":200,"message":"success","timestamp":1668337699}	10681982580146303
[2022-11-13 19:08:19.033] I/user.notify	len,offset2	27	40
[2022-11-13 19:08:19.040] I/user.notify	len,offset	27	40
[2022-11-13 19:08:19.043] I/user.notify	send to luatos push server	完成验证,如有问题点击 ihelp.jd.com 联系
[2022-11-13 19:08:19.043] I/http HTTP GET
[2022-11-13 19:08:19.049] I/user.notify	pushed sms notify	-4	nil	nil	10681982580146303
[2022-11-13 19:08:24.073] I/http HTTP GET
[2022-11-13 19:08:24.614] D/http esp_http_client_perform 0
[2022-11-13 19:08:24.614] I/user.notify	pushed sms notify	200	table: 3FCAD250	{"code":200,"message":"success","timestamp":1668337705}	10681982580146303
[2022-11-13 19:08:24.614] I/user.notify	len,offset2	-13	80

4696 次点击
所在节点    分享创造
23 条回复
hertzry
167 天前
@pinkGo 那就奇怪了,我跑过一次 0.03M 的流量,别的就没了。重刷新的固件试试,新固件支持一次性推送长短信了。
pinkGo
167 天前
@hertzry #21 插的国外的卡 直接给我干停机了
hertzry
166 天前
@pinkGo 那就不太清楚了,我用的国内卡没有问题。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/894925

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX