This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Hello nRF52840-DK with SDK version 16.0.0 connecting to an android device Galaxy Note 5 (SM-N920v, Android 7.0, API 24) getting a 133 GATT error.

Hello
We are using the nRF52840-DK with SDK version 16.0.0 connecting to an android device Galaxy Note 5 (SM-N920v, Android 7.0, API 24). I captured the HCI_Snoop.Log (viewable in wireshark). It tries to connect 3 times getting a 133 GATT error. Then the GATT just hangs.   

btsnoop�⇷c�7�Y�⇷c�PCY�l�$]⇷c�_�Y�⇷c�f�Y�⇷c��6Y�⇷c���Y�⇷d�OY�⇷d�0�Y��#⇷d��dY�⇷d�GY�⇷dә�Y�⇷dӞ�Y�⇷r�йY�⇷r��Y�h8}L-⇷yۦ�Y�⇷y��Y���?�⇷{;Fb ⇷{;R �ތ�g�}�

⇷{;V} ��;��L⇷{;\� ⇷{;�� ⇷{;�� LOM~t�w⇷{;��T���<LO⇷{;��T�⇷{;�W ⇷{;؜ ��jB�JQ⇷{;۝ ⇷{<�G �Cš�os⇷{<��T����}⇷{<��T�⇷{<�- ⇷{<�� ���
,I�⇷{<�/T��-)�CE⇷{<��T�⇷{<�� ⇷{<�u �H=�Ň⇷{<��T�I)޺�y⇷{<�CT�⇷{<� ⇷{<�' ���S��(⇷{<�� ⇷{<�� Y�֢l{�L⇷{<�`T�C�I�H⇷{<�uT�⇷{<� ⇷{<�� �k	�1G)�⇷{<��T�ȋݢp⇷{<��T�⇷{<�bT�̯Y�V⇷{<�>T�⇷{<�T��h#�kI⇷{<�2T�⇷�Ә�Y�⇷�Ӳ�Y�fbU!⇷�a�Y�⇷�a��Y�6ɿ�=⇷�C�W�		⇷�C�W�

⇷�CO�W�	BIEBER

⇷�CS�W�*⇷�C]W��

⇷�Cu�W�⇷�C|&V�⇷�C�V�⇷�C�~V�d_⇷�C�SV�⇷�C��V�`	�]⇷�C�V�⇷�iV�44⇷�i�1V��|x$
���	BIEBER���$���@n⇷�i$V�

⇷�iQV�⇷�jEW�

⇷�jLW�⇷�j�V�`	�]⇷�j$�V�⇷�j&�V�44⇷�j),1V��|x$
���	BIEBER���$���@n⇷�j)�V�

⇷�j+�V�⇷�k��
 `0�|x$
�(�⇷�k�O
 ⇷��<� ⇷��F� ""⇷��J;>
@�|x$
�'�⇷��(	W�		⇷��-�W�

⇷��F�W�	BIEBER

⇷��M�W�*⇷��^}W��

⇷��d�W�⇷��rHV�⇷����V�⇷���^V�d_⇷����V�⇷���@V�`	�]⇷���AV�⇷��W�

⇷��
�W�⇷��&�V�`	�]⇷��.�V�⇷��3VV�

⇷��6�V�⇷����W�		⇷���sW�

⇷��͗W�	BIEBER

⇷���)W�*⇷���VW��

⇷���TW�⇷����V�⇷����V�⇷����V�d_⇷����V�⇷��V�`	�]⇷��	OV�⇷�Τ4V�44⇷�ά1V��|x$
���	BIEBER���$���@n⇷�ί7V�

⇷�δ�V�⇷���W�

⇷���W�⇷���V�`	�]⇷��"%V�⇷��+�V�44⇷��11V��|x$
���	BIEBER���$���@n⇷��3_V�

⇷��7�V�⇷�Ѿ4
 `0�|x$
�(�⇷����
 ⇷�� ⇷�, ""⇷�"�>
@�|x$
�'�⇷�λW�		⇷���W�

⇷��\W�	BIEBER

⇷��zW�*⇷��W��

⇷���W�⇷��V�⇷��HV�⇷��V�d_⇷��V�⇷��V�`	�]⇷��fV�⇷� WW�

⇷� �W�⇷� &V�`	�]⇷� V�⇷�  0V�

⇷� #�V�⇷�!��W�		⇷�!�)W�

⇷�!��W�	BIEBER

⇷�!��W�*⇷�!��W��

⇷�!�6W�⇷�!��V�⇷�!�MV�⇷�!��V�d_⇷�!��V�⇷�!��V�`	�]⇷�!��V�⇷�1
aV�44⇷�1
T1V��|x$
���	BIEBER���$���@n⇷�1
�V�

⇷�1NV�⇷�1�W�

⇷�1!�W�⇷�1$!V�`	�]⇷�1(�V�⇷�1+MV�

⇷�1-�V�⇷�2޼
 `0�|x$
�(�⇷�2�
 ⇷�)� ⇷�Bv ""⇷�C�>
@�|x$
�'�

Parents
  • Hi Omid,

    This is a known issue with old mobile Oses that operate outside the BLE spec. 

    Please search this forum for "GATT error 133" and you will find many threads and discussions. One for example is here

  • Hi Susheel

    I did see some discussions about this but in every case an older version of the SDK was being used with an older softdevice.  We are using sdk version 16.0.0 and the s140 which from somethings I read should include a workaround for the compatibility mode issue. Were you able to analyze our log file.  On the same phone we have the nrfConnect app and it is able to connect without issue but our custom app is having trouble with the latest Android stack.  Are you aware of any such issues in the past. Does Nordic recommend a certain version of Android or API? Any and all help is appreciated.   

    BTW I work for NikolaMotor and this Nordic ble solution is the one we have chosen for our  products and therefore It is extremely crucial that we work out this issue.  Thanks

  • OmidAthari said:
    On the same phone we have the nrfConnect app and it is able to connect without issue but our custom app is having trouble with the latest Android stack.

     Interesting. I see that the logs you pasted here are not readable format. Can you please fix the logs or better attach the file instead of including them embedded.

Reply Children
Related