Bytes Missing: Blufi Custom data transfer and CA certificates, bytes are missing from the android app
Posted: Wed Mar 01, 2023 9:51 am
Hi everyone,
I'm currently working with an ESP32 module and the ESP-BLUFi library, using the IDF framework.
I am trying to build device provisioning. I'm attempting to transfer CA certificates to the module,
but I've noticed that some custom data bytes are missing when the transfer is complete when trying from android.
and not able to reconstruct the certificates properly.
I'm wondering if anyone else has experienced similar issues when working with the ESP-BLUFi module and transferring custom data,
or if anyone has any other suggestions for resolving this issue.
Any help would be greatly appreciated. Thank you!
Please Refer Below,
I'm currently working with an ESP32 module and the ESP-BLUFi library, using the IDF framework.
I am trying to build device provisioning. I'm attempting to transfer CA certificates to the module,
but I've noticed that some custom data bytes are missing when the transfer is complete when trying from android.
and not able to reconstruct the certificates properly.
I'm wondering if anyone else has experienced similar issues when working with the ESP-BLUFi module and transferring custom data,
or if anyone has any other suggestions for resolving this issue.
Any help would be greatly appreciated. Thank you!
Please Refer Below,
Code: Select all
[Codebox=bash file=Untitled.bsh]
I (28116) Project: ESP_BLUFI_EVENT_RECV_CA_CERT
I (28116) Project: Recv Custom Data 1148
MIIDWTCCAkGgAwIBAgIUcxuQwkEmyXf0YeNgEsTM7CNAFB4wDQYJKoZIhvcNAQELBQAwTTFLMEkGA1UECwxCQW1hem9uIFdlYiBTZXJ2aWNlcyBPPUFtYXpvbi5jb20gSW5jLiBMPVNlYXR0bGUgU1Q9V2FzaGluZ3RvbiBDPVVTMB4XDTIzMDIyODA0MTQyMVoXDTQ5MTIzMTIzNTk1OVowHjEcMBoGA1UEAwwTQVdTIElvVCBDZXgPeKql/IUavJOEwN/g/PctvS3PAzO7KJHoffiDpAug94fK2xghxy15cRHasPuCzEq6+1nsPPZad/nrGOzySctZGbkqU54VQg0Nr2lcUa9WM50iKhlvmZZfi8VF7xQI5QJpbN/LSb7NhD0CAwEAAaNgMF4wHwYDVR0jBBgwFoAUINtxBtHpNfekTk2UGYjFiRd6SnEwHQYDVR0OBBYEFOsytG39PBLB13wAnizEuuX5N+9pMAwGA1UduvEEVtPihHSbA0V2ubbSgrrVuEDZDacne8HcpgbdOob4sWO42BSbCpoxdh8i1VNowncWqKnSYS3H52+Q3UhEZfinpjjF7qYiSWK5TH/iv0ibW5htqAt9wOCWHlcetZoq3L474TjDizktdrqv� �����|�?�\��?\��?���?lx_�?h��?�a����? !,&�0~�
���?����B�Q0�I,0OuW
�� ���������0 �EP�������DC<B�X�G�� ���c�Sc59�2��
6��7
espressif=�� �������? Rececived PEM
I (28356) Project: ESP_BLUFI_EVENT_RECV_CLIENT_CERT
I (28356) Project: Recv Custom Data 1588
MIIEowIBAAKCAQEAql2BdHL4MaWUadkEJ9s9aH5U0KhHSALAq+7AN6EgBpxIeBdQQBDkY48NRMkBA6VULAcvyn9JhpztVn8Td+tIxjESTRh6NPRCftkYj8WsAN7eiNQdacXHYoh7VUwMN56T/fKDojZrWheW7NvmvTuuQIO9EZp5lj1q1g3WSf1rgDsVsNBqwagEmrNEbeQfyn1j3wSABqCnCA94qqX8hRq8k4TA3+D89y29Lc8DM7gyxvUMYwjOxD2rnP7aV+p/UcKEBdGoJvRGV+++gTIh5ZXpCG0lLzhCtG1g0CEP31ul3phJ4epAnMRrmsha8QRsYyBOrPqsdJM+6+yG/6Io0Ui1qnivJqWgsZ985MTMC/Bgu7BjBU9UCE2CVvliPM+qf93qZngDXI6g4wznG7wre85FATqhxa3jFJQcyV8qfL0bHz2sewGL+SRoUIECgYEA3PkFXmXYeLSXLSNVMJNGwiO9mAIXAPNQNxe1hZBoXa0GfhkzSVw/Ua8f2SkqVE8tljof3+85qBEpUj6fR2TRa37W5OECgYAo6L1StZ428pAOXj02Sf3OkVlXXAOwPFty7Ww+4Jya5kppZE2AIkMu2AfpcQN516Uih6VTtc2skrMr5Lzl/JJV3T1CcgIcvyndA5A2qVBJJzVHVYuGJCXJ7WmJRA6jfuyRhnhGdtj8+91t55YP105DpDGEzPtGhXcUR+EfzS9gzQKBgCpKsAMtuo8yNFfp720pEBRHrP0XPVzhbg0SxE8OB4aiT2sZ4gMHT4o7pOi9v0Lis9AcDp13ozvEpTK1GsHp/iwI1exr�8(�QWUq����%|�W��E�h�3�9��+ ���K#_�aU���ԃ�g�`�{Y��pP�p�P+K�8Z����c*��b�H4E�=.+������9�y�X��Ϣ2_�@����S�s�3�H(�4\ݪS��Aݱ��J�j\G�{,��c0b��#8PF$�k�&4��,Q�ۮ�S�D6e��(�N��+�82u�}&9�-���k< KW�,s��kJ�����f5�{��4���I��_�9�(��O����-���S�V��~����$21�tb���M*
�w)�ާ8�a�x��/�e�+9�������9��/�*��NM�,�4�6��#�"%�"�F�����kl��k06�D�E���Cu
�Eϫ�<�U%��8�¨�)P�0��d�q�NШ�
jA���|j�܀Wߜ�tz����u|}�'yX��gxҪBg���=���Q�0rh�(8(��'�j�tKq�-ki����|�?���?��?<����?@�<��?Us�� .��sB��-�t.��������0OuW
�0OuW
[/Codebox]