It is currently Wed Jul 06, 2011 8:08 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 5 posts ] 
Author Message
 Post subject: Problems with L2CAP server? [fixed]
PostPosted: Wed Feb 23, 2011 5:43 pm 

Joined: Sun Feb 20, 2011 4:39 pm
Posts: 3
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.


Last edited by jdp on Thu Feb 24, 2011 6:32 pm, edited 1 time in total.

Offline
 Profile  
 
 Post subject: Re: Problems with L2CAP server?
PostPosted: Wed Feb 23, 2011 6:13 pm 
User avatar

Joined: Tue Feb 15, 2011 1:00 am
Posts: 60
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.


Offline
 Profile  
 
 Post subject: Re: Problems with L2CAP server?
PostPosted: Thu Feb 24, 2011 6:32 pm 

Joined: Sun Feb 20, 2011 4:39 pm
Posts: 3
The issues I was having were resolved by upgrading from the 1.0.2 SDK to the latest release. :) Thanks!


Offline
 Profile  
 
 Post subject: Re: Problems with L2CAP server? [fixed]
PostPosted: Thu Apr 07, 2011 8:43 am 

Joined: Thu Apr 07, 2011 8:39 am
Posts: 1
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.


Offline
 Profile  
 
 Post subject: Re: Problems with L2CAP server? [fixed]
PostPosted: Wed Apr 13, 2011 4:41 pm 
User avatar

Joined: Mon Feb 14, 2011 7:07 pm
Posts: 172
@smw, have you tried with SDK 1.1.2? www.getinPulse.com/pulsesdk



_________________
---

Lead designer of inPulse
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: