Re: BLE Hexiwear connection fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22 August 2016 at 16:27, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote:
> Hi Jay, Marcel,
>
> On Mon, Aug 22, 2016 at 11:51 AM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
>> Hi Jay,
>>
>>> I have the IoT device Hexiwear[1], which connects through BLE. They
>>> have an android app which can take data from it. I want to use from my
>>> linux machine. Its BLE API is provided at their github[2] page.
>>
>> does it work on Android? If so, then enable Bluetooth HCI tracing/logging in Android and send around the /sdcard/btsnoop_hci.log file. You can read that wit btmon by yourself and compare.
>>
>> I would also propose you start using btmon instead of hcidump.
>

Hi Marcell, Luiz,

I took the btsnoop log from Android while the device is being paired.
To my surprise btmon crashes as I scroll down. The file is attached.
The crash is probably a different discussion,  but given below is the
backtrace. Can you please check if the same file crashes your btmon as
well?

#0  0x00007ffff7a4b6f5 in raise () from /lib64/libc.so.6
#1  0x00007ffff7a4d2fa in abort () from /lib64/libc.so.6
#2  0x00007ffff7a8c670 in __libc_message () from /lib64/libc.so.6
#3  0x00007ffff7b2bc57 in __fortify_fail () from /lib64/libc.so.6
#4  0x00007ffff7b29d80 in __chk_fail () from /lib64/libc.so.6
#5  0x00007ffff7b29339 in _IO_str_chk_overflow () from /lib64/libc.so.6
#6  0x00007ffff7a905a0 in __GI__IO_default_xsputn () from /lib64/libc.so.6
#7  0x00007ffff7a635ac in vfprintf () from /lib64/libc.so.6
#8  0x00007ffff7b293cc in __vsprintf_chk () from /lib64/libc.so.6
#9  0x00007ffff7b2931d in __sprintf_chk () from /lib64/libc.so.6
#10 0x000055555558a533 in print_uuid ()
#11 0x0000555555588352 in att_packet ()
#12 0x00005555555888f3 in l2cap_frame ()
#13 0x000055555557f517 in packet_hci_acldata ()
#14 0x000055555557fae7 in packet_monitor ()
#15 0x000055555556a1c6 in control_reader ()
#16 0x00005555555670bc in main ()


> The D-Bus GATT should be able to handle those, if we are able to
> connect, but there seems to be something wrong with the specification
> as it does seems to use UUID range reserved by the SIG instead of
> using proper 128 bits UUIDs.
>

Since I do not know about much bluez stack, are you telling that some
changes needs to be done within the bluez stack so as to connect/pair
to such BLE devices which use  UUIDs reserved by SIG rather than
private ones? And could you please clarify about "something wrong with
the specification" ?

> --
> Luiz Augusto von Dentz



-- 

Thanks and Regards,
Aurabindo J
btsnoopêâiäÏÕâiäÐ:<âiäÐ?\âiäÐ@é2âiäÐJ‘3›ÿ
âiäÐL˜3âiäÐR2âiäÐSEÓâiäÐ[?	

âiäÐ]¤
	"Ñ -ëâiäÐb¦GGâiäÐc¹Dÿÿÿþÿïÿÿÿÿòèþ?÷ƒÿaÿÿÿâiäÐo¥âiäÐr&ÿþ?þØ?[‡âiäÐxYâiäÐykâiäÐaVâiäÐ?ÄVâiäÐŒ`mâiäÐ?TmâiäÐ’âiäГ
âiäЙº âiäЛf €âiäР*mâiäСzmâiäЦ 

âiäЧp âiäЭà âiäЮó ÿÿÿâiäдP âiäеE âiäкF ?âiäÐÀ[ âiäÐÄ,VâiäÐÈVâiäÐÛŠÿÿÿÿÿÿ¿=âiäÐÜœâiäÐဠ?âiäÐâ’ âiäÐç³EâiäÐé›EâiäÐîGâiäÐïGâiäÐô7CâiäÐõJCâiäÐúL$ZâiäÐüq$âiäÑ` âiäÑsâiäѲâiäÑÅâiäÑÆÿÿâiäÑ
øüüüâiäÑ+‰øXplauraâiäÑ8‡õõâiäÑ=LRñ	XplauraâiäÑ>»RâiäÑBm âiäÑV± Ÿˆ&‚9thâiäÑ]@&`âiäÑ_(&õõâiäÑe=Rñ	XplauraâiäÑhVRõõâiäÑkŽRñ	XplauraâiäÑl¿RõõâiäÑq„Rñ	XplauraâiäÑwRõõâiäÑyûRñ	Xplaura	
âiäÑ|RõõâiäÑÓRñ	Xplaura
âiäÑ€åR

âiäц$ óÏöŸˆfâiäч7 âiäÑ°´âiäѲœ2$$âiäѸ7  iâiäÑ»? âiäѾÅ 

âiäÑÀ âiäÑÅí:3‹žâiäÑÇÕ:âiäÑ΂âiäÑÏ•âiäÑåfâiäÑø¶âiäÑûî 00âiäÑý> âiäÒâiäÒ%âiäÒ]âiäÒÙâiäÒ¼âiäÒ $$âiäÒ!ö  âiäÒ&A âiäÒ*ç 00âiäÒ,t âiäÒ1•âiäÒ:IõõâiäÒ=ûRñ	Xplaura

âiäÒA­RõõâiäÒFSRñ	Xplaura

âiäÒGàRõõâiäÒcRñ	Xplaura

âiäÒf(RõõâiäÒj6Rñ	Xplaura
âiäÒkHRõõâiäÒu.Rñ	Xplaura
âiäÒvœRâiäÓâiäÓâiäÓâiäÓª$$âiäÓ9j  âiäÓ:÷ âiäÓU1 00âiäÓbŒ âiäÓfâiäÓlÌõõâiäÓrRñ	Xplaura
2âiäÓs·RõõâiäÖ¤»Rñ	Xplaura
/2âiäÖ§ÔRõõâiäÝ,2Rñ	Xplaura
/2âiäÝ.ÒRõõâiäÞXýRñ	Xplaura
/2âiäÞ[?Râiå?â âiå?& âiå?4 âiå? âiå?&9 âiå?.Ï âiå?7¡ @ âiå?9¨ âiå?>0 @ âiå??a âiå?D¿ âiå?Jx âiå£ò>$@ 
	HEXIWEARÑâiå¤Æ7>$@ 
	HEXIWEARÐâiå¤Ðx>$@ Ñâi奘Â>$@ 
	HEXIWEARÑâiå¦eu>$@ 
	HEXIWEARÐâiå§)8>$@ 
	HEXIWEARÑâiå§Úú>$@ 
	HEXIWEARÐâiå¨?·>$@ 
	HEXIWEARÐâiå©Iï>$@ 
	HEXIWEARÑâiåªã>$@ 
	HEXIWEARÐâiåªÆ!>$@ 
	HEXIWEARÑâiåÊE–$@ 		âiåÊI…âiåÜ
 âiåÜ%a âiåÜ) @ âiåÜ*? âiåß«f 00âiåß±· âiåßñú$@ 		âiåßô\âiåßýæ
 `0$@ (Ðâiåà/
 âiåàa5>$@ 'Ðâiåào„ âiåàq âiååtµ>>âiååwí>âiåå|u ÐâiååRâiå勸 âiåå’Fâiåå“Yâiåæ[$@ 		âiåæ\óâiåætŽ
 `0$@ (Ðâiåæzþ
 âiåçï3>$@ 'Ðâiåçó» âiåçöÔ âiåìäk>>âiåìçf>âiåìóê Ðâiåìú<âiåìõY âiåíÇâiåíÄâiåíyë$@ 		âiåí}#âiåí‚?
 `0$@ (ÐâiåíŠø
 âiåíò>$@ 'Ðâiåíú­ âiåíüY âiåó~ >âiåó‹z Ðâiåó”kâiåó‘p âiåôûdâiåõ¹ 

âiå÷óæ>
Ðâi渘â âi渭ü þ×#ÕY­oâi渱? âiæ¸ÆO ÓIìúÿâiæ¸Ì‚àâeU¾W»:òÓ3FÊ3«âiæ¹.üâiæ¹LÊ ?.›ów‘RR§ÞAª&Úâiæ¹Y0þ×#ÕY­oÓIìúÿâiæ¹i…âi湇5 ýíõ¼€'ûÎxÐ7ä!­  âi湑² [wÅðy]vqñišzÂâi湧„ âiæºÈÝâiæ»yO Ö“è¤#UH™waæc+Žâiæ»–G ™&ö	—.­~âi滦œ âi滼n  a=´,€;âiæ»À{ âiæ»Ùà ›pí¶Ìe•âiæ»ÞÄ[©^Èø+,z[Jæ:qŸŠâiæ¼(Íâiæ¼,?Ý›pí¶Ìe•âiæ¼F¹âiæ¼IñvGà-±’¹kD˜HB÷a³ñâiæ¼c“âiæ¼fË	"Ñ -ëâiæ¼?Áâi漡
½#2Æ[ÊqH]«ShIøâiæ¼öV  âiæ½N3 ÿÿ(Ð-K¤™Nε1ôyâiæ½Sr  (èâiæ½mQ	
âiæ½Äxâiæ½Ç‘
âiæ½à|âiæÐF

	ÿÿ(âiæÐ[½âiæЈ? 	âiæÐŽ+ÿÿ*âiæФvâiæÐÂ& 	
HEXIWEARâiæÐÆÌ
	ÿÿ(âiæÐßâiæÑÆ 	
âiæÑÔÿÿ(âiæѬ-âiæÑÉÝ 	âiæÑÍë(âiæÑê‡âiæÒ) 
		*âiæÒúÿÿ(âiæÒ\âiæÒ—) àK^ë¡\îô^ºPUÿâiæÒ›(âiæÒµÍâiæÒÑ8 	
âiæÒÕ(ÿÿ(âiæÓàâiæÓd "
&*.8 âiæÓiX	âiæÓŸ—âiæÓÞ. 
*)âiæÓä$9ÿÿ(âiæÔ2ZâiæÔhô =K PZ  _g0 âiæÔn?	âiæÕ8£

âiæÕ® âiæÕ³Êhÿÿ(âiæÖuâiæÖfŸ ko@ âiæÖk‚pÿÿ(âiæÖ˜Vâiæ×
, 	p
âiæׄ(âiæ× ‡âiæ×½$ 	
âiæ×Ħ(âiæØOÈâiæØn© 
		*âiæØry(âiæ؉öâiæبÖ 	
âiæØ®®	âiæÙ×âiæÙ9î 
)âiæÙ@	(âiæÙW#âiæÙtY 		
âiæÙ{$	(âiæÙ°é  âiæÙê~ 	
*
**âiæÙî1(âiæÚÞâiæÚ( 	
âiæÚ,l	âiæÚ^ùâiæÚ|M 	
âiæÚ?ª	âiæÛ,âiæÛI= 	
âiæÛPÀ(âiæÛ¡vâiæÛ¾o 	
âiæÛÅ–(âiæÜ3   âiæÜR? 	(àK^ë¡\îô^ºQUÿâiæÜW'(âiæܨ•  âiæÜæ 	àK^ë¡\îô^ºRUÿâiæÜì‰(âiæÝr  âiæÝ» 	àK^ë¡\îô^ºSUÿâiæÝ)Ñ(âiæÝ“SâiæÝÍü 	
âiæÝÓ–	âiæÞ%}âiæÞBð 
)âiæÞI"(âiæÞ}ÕâiæÞÕ” 	
âiæÞÛM"(âiæß.
  âiæßK^ 	)* &*!"%*âiæßO""(âiæߢ…âiæßÝ 	"
âiæßá:&*(âiæà4ìâiæàpi 	&
âiæàtñ&*(âiæàäˆâiæáû 
		'(*âiæáX(*(âiæᱶâiæâ	“ 	(
âiæâ	)*âiæâEæâiæâa? 
))*)âiæâf.8(âiæâô­âiæã.ž 	.
âiæã@€.8(âiæãMž  âiæãÞò 	/0 34 78 âiæãåÜ88(âiæäpÀâiæäŽ 	8
âiæä’~	12âiæäÊIâiæåd 	1
âiæå	56âiæå\íâiæåÐs 	5
âiæåÔû=K(âiææ
ýâiææE† 	=
âiææIÑ=K(âiææŸ.  âiæç" 	>? BC FG âiæç0GK(âiæç‡åâiæçã8 
		JK âiæçèñKK(âiæèMâiæè7¡ 	K
âiæè>È	@Aâiæè?~âiæè¬Ò 	@
âiæè³a	DEâiæèÌâiæé\Ê 	D
âiæéa	HIâiæéÒâiæêt 	H
âiæê ÊPZ(âiæê+„âiæêdû 	P
âiæêsâPZ(âiæê ¶  âiæêøï 	QR! UV" YZ# âiæêüýZZ(âiæëO!âiæël 	Z
âiæëpd	STâiæìs²âiæì®< 	S
âiæì²¥	WXâiæìèÅâiæí 	W
âiæí
ƒ_g(âiæí#Oâiæí^ 	_
âiæíb?_g(âiæ혟âiæí¶N 	`
a1 de2 âiæíºeg(âiæî
Ðâiæî+$ 	e
âiæî/Ž	bcâiæîJ$âiæîe? 	b
âiæîj6	fgâiæî‚ÅâiæîÚß 
g)âiæîà·ko(âiæîø3âiæïi 	k
âiæï$nko(âiæïmFâiæ 
		lmA âiæmo(âiæïÅžâiæïâx 	m
âiæïë,	noâiæïÿêâiæð:t 
o)âiæðAº  (èâiæðOp   âiæð¨Aa-3¼Wâiæðë¼

âiæðïè>
'è

âiæñ% âiæñ]	)âiæõœâiæ÷< 	)âiæ÷#Í
âiæùSMâiæúÐí MikroelektronikaâiæúÜ_
 âiæý
kâiç
ï 1.0.1/1.0.0âiç+
mâiç|âiç:U   âiçGSaâi縫

âiçu¢   âiç„Æaâiç5W

âiçò‹ âiçýÀ
mâiç
qâiçì= âiçûÜ
?âiç«òâiç
o– âiç
—†
(âiçìùâiçðO dâiç

Câiç¦âiçbº µâiçt_
0âiç"éâiçßÁ þÿŸÿâiçõÐ
8âiç\mâiçð @ítõrâiç)¹
4âiçOñâiç“ ÿÿâiçO
KâiçÎfâiçIf <&âiç_²
GâiçêâiçÆO è
âiçÔ#
mâiç‡râiçC âiçNl
?âiç"ûŒâiç#¹´ âiç#Æ9
(âiç%6~âiç&»ü dâiç&Ñ‘
Câiç(0nâiç(ò¤ µâiç))
0âiç+*!âiç,q âiç,tØâiç,—Ç 00âiç,™ âiç,¨µ þÿŸÿâiç,¿âiç>+¾âiç>-iâiç>o 00âiç>€¿ âiç>Ž8âiç>?iõõâiç>–¯Rñ	Xplaura
/2âiç>—ÿRõõâiç>¡ˆRñ	Xplaura
/2âiç>¢ØRõõâiç>ºsRñ	Xplaura
/2âiç>»ÃRõõâiç>Á]Rñ	Xplaura
/2âiç>Ã'Râiç>ÇÍâiç>Èþ$$âiç>Ô?  âiç>Õ¢ âiç>Ü 00âiç>à× âiç>äjâiç>êùâiç>ðu âiç>ñÄ âiç>ùf$Râiç>úx$âiç?P 00âiç?c âiç?< 00âiç?
ç 

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux