Problem connecting Android Antidote with a weight scale

182 views
Skip to first unread message

<Hera>

unread,
Jun 27, 2012, 4:08:43 AM6/27/12
to antido...@googlegroups.com

Hello,

I am trying to connect an Android 4.0.4 device with a weight scale using antidote (HealthService and HealthServiceTest). I have only change line int [] specs = {0x100f} in HealthServiceTestActivity in order to look for this device.

When I run HealthServiceTestActivity I can only see 4 rectangles and the word “Ready” in the blue one. No measurements are transmitted and no connection is done. The device is paired and I connect to it by using Android HDP Demo source. This is my logCat using antidote:

 I/ActivityManager(  193): Start proc com.signove.health.servicetest for activity com.signove.health.servicetest/.HealthServiceTestActivity: pid=2120 uid=10065 gids={3001, 3002}

W/HST     ( 2120): Activity created

I/ActivityManager(  193): Start proc com.signove.health.service for service com.signove.health.service/.HealthService: pid=2133 uid=10064 gids={3001, 3002, 1015}

W/HSS     ( 2133): initialize()

D/dalvikvm( 2133): Trying to load lib /data/data/com.signove.health.service/lib/libhealthd.so 0x41694158

D/dalvikvm( 2133): Added shared lib /data/data/com.signove.health.service/lib/libhealthd.so 0x41694158

I/System.out( 2133): Entra en JniBridge

W/antidote( 2133): DEBUG  

W/antidote( 2133): healthd C: initializing 0x1e2b2c0 0x12700019

….

D/libEGL  ( 2120): loaded /system/lib/egl/libGLES_android.so

D/libEGL  ( 2120): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so

D/libEGL  ( 2120): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so

W/HSSHDP  ( 2133): onServiceConnected to profile: 3

W/HSSHDP  ( 2133): BluetoothHDPService is running.

W/HSS     ( 2133): HDP service connected

W/HSSHDP  ( 2133): Activity client registered

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 10

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 11

D/libEGL  ( 2120): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 10

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 11

W/HSS     ( 2133): HDP Registered

W/HSS     ( 2133): HDP Registered

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 10

W/HSS     ( 2133): HDP Registered

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 11

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 10

D/BluetoothEventLoop(  193): Property Changed: UUIDs : 11

W/HSS     ( 2133): HDP Registered

D/OpenGLRenderer( 2120): Enabling debug mode 0

W/HST     ( 2120): Service connection established

W/HST     ( 2120): Configuring...

W/HSS     ( 2133): ConfigurePassive

W/HSS     ( 2133): Configured agent

com.signove.health.servicetest/.HealthServiceTestActivity: +584ms

D/dalvikvm(  193): GC_CONCURRENT freed 997K, 13% free 17231K/19591K, paused 6ms+4ms

D/BluetoothEventLoop(  193): Device property changed: 00:09:1F:80:0A:XX property: Connected value: true

I/InputReader(  193): Reconfiguring input devices.  changes=0x00000004

I/InputReader(  193): Device reconfigured: id=6, name='Melfas MMSxxx Touchscreen', surface size is now 720x1280, mode is 1

I/ActivityManager(  193): Config changed: {1.0 999mcc0mnc es_ES layoutdir=0 sw360dp w598dp h335dp nrml land finger -keyb/v/h -nav/h s.15}

D/OpenGLRenderer( 2120): Flushing caches (mode 0)

W/HST     ( 2120): Unconfiguring...

W/HSS     ( 2133): Unconfigure

W/HST     ( 2120): Activity destroyed

D/OpenGLRenderer(  270): Flushing caches (mode 0)

W/HST     ( 2120): Activity created

W/HST     ( 2120): Service connection established

W/HST     ( 2120): Configuring...

W/HSS     ( 2133): ConfigurePassive

D/BluetoothEventLoop(  193): Device property changed: 00:09:1F:80:0A:XX property: Connected value: false

 

It seems like the application did not try to connect with the device, do I have to include a call to some specific method or change something more in order to make it work?

 Thank you in advance

Boubacar Ndack

unread,
Aug 12, 2015, 6:51:56 AM8/12/15
to Antidote: open-source IEEE 11073 stack
Hello,

I have the same problem, did you find the solution ?

Thank you in advance
Reply all
Reply to author
Forward
0 new messages