-
Notifications
You must be signed in to change notification settings - Fork 15
Logfileanalysisofsuccessfulrun
==== AndroidSpineServerMainActivity is started and reqests to bind to the service ==== 02-16 07:59:56.006: D/BFDemo(7162): AndroidSpineServerMainActivity.onCreate() 02-16 07:59:56.006: I/BFDemo(7162): *****************binding for packagecom.t2.androidspineexample ************************** 02-16 07:59:56.014: I/BFDemo(7162): *****************binding SUCCESS ************************** 02-16 07:59:56.014: I/BFDemo(7162): --------------------Starting Target Activity (com.t2.AndroidSpineExampleActivity.MAIN) ----------------------- 02-16 07:59:56.021: D/BFDemo(7162): AndroidSpineServerMainActivity.onResume()
==== The Service is started up (caused by the finding process) ==== 02-16 07:59:56.029: D/AndroidBTService(7162): BioFeedbackService.onCreate(), Version 1.2 02-16 07:59:56.029: D/AndroidBTService(7162): DeviceManager.getInstance() previous exists: deviceManager = com.t2.biofeedback.DeviceManager@4051cf90 02-16 07:59:56.045: I/AndroidBTService(7162): Updating device listeners: 00:06:66:43:A6:A1 02-16 07:59:56.053: D/AndroidBTService(7162): BioFeedbackService.onBind()
==== The service is connected ==== 02-16 07:59:56.092: I/BFDemo(7162): Service Connected
==== The example activity is started and sends a service discovery message to the service ==== 02-16 07:59:56.178: D/BFDemo(7162): AndroidSpineExampleActivity.onCreate() 02-16 07:59:56.193: D/BFDemo(7162): SPINEManager createSPINEManager(EXISTING), managerInstance = spine.SPINEManager@405a9e18
02-16 07:59:56.217: I/JavaLogger(7162): Send cmd: Spine Header {ver: 1.3, ext:false, pktType:SVC DISC, groupID:AB, srcID:0, dstID:BROADCAST, seqNr:0, fragNr:1, totFrags:1} (hex: C1 AB 0 0 FF FF 0 1 1 ) - Payload (hex) { empty payload } [msg len=9] to node: 65535 02-16 07:59:56.224: I/JavaLogger(7162): SENT -> Spine Header {ver: 1.3, ext:false, pktType:SVC DISC, groupID:AB, srcID:0, dstID:BROADCAST, seqNr:0, fragNr:1, totFrags:1} (hex: C1 AB 0 0 FF FF 0 1 1 ) - Payload (hex) { empty payload } [msg len=9] 02-16 07:59:56.240: D/AndroidBTService(7162): IncomingHandler.handleMessage(), what = 1, arg1 = 0 02-16 07:59:56.240: D/AndroidBTService(7162): IncomingHandler MSG_REGISTER_CLIENT - Adding client data listener: android.os.Messenger@40540290, len = 1 02-16 07:59:56.240: D/AndroidBTService(7162): IncomingHandler.handleMessage(), what = 8888, arg1 = 1 02-16 07:59:56.240: D/AndroidBTService(7162): *** NEW Received a SERVICE_DISCOVERY msg *** message type 1
==== The example activity sends a poll bluetooth devices message to the service ==== 02-16 07:59:58.264: D/AndroidBTService(7162): IncomingHandler.handleMessage(), what = 8888, arg1 = 16 02-16 07:59:58.264: D/AndroidBTService(7162): *** NEW Received a POLL_BLUETOOTH_DEVICES msg *** message type 16 02-16 07:59:58.271: D/AndroidBTService(7162): JSON paired devices = [{"enabled":true,"address":"","connectionStatus":0,"name":"system"},{"enabled":true,"address":"00:07:80:99:9E:8C","connectionStatus":2,"name":"BH ZBH002095"},{"enabled":true,"address":"00:13:EF:00:2F:93","connectionStatus":2,"name":"MindSet"},{"enabled":true,"address":"00:06:66:43:A6:A1","connectionStatus":2,"name":"RN42-A6A1"}] 02-16 07:59:58.279: I/JavaLogger(7162): SENT -> Spine Header {ver: 1.3, ext:false, pktType:?, groupID:AB, srcID:0, dstID:BROADCAST, seqNr:1, fragNr:1, totFrags:1} (hex: D0 AB 0 0 FF FF 1 1 1 ) - Payload (hex) { empty payload } [msg len=9]
==== The example actiity receives a list of paired devices from the service ==== 02-16 07:59:58.303: D/BFDemo(7162): AndroidSpineExampleActivity.onStatusReceived(STATUS_PAIRED_DEVICES) 02-16 07:59:58.303: I/BFDemo(7162): AndroidSpineExampleActivity Received command : STATUS_PAIRED_DEVICES to sensor node
==== The Shimmer device connects (via Bluetooth) to the service ==== 02-16 08:00:11.459: V/AndroidBTService(7162): Device (RN42-A6A1) connected. 02-16 08:00:11.506: I/AndroidBTService(7162): Configurating Shimmer - Setting sensors to monitor 02-16 08:00:11.506: D/BFDemo(7162): AndroidSpineExampleActivity.onStatusReceived(CONN_CONNECTED) 02-16 08:00:11.514: D/BFDemo(7162): AndroidSpineExampleActivity.onStatusReceived(CONN_ANY_CONNECTED) 02-16 08:00:11.514: I/BFDemo(7162): AndroidSpineExampleActivity Received command : CONN_ANY_CONNECTED to RN42-A6A1
==== The sample activity sends command to the shimmer device to tell it to start streaming ====
02-16 08:00:11.537: I/JavaLogger(7162): Send cmd: Spine Header {ver: 1.3, ext:false, pktType:STP SENS, groupID:AB, srcID:0, dstID:-13, seqNr:2, fragNr:1, totFrags:1}.... 02-16 08:00:11.599: I/JavaLogger(7162): SENT -> Spine Header {ver: 1.3, ext:false, pktType:STP SENS, groupID:AB, srcID:0, dstID:-13, seqNr:2, fragNr:1, totFrags:1}....
==== The service receives the start streaming command - sends it to the shimmer ddevice==== 02-16 08:00:11.599: D/AndroidBTService(7162): IncomingHandler.handleMessage(), what = 8888, arg1 = 3 02-16 08:00:11.599: D/AndroidBTService(7162): *** NEW Received a SETUP_SENSOR msg *** message type 3 02-16 08:00:11.599: I/AndroidBTService(7162): Address = 00:06:66:43:A6:A1 02-16 08:00:11.599: I/AndroidBTService(7162): Received command to START streaming 02-16 08:00:11.599: I/AndroidBTService(7162): (00:06:66:43:A6:A1)Writing to BT:088400 02-16 08:00:11.685: I/AndroidBTService(7162): Configurating Shimmer - Setting sample rate 02-16 08:00:11.685: I/AndroidBTService(7162): (00:06:66:43:A6:A1)Writing to BT:05f0 02-16 08:00:11.756: I/AndroidBTService(7162): Configurating Shimmer - Setting gsr Range 02-16 08:00:11.756: I/AndroidBTService(7162): (00:06:66:43:A6:A1)Writing to BT:2104 02-16 08:00:11.850: I/AndroidBTService(7162): Telling Shimmer to start streaming 02-16 08:00:11.850: I/AndroidBTService(7162): (00:06:66:43:A6:A1)Writing to BT:07
==== The shimmer device received a data packet from the shimmer device, sends it on the example activity ==== 02-16 08:00:12.115: I/AndroidBTService(7162): Complete Packet:000122a1076d04fb0666c2
==== example activity receives the shimmer data ==== 02-16 08:00:12.115: I/BFDemo(7162): Received Shimmer Data, GSR = 614