Arduino 由于 HTTPS 支持 [英] Arduino Due HTTPS Support

查看:39
本文介绍了Arduino 由于 HTTPS 支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在之前版本的 Arduino 中,限制 8 位微控制器板,似乎实现 HTTPS(不仅仅是 HTTP)几乎是不可能的.但较新版本的 Arduino Due 提供 32 位 ARM 内核 - 请参阅规范此处.

In previous versions of Arduino, the limiting 8-bit microcontroller board, it seems that implementing HTTPS (not merely HTTP) was almost impossible. But the newer version of Arduino Due provides 32-bit ARM core - see spec here.

我试图检查几个网络库(libcurl、openssl、yaSSL),但我没有找到任何已经移植到 Arduino Due 的人.

I tried to check several network libraries (libcurl, openssl, yaSSL), but I didn't find anyone that was already ported to work with Arduino Due.

OpenSSL 可能太重了,无法在这个处理器上运行,但我相信 yaSSL 作为嵌入式库应该是可以做到的.

OpenSSL is probably too heavy to be able to run on this processor, but I believe that yaSSL as an embedded library should be possible to do.

您是否有任何可以用于在 Arduino Due 上触发 HTTPS 请求的库的信息?

Do you have any information of a library that I can use to trigger HTTPS requests on Arduino Due?

推荐答案

遗憾的是,评论太长了.

Unfortunately this is too long for a comment.

没有现成的解决方案

从我收集到的信息来看,对于在 Atmel SAM3X8E ARM Cortex-M3 CPU 上运行的网络服务器来说,没有直接的解决方案,可以立即输出 HTTPS.Texas Intstruments 目前使用配备 Stellaris 微控制器 ARM Cortex-M3 CPU 的主板提供更好的选择.

From what I have gathered, there is no straightforward solution for a webserver running on the Atmel SAM3X8E ARM Cortex-M3 CPU that outputs HTTPS out of the box. Texas Intstruments provides better options at the moment using their boards equipped with a Stellaris Microcontroller ARM Cortex-M3 CPU.

► 替代

有几个选项可以呈现加密函数,基于这些选项可以布置和实施 与中间设备通信的简单安全通信协议,从而促进快速应用程序开发和 SSL.

There are several options available that render cryptographic functions, based upon which one could lay out and implement a simple secure communication protocol that communicates with an intermediary device, which in turn facilitates Rapid Application Development and SSL.

这个中间设备,例如一个 70 美元的现成 Android 智能手机,它可以让您的项目保持移动和连接,在指定的端口上运行服务,该服务又与 Amazon SQS 通信.已经可用.这听起来可能很难看或很难,但比在 Arduino 上为具有完整 TLS 3 支持的网络服务器进行编程基础要容易得多.考虑到适当的动机,后者可能很容易,但如果您只是想为自己的项目找到一种快速实用的解决方案,则不然.

This intermediary device, for instance an off-the-shelf 70$ Android smartphone that keeps your project mobile and connected, runs a service on a specified port which in turn communicates with Amazon SQS. Already available. This may sound ugly or tough, but is much easier than doing the programmatic groundwork for a webserver with full TLS 3 support on the Arduino. Given the proper motivation the latter may be easy, but not if one just wants a fast pragmatic solution to one's own project.

密码库

  • crypto-arduino-library http://code.google.com/p/crypto-arduino-library/ (not maintained since 2010)
  • matrixssl
  • mbed TLS (formerly PolarSSL)
  • wolfSSL (formerly CyaSSL)

讨论

以下是帮助您入门的讨论列表:

Following is a list of discussions to get you started:

其中许多库仍需要调整,但社区专家可以很快为您提供帮助.

Many of these libraries would still need to be adapted, but community experts can help you with that fairly quickly.

祝你好运!如果您可以随意将最终项目上传到 github,那么您就获得了感谢和追随者.

Good luck! If you are at liberty to upload your final project to github then you just gained a thanks and a follower.

这篇关于Arduino 由于 HTTPS 支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆