从嵌入式系统实施电子邮件或短信有哪些选项?
我有兴趣从实验室仪器(在 ARM9、C/C++、RTOS 上实现)发送电子邮件通知。据我了解,我需要配置 SMTP 网关、用户名和密码。该仪器的用户界面有限,但我认为我们可以管理它。这样的解决方案有效吗?看起来这很方便 - 但如果 SMTP 网关出现故障 - 则无法收到电子邮件。似乎对于短信也有类似的解决方案,但我想知道我是否让仪器变得太复杂了?
I'm interested in sending email notifications from a laboratory instrument (implemented on an ARM9, C/C++, RTOS). From what I understand, I would need to configure the SMTP gateway, username and password. The instrument has a limited UI, but I think we could manage it. Do solutions like this work? It seems like it would be convenient - but if the SMTP gateway is down - no email. It seems like there are similar solutions for SMS, but I'm wondering if I am putting to much complexity in the instrument?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 RTOS,您可能会查看 POCO 以获得 C++ 解决方案,或者可能 LuaSocket 如果你愿意/能够使用 Lua。我在嵌入式 Linux 设备中使用 LuaSocket 来发送电子邮件和短信,通过查找手机的等效电子邮件地址来发送短信。
Depending on the RTOS you might have a look at POCO for a C++ solution, or possibly LuaSocket if you're willing/able to use Lua. I use LuaSocket in an embedded Linux device to send email and SMS, the SMS by looking up the phone's equivalent email address.