Newer support versions of mbledtls for WiRA 10.440.8.6

Learn MoreFAQsTutorials

9 posts / 0 new
Last post
Subramanyan
Offline
Last seen:1 day 15 hours ago
加入:2020-07-15 12:43
Newer support versions of mbledtls for WiRA 10.440.8.6

Hi,

我用WiRa_10.440.8.6 on a Dialog 14695 Development Kit. My application needs to connect to Google IoT Core. The Google IoT core uses the later versions of mbedtls and contains many more files than what is the present in the WiRa_10.440.8.6\utilities\libbo_crypto\third_party_crypto\mbedtls. Looks like the mbedtls version packages with the WiRa SDK may be an older version.

Are there new versions of mbedtls that I can use with the WiRA SDK? I need to be able to compile the Google IoT Core Embedded C code and integrate it with my application. I am using FreeRTOS.

Thanks and Regards,

Subbu

Device:
PM_Dialog
Offline
Last seen:8 hours 15 min ago
Staff
加入:2018-02-08 11:03
Hi Subramanyan,

Hi Subramanyan,

Let me check it and I’ll get back to you shortly.

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen:8 hours 15 min ago
Staff
加入:2018-02-08 11:03
Hi Subbu,

Hi Subbu,

I've escalated internally to the Team, so I'll get back to you as soon as I have feedback on this.

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen:8 hours 15 min ago
Staff
加入:2018-02-08 11:03
Hi Subramanyan,

Hi Subramanyan,

The SDK uses part of the mbedtls library with some modifications for optimizations on our products. The latest version of mbedtls can be found here:https://tls.mbed.org/. In case your application needs some functionality not already included, you could import the associated library files, taking care of any dependencies.

Thanks, PM_Dialog

prasanna
Offline
Last seen:1 day 1 hour ago
加入:2020-09-29 11:56
Hi Subramanyan,

Hi Subramanyan,

I wanted to implement a DTLS handshake between two dialog(DA14695) USB boards and for setting the mbedtls_ssl_bio() call backs I wanted to use GATT server as an interface between the mbedtls and the BLE controller to send and receive DTLS messages. Do you have an idea of which GATTS api functions in the dialogs sdk serve this purpose? If you have an idea, it would be a great help.

Thanks in advance.

Regards,

Prasanna

Subramanyan
Offline
Last seen:1 day 15 hours ago
加入:2020-07-15 12:43
Hi Prasanna,

Hi Prasanna,

I would suggest you go through the link in the following post. There are examples available.

https://support.dialog-semiconductor.com/comment/30628#comment-30628

Thanks and Regards,
Subramanyan

prasanna
Offline
Last seen:1 day 1 hour ago
加入:2020-09-29 11:56
Hi Subramanyan,

Hi Subramanyan,

I have gone through the examples that are there in the link you provided. What I understood from the GATT api definitions in the sdk is the api's are given to read, write, notify, indicate data between a GATT client and the GATT server. But, what I need exactly is how to open a mbedtls tunnel with BLE using GATT. We need to configure the mbedtls_set_bio() function in order to open the socket with BLE. I am completely new to the mbedtls and BLE. I am not getting the idea completely how to make a connection between the mbedtls and the BLE. If you have any experience with setting up the read and write call backs that are used in the mbedtls_set_bio() function, please let me know how to achieve this BLE.

Thanks in advance.

Regards,

Prasanna

Subramanyan
Offline
Last seen:1 day 15 hours ago
加入:2020-07-15 12:43
Sorry, I have not used the

Sorry, I have not used the mbedtls_set_bio() functionality.

prasanna
Offline
Last seen:1 day 1 hour ago
加入:2020-09-29 11:56
Hi Subramayam,

Hi Subramayam,

Thanks for the response.

Regards

Prasanna