和Flex的USB设备交谈,反之亦然 [英] Talk to USB device and vice versa from Flex

查看:171
本文介绍了和Flex的USB设备交谈,反之亦然的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的同事面临着在Flex中接受用户输入并使用该数据在USB设备上执行命令的挑战。我们认为我们需要在机器上运行套接字服务器才能做到这一点。我们希望发送字节数组的对象,而不仅仅是字符串。

有什么可以帮助我们吗?我们是否需要编写我们自己的套接字服务器,恐怕可能需要一些时间,或者我们可以使用任何现有的远程网关,如WebORB或FluorineFX,并以某种方式使用它来进行通信和序列化,或许将它们作为Windows服务?

解决方案

  • nofollow noreferrer> http://www.merapiproject.net/ )Java-to-AIR桥。


    My co-worker is challenged with taking user input in Flex and using that data to execute commands on a USB device. We figured we would need to have a socket server running on the machine in order to do this. We want to send objects with byte arrays etc, not just strings.

    Is there anything out there that could help us? Do we need to write our own socket server, which I am afraid might take some time, or can we use any of the existing remote gateways like WebORB or FluorineFX and somehow use that to do the communication and the serialization perhaps by hosting them as a Windows service?

    解决方案

    Checkout Merapi (http://www.merapiproject.net/) Java-to-AIR bridge.

    这篇关于和Flex的USB设备交谈,反之亦然的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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