Hello,
I am trying to create an Android App based on the Shimmer Android Driver 
Library 2.2. I followed the user manual 
(Shimmer_Android_Instrument_Driver_User_Manual_rev2.2a.pdf) to run the 
ShimmerExample application. I flashed the recent firmware 
(BtStream_v0.2.0_shimmer3.txt) and replaced the bluetoothAddress with the 
correct device address from one of our sensors. When I run the app, the sensor 
LED turns blue but the streaming won’t start and the connection state ends up 
in “No state”. I get this log output from the Shimmer Example application:
…
03-06 13:55:54.291: D/Shimmer(32745): Start of Default ConnectThread
03-06 13:55:54.301: D/ConnectionStatus(32745): Trying
03-06 13:55:54.311: W/BluetoothAdapter(32745): getBluetoothService() called 
with no BluetoothManagerCallback
…
03-06 13:55:54.311: D/BluetoothSocket(32745): connect(), SocketState: INIT, 
mPfd: {ParcelFileDescriptor: FileDescriptor[48]}
03-06 13:55:54.321: D/ConnectionStatus(32745): Connecting
…
03-06 13:55:55.391: D/Shimmer(32745): Command Transmitted: [3]
03-06 13:55:55.391: D/Shimmer(32745): Command transmitted: 00:06:66:64:71:82; 
Command Issued: 3
03-06 13:55:55.391: D/ShimmerTimer(32745): Waiting for ack/response for 
command: 3
03-06 13:55:57.391: D/ShimmerSamlingRate(32745): Get Sampling Rate Timeout
03-06 13:55:57.391: D/Shimmer(32745): Command Transmitted: [46]
03-06 13:55:57.391: D/Shimmer(32745): Command transmitted: 00:06:66:64:71:82; 
Command Issued: 46
03-06 13:55:57.391: D/ShimmerTimer(32745): Waiting for ack/response for 
command: 46
...
03-06 13:55:59.391: D/ShimmerFW(32745): FW Response Timeout
03-06 13:55:59.401: D/Shimmer(32745): Command Transmitted: [3]
03-06 13:55:59.401: D/Shimmer(32745): Command transmitted: 00:06:66:64:71:82; 
Command Issued: 3
03-06 13:55:59.401: D/ShimmerTimer(32745): Waiting for ack/response for 
command: 3
03-06 13:56:01.401: D/Shimmer(32745): Command 3 failed; Killing Connection  
03-06 13:56:01.401: D/ConnectionStatus(32745): No State

What is going wrong here?
Can somebody provide a working example for the connection to a Shimmer3 sensor?

Cheers,
Ulf Jensen

Dipl.-Inf. Ulf Jensen
Digital Sports Group

Pattern Recognition Lab
Friedrich-Alexander-University Erlangen-Nuremberg
Haberstr. 2, 91058 Erlangen, Germany

Phone:  +49 (0)9131 / 85-27890
E-Mail: [email protected]
Web:    www5.informatik.uni-erlangen.de/~jensen

_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to