0

can''t receive FoundAdvertisedName signal

asked 2015-01-26 03:17:51 -0800

huiguochen gravatar image

hi, i copyed the chat sample code into my cpp project ,and it all worked well on my android device,but when i changed the SERVICE_TRANSPORT_TYPE from TRANSPORT_ANY to TRANSPORT_BLUETOOTH , FindAdvertisedName return ER_OK,but FoundAdvertisedName did't get callbak.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-01-26 06:58:42 -0800

PierreR gravatar image

AFAIK, the bluetooth transport is not working currently, except on some specific rooted android devices. It seems there is some work in progress to re-implement bluetooth support, but I don't think if it's already available.

edit flag offensive delete publish link more
0

answered 2015-01-26 13:04:13 -0800

Nikhil Dabhade gravatar image

updated 2015-01-26 13:09:52 -0800

PierreR is right. Bluetooth will not work out of the box and needs device which have BlueZ protocol stack. An in-works approach was discussed here if you are interested: https://meetings.webex.com/collabs/url/5GH-KnQJzjaJPIz9g9-1ZhTBo4Ro8KInUTGvOuQWohC00000

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-26 03:17:51 -0800

Seen: 59 times

Last updated: Jan 26 '15