| forum.getinpulse.com http://www.getinpulse.com/hack/forum/ |
|
| Problems with L2CAP server? [fixed] http://www.getinpulse.com/hack/forum/viewtopic.php?f=6&t=50 |
Page 1 of 1 |
| Author: | jdp [ Wed Feb 23, 2011 5:43 pm ] |
| Post subject: | Problems with L2CAP server? [fixed] |
So my watch arrived today and I can't quite get through the Mac guide. I can connect to the watch via Bluetooth and get the address, but when trying to load the example app in step 3 I get to problems. After starting up the L2CAP server and running compileandload.py, it runs for a while and eventually L2CAPServer.jar gives this message: "Exception while sending ack: java.net.SocketException: Socket closed". It then hangs. The python script does terminate though. Sometimes the watch hangs showing the hourglass, other times after a few seconds the watch restarts and goes back to the screen that shows the Bluetooth logo, my pair code, and the version 0.7 in the bottom corner. I tried running the script to send a message to the watch (figured it might still work), but the L2CAP server has stopped accepting connections after the exception. I'm using SDK 0.2. |
|
| Author: | Jon [ Wed Feb 23, 2011 6:13 pm ] |
| Post subject: | Re: Problems with L2CAP server? |
Download the latest SDK. Those scripts have changed. If you're on 1.0.2 then you're on the latest. If you have the latest and still have trouble, send an e-mail to [email protected] with the output from both terminal windows. |
|
| Author: | jdp [ Thu Feb 24, 2011 6:32 pm ] |
| Post subject: | Re: Problems with L2CAP server? |
The issues I was having were resolved by upgrading from the 1.0.2 SDK to the latest release. |
|
| Author: | smw [ Thu Apr 07, 2011 8:43 am ] |
| Post subject: | Re: Problems with L2CAP server? [fixed] |
I am having the same issue running SDK 1.1.1. Any ideas? Terminal Output: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\XPMUser>cd C:\Documents and Settings\XPMUser\My Docume nts\InPulse\pulse_sdk111\pulse_sdk\tools\L2CAPServer C:\Documents and Settings\XPMUser\My Documents\InPulse\pulse_sdk111\ pulse_sdk\tools\L2CAPServer>java -jar L2CAPServer.jar Created InpulseBtConnection BlueCove version 2.1.0 on widcomm Addr: 5CAC4CFBC7F9 Bluetooth Available: true Stack: widcomm inPulse L2CAPServer Started v1.0.1 Waiting for a connection... Got a connection Parsing Command 32 Buffer of length 12 Trying to connect to btl2cap://0050c279ee6a:1001;ReceiveMTU= ... mitMTU=250 Exception while trying to connect via bluetooth: javax.bluetooth.BluetoothConnec tionException: Connection timeout Parsing Command 0 Buffer of length 18 Can't send bluetooth data: not connected Parsing Command 1 Buffer of length 4 Exception while trying to receive bluetooth data: java.lang.Exception: from rece ive(): not connected ========================== Sending Error response Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\XPMUser>cd C:\Documents and Settings\XPMUser\My Docume nts\InPulse\pulse_sdk111\pulse_sdk C:\Documents and Settings\XPMUser\My Documents\InPulse\pulse_sdk111\ pulse_sdk>C:\Python26\python.exe compileandload.py -d 00:50:c2:79:ee:6a use correct syntax About to load firmware C:\Documents and Settings\XPMUser\My Documents\InPulse\pulse_sdk111\ pulse_sdk\build\pulse_app.bin trying to connect to: localhost . 2 Got error in response. Try restarting L2CAPServer and try again. C:\Documents and Settings\XPMUser\My Documents\InPulse\pulse_sdk111\ pulse_sdk>C:\Python26\python.exe compileandload.py -d 00:50:c2:79:ee:6a -n About to load firmware http://www.getinpulse.com/images/bbrele ... ulseos.bin trying to connect to: localhost . 2 Got error in response. Try restarting L2CAPServer and try again. |
|
| Author: | Eric [ Wed Apr 13, 2011 4:41 pm ] |
| Post subject: | Re: Problems with L2CAP server? [fixed] |
@smw, have you tried with SDK 1.1.2? www.getinPulse.com/pulsesdk |
|
| Page 1 of 1 | All times are UTC - 8 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|