Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Bluetooth Serial USB #21

Open
GoogleCodeExporter opened this issue Mar 30, 2015 · 2 comments
Open

Doesn't work with Bluetooth Serial USB #21

GoogleCodeExporter opened this issue Mar 30, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Connect a usb bluetooth dongle (I'm using Blue Radios 4.0 Low Energy) to my 
Windows 7 Laptop. Putty is able to see the bluetooth data just fine from the 
arduino (using COM4, baud 115200)
2. Install ths as3-arduino-connector ANE in Flash CS6 (and the dll of course).
3. The socketData event gets triggered only one time in Flash, and strangely, 
only after PUTTY was running. If I publish the flash app again, no data. Need 
to reopen PUTTY, see the data there, close PUTTY, then run the flash app again, 
and then get only one data event again.

What is the expected output? What do you see instead?
Expected to see continuous data events in Flash, not just the first one.


What version of the product are you using? On what operating system?
Windows 7, latest as3-arduino-connector on Flash CS6


Please provide any additional information below.

I got a usb bluetooth dongle (Blue Radios 4.0 Low Energy). When I use Putty, I 
am able to see the arduino data just fine via bluetooth (the usb dongle directs 
this data to the serial connection on com4 on my windows 7 laptop). But I 
cannot read this into Flash.  I can connect in Flash, but the socketData 
handler only triggers once (and strangely, only after I had PUTTY running, must 
rerun PUTTY each time, and then run Flash to get just one data trigger). From 
Putty, I do need to send the bluetooth dongle the commands "at", and then 
"atdmle,ecfe7e101354" which is to connect to my bluetooth device on the 
arduino. After that, the data comes through fine on Putty. So I thought I need 
to use the Ardunio send command from Flash to send these initial commands. 
Tried that but also doesn't work. I've tried using TinkerProxy, same exact 
issue (and I tried using the update of Tinkerproxy with a fix for bluetooth, 
doesn't work). Any ideas much appreciated. Thanks!


Original issue reported on code.google.com by [email protected] on 28 Mar 2013 at 12:34

@GoogleCodeExporter
Copy link
Author

Just to mention, I've tried my setup with a USB serial cable instead of the 
bluetooth USB, and it works perfect. I get continous data events. So my arduino 
is working fine. For whatever bizzare reason, FLash does not see the bluetooth 
serial data in the same way as it sees serial data over a cable.

Original comment by [email protected] on 28 Mar 2013 at 12:36

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This should be fixed with the DTE controller.  Emulated USB serial ports don't 
support the DTE pin -- most likely the Bluetooth controller does (it would make 
sense -- you would want to use DTE for a shared medium like that).

In the recently released 1.5.0, there is a new parameter called "useDtrControl" 
in the connect function, which will set the DTR properly for the device.  Give 
that a shot and see if that makes a difference.

Original comment by [email protected] on 23 Apr 2013 at 3:35

  • Changed state: MoreInfoNeeded
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant