从网络将数据下载到 PIC micro
我有一个客户想要一块小型 PIC 板,它可以作为 HID 模式下的加密狗插入 PC 的 USB。它基本上只是通过射频将少量数据传输到房间另一侧的另一台设备。 他们希望数据来自网络。 IE。用户单击浏览器中的链接即可唤醒 PIC 板并开始下载到 PIC 器件,而无需在用户面前明显弹出另一个应用程序。
我认为如果不设置浏览器首选项并分配自定义应用程序来识别数据文件,就无法完成此操作。除非我遗漏了什么,否则启动此类事件流的链接的安全问题一定太大了。 有人做过类似我上面描述的事情吗?
I have a client that would like a small PIC board that plugs into a PC's USB as a dongle in HID mode. It would basically just transfer small amounts of data over RF to another device across the room.
They would like the data to come from the web. ie. user clicks a link in their browser which wakes up the PIC board and begins a download to the PIC device without the need for another application to visibly popup in front of the user.
I would think this can't be done without the setting up the browser preferences and assigning a custom application to recognize the data file. The security issues with a link initiating this kind of flow of events must be too great unless I'm missing something.
Has anyone done something like what I described above?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以编写一小段在 PC 后台运行的软件(例如 Windows 服务),并且:
如果PIC设备是网络连接的(例如,具有以太网连接,并且其在网络上有自己的IP地址),则PIC设备可以提供Web界面来控制它。我不知道将小型 Web 服务器安装到 PIC 上是否可行——那将是一个紧密的配合。
You could write a small piece of software that runs in the background on the PC (e.g. a Windows service), and:
If the PIC device is network connected (e.g. has an Ethernet connection, and its own IP address on the network) then the PIC device could provide a web interface to control it. I don't know how feasible it is to fit a small web server onto a PIC though--that would be a tight fit.
是的,这一系列事件似乎不太合乎常理。也许浏览器插件或在 PC 上运行的程序来处理 PIC 和 Web 之间的通信会更好?
Yeah that sequence of events doesn't seem too kosher. Perhaps a browser plugin or a program running on the PC that handles communication between the PIC and web would be better?