[android-developers] Bluez health profile - intentional permanent disconnect problem.

2011-09-26 Thread arun_satya3
Hi All,

I have a problem while working on pulse oximeter when the device
disconnects.

Can anyone pls explain what is intentional permanent disconnect and
how to resolve the problem.

When the above occurs, I am unable read the data and i get G_IO_HUP
error on the data channel fd.

Looks like the data channel fd is unable to map to the MCL.

Warm Rgds,
Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: bluez- control psm - condition G_IO_HUP error.

2011-09-21 Thread arun_satya3
Adding some more info.
During the second execution time, mcl fd is set to poll error G_IO_HUP
after mdl gets created.


On Sep 20, 9:44 pm, arun_satya3 arun.sat...@gmail.com wrote:
 Hi,

 I am writing an application to receive data from health devices an
 able to success fully receive data when the device is connected for
 the first time.
 The device is disconnected mcl and mdl is closed properly.
 When the device is connected for the second time G_IO_HUP is getting
 set and am unable to get the fd from the health device.

 Can anybody help me to resolve the issue.

 Rgds,
 Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] bluez- control psm - condition G_IO_HUP error.

2011-09-20 Thread arun_satya3
Hi,

I am writing an application to receive data from health devices an
able to success fully receive data when the device is connected for
the first time.
The device is disconnected mcl and mdl is closed properly.
When the device is connected for the second time G_IO_HUP is getting
set and am unable to get the fd from the health device.

Can anybody help me to resolve the issue.

Rgds,
Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Bluez HDP , Cant read data from fd, message bus timeout error.

2011-08-09 Thread arun_satya3
Hi,

I am trying to read data from oxymeter on android and after calling
Acquire method from healthchannel interface, i am doing a reply on
wait using dbus_connection_send_with_reply_and_block call and i am
getting the following error -

Dbus: Acquire method failed (Message did not receive a reply (timeout
by message bus))

Can anybody help me resolve the issue

Best Regards,
Arun S.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] unable to call bluez HDP APIs using DBus.

2011-07-27 Thread arun_satya3
Hi,

I am integrating Bluez HDP into android. I was able to create
health.so and flash into system/lib/bluez-plugin folder.

When i am trying to do a dbus-send on CreateApplication of health
profile, it shows success. But when I do a sdptool Browse, i cannot
see any sdp records.

my question is -
Is it enough to create a health.so and push into libs folder or is
there anything else to be done.

Can anybody guide me to resolve this issue.

Rgds,
Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: building android2.3.4 with bluez 4.94 - readline.h problems

2011-07-22 Thread arun_satya3
Hi,

I have integrated Bluez 4.91 on Gingerbread(Samsung). But to use
health profile, we are on our own (Writing .mk files and configuring
android). I too am doing the same thing.

Rgds,
Arun S.

On Jul 21, 3:15 pm, N.F.S. nfs...@gmail.com wrote:
 Hi,

 Does Arun S. updatebluezon android 2.3.4?
 I have to use HDP which only is supported in newerbluez.
 Any suggestion?

 Thanks a lot!

 Best regards,
 Lihan

 On Jun 16, 11:51 pm, arun_satya3 arun.sat...@gmail.com wrote:







  Hi,

  I was able to solve it by adding -I directive in android.mk file.

  Regards,
  Arun S.

  On Jun 15, 4:21 pm, arun_satya3 arun.sat...@gmail.com wrote:

   Hi,

   I am building android 2.3.4 withbluez4.94 for samsung nexus S mobile
   device.
   I have added / changed the android.mk files where ever required. Now I
   am getting the following error

   external/bluetooth/bluez/attrib/interactive.c:32:31: error: readline/
   readline.h: No such file or directory
   external/bluetooth/bluez/attrib/interactive.c:33:30: error: readline/
   history.h: No such file or directory

   I have installed necessary libraries.

   Can anyone help me in resolving the errors.

   Thanks a lot.

   Warm Regards,
   Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Bluez HDP app

2011-07-19 Thread arun_satya3
Hi,

I am writing an app to receive data from health devices and using
bluez 4.91.
Are there any documents which gives steps to create a HDP application?

Rgds,
Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] bluez help

2011-06-21 Thread arun_satya3
Hi,

Can anybody let me know bluez forums to get help for android
development.

Rgds,
Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: building android2.3.4 with bluez 4.94 - readline.h problems

2011-06-16 Thread arun_satya3
Hi,

I was able to solve it by adding -I directive in android.mk file.

Regards,
Arun S.


On Jun 15, 4:21 pm, arun_satya3 arun.sat...@gmail.com wrote:
 Hi,

 I am building android 2.3.4 with bluez 4.94 for samsung nexus S mobile
 device.
 I have added / changed the android.mk files where ever required. Now I
 am getting the following error

 external/bluetooth/bluez/attrib/interactive.c:32:31: error: readline/
 readline.h: No such file or directory
 external/bluetooth/bluez/attrib/interactive.c:33:30: error: readline/
 history.h: No such file or directory

 I have installed necessary libraries.

 Can anyone help me in resolving the errors.

 Thanks a lot.

 Warm Regards,
 Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] glib linker errors on gingerbread

2011-06-16 Thread arun_satya3
Hi,

While building bluez 4.94 on gingerbread, am getting the following
error -

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/
4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/
STATIC_LIBRARIES/libbuiltinattrib_intermediates/
libbuiltinattrib.a(gattrib.o): in function
g_attrib_cancel_all:external/bluetooth/bluez/attrib/gattrib.c:499:
error: undefined reference to 'g_queue_pop_head'

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/
4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/
STATIC_LIBRARIES/libbuiltinattrib_intermediates/
libbuiltinattrib.a(gattrib.o): in function
g_attrib_cancel_all:external/bluetooth/bluez/attrib/gattrib.c:513:
error: undefined reference to 'g_queue_push_head'

the definition is in glib/glib/galias.h  glib/glib/galiasdef.c

Is there a way to solve the problem.

Warm Regards,
Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] how to compile bluez for android

2011-06-15 Thread arun_satya3
Hi,

I am integrating Bluez 4.94 stack into gingerbread version 2.3.4. Can
anybody guide me to do the same.
present I am trying to add Android.mk files where ever is required. Is
this the right method.

Thanks,
Arun.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] building android2.3.4 with bluez 4.94 - readline.h problems

2011-06-15 Thread arun_satya3
Hi,

I am building android 2.3.4 with bluez 4.94 for samsung nexus S mobile
device.
I have added / changed the android.mk files where ever required. Now I
am getting the following error

external/bluetooth/bluez/attrib/interactive.c:32:31: error: readline/
readline.h: No such file or directory
external/bluetooth/bluez/attrib/interactive.c:33:30: error: readline/
history.h: No such file or directory

I have installed necessary libraries.

Can anyone help me in resolving the errors.

Thanks a lot.

Warm Regards,
Arun S.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en