This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sniff subrate issue?

In our product we are using Stonestreetone Bluetooth stack v4.0.5 with module PAN1326

We found strange issue in communicating with Nexus5 phone. After truing to set sniff mode in FW connection freezes and drops after few seconds. HCI log from phone in attachment,

In our firmware we observed Sniff_Subrating_Event:

[DBG_BT] HCI evt: Sniff_Subrating_Event

[DBG_BT] Status: 0

[DBG_BT] Connection_Handle: 1

[DBG_BT] Maximum_Transmit_Latency: 90

[DBG_BT] Maximum_Receive_Latency: 1170

[DBG_BT] Minimum_Remote_Timeout: 0

[DBG_BT] Minimum_Local_Timeout: 2

Other phones have no such issues. Nexus5 was tested with Android4.4 and Android5 and result the same.

1563.btsnoop_hci.log
btsnoop�

��g�:�=
��c���g�:�8	��c���g�:��	��g�=;���c���g�=]���c���g�=eZ��g�=j� 

��g�=o���g�=t���g�=z���g�=o��g�=�O
@��g�=�� ���g�=�>���g�=�k 

��g�=�$��g�=�����g�=���o��g�=�� @��g�=���g�=�� ��g�=��
��g�=�� D@��g�=�t D@��g�=�7 @		��g�=��
��g�=�{
��g�=�		��g�=��
��g�=ϥ D���g�=�7@��g�=�+ 
@��g�=ۉ 
D		��g�=�17��g�=�++��g�=�� &"D5'����:C{�=թ�O��5
�7\\��g�=�� WS@NK5I6F	
	5'����:C{�=թ�O�	555	5	%
ANOTO APE��g�>� D@��g�>� D@		��g�> S��c���g�>$���c�����{���1D�b���g�>(}

��g�>,�
��c���g�>����g�>�: A��g�>�� EA��g�>�p A���g�>����g�>�H EY��g�>�c 
A��g�>�) 
E�

��g�>�� E?

��g�>�& As���g�>؁��g�>�U E��
�Sp��g�>� A��
�S�

��g�>�� E+?�

��g�?� A+sG��g�?��		��g�?-��g�?H��g�?� E�	�+
p��g�?p A�	�+
���g�?!w A�	�+����g�?0���g�?5e 	E+����g�?8) A)��WZ�v��g�?D E�	�+�p��g�?R� E+��WZ����g�?W� E+�	+���g�?Y� A)�info.jsonv88��g�?]
 3/E+�W{
"pMemThresh": 500, 
"pFillLevel": 1148
}
���g�?fX��g�?�C 
	E+�	���g�?Ҟ E+������g�?ڋ ��E+��{
 "vid":7777,
 "pid":1793,
 "fwVersion":"22.3.3.3",
 "objRev":258,
 "id" :1915555617099,
					 "totalMem":4128768,
"btAddr" :33544204440,
 "error":0,
 "hwRev":"0.0",
 "penLocked":false,
 "pwdSet":false
}
���g�?�H 
	A)�	v��g�?�� 
	E+�	���g�@� A)�!
status.jsonv��g�@$���g�@3 
	E+�	���g�@7� E+������g�@E~ ��E+�.�{
 "memFull":false,
 "usedMem":1148,
 "btDisc":false,
 "battery":96,
 "charging":false,
 "shipmentMode":false
,
 "encrOn":false
,
 "hasCA":false
}
���g�@H: 
	A)�	v��g�@c� 
	E+�	���g�@w� A)�#strokes.stf2v��g�@�A��g�@�� 
	E+�	���g�@�� E+���aa��g�A� \XE+�Anoto STF�K
G@O7
��II�
��w��x����Ո�h���h���H_(�	�
�
������N��'�"	���j?'����������

�
�\�K��

R�<'�y����
�$���aa��g�A%� \XE+�_
�p�Lb�n'
G@O
�P��
�:�Q!��
�������C��8�����
%��l��N����������X��4
G@O
�T�
u
�x�T�
�
A�<'�0�����	�	�"�aa��g�A/r \XE+����=�������&�)���
��3:4����������:���
�#������	�6�����s�V��
�F
G@O	6$�n��
�ɨ��v���hX�x��������%
db
	��d���g�A1� E+�
w����g�A3� 	A)�v��g�A6Q A)�	j��g�AD�����g�A� ��E+��|w���y�v��h����x8������������8���	������yX2�����g�A�� 
	A)�	v��g�A�� E+�
�����g�A� 
	A)�	v��g�A�]��g�B� 
	E+�	�		��g�Ql�Z��g�R:�.�Z		��g�V���g��|
 ���g���		��g�����g���P.		��g�����g�T�?
 ���g�T�		��g�U`���g�[��.��g��R

How we can solve this issue? Currently our FW contain no additional subrate handling, Our sniff setting done via API HCI_Sniff_Mode() with SniffMaxInterval=SniffMinInterval=90 and SniffAttempt=SniffTimeout=3

I tried latest patch from "CC256x Downloads", but without success.

Also I tried to disable byte 5 bit 1 in Feature Mask (Sniff subrate) by adding sequence "0x01, 0x26, 0xff, 3,  6, 1,  0," into startup patch - also without results.