Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluez_helper: ignore non xml lines #5

Closed
wants to merge 1 commit into from

Conversation

User65k
Copy link
Contributor

@User65k User65k commented Aug 8, 2018

Hi,
I ran into a problem while trying to dump MAP data from android.
This was due to non XML Data at the end of sdptool. (It seems to search two times.)

sdptool search --xml --bdaddr=xx:xx:xx:xx:xx:xx map
Searching for map on xx:xx:xx:xx:xx:xx ...
<?xml version="1.0" encoding="UTF-8" ?>

<record>
	[...]
</record>
Searching for map on xx:xx:xx:xx:xx:xx ...
Service Search failed: Invalid argument

@sultanqasim
Copy link
Collaborator

I just encountered this behaviour today on one of my test devices. I'll bring in a variation of your change.

@sultanqasim sultanqasim changed the title ignore non xml lines bluez_helper: ignore non xml lines Sep 6, 2018
@sultanqasim
Copy link
Collaborator

Fixed

@sultanqasim sultanqasim closed this Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants