How to connect and send data to Bluetooth form AS3?

a 夏天 提交于 2020-01-02 06:16:08

问题


I need to connect and send data to Bluetooth from Action Script 3 (AS3)

if there is any idea I'll be glad for your help

Thanks in advance ,


回答1:


Nice question!

Wiimotes connect/send data through bluetooth.

I had a quick look through the WiiFlashServer java source. It uses a ServerSocket and it seems to send binary data to flash via the Socket class.

You could either adapt some of that code to suit your needs, or build a Socket server in your language of choice and send the data to flash sockets.

HTH, George



来源:https://stackoverflow.com/questions/2749713/how-to-connect-and-send-data-to-bluetooth-form-as3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!