PSoC 6 BLESS and FreeRTOS BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Panometric
Level 5
Level 5
100 sign-ins 100 replies posted 10 solutions authored

Using MTB 2.4, I would like to use this example:BLE GATT Server demo to MQTT

But using CY8CPROTO-063-BLE (CYBLE-416045-02), with PSoC 6 BLESS https://github.com/Infineon/bless 

I see a WICED version of FreeRTOS BLE, but not a BLESS one. 

What would be involved in making these work together?

Does it seem feasible, or even better, is there an effort in progress already to add support for this device? 

 

0 Likes
1 Solution
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

CY8CPROTO-063-BLE has PSoC 63 part that has BLE sub system and it uses the CY BLESS library.
Currently, Amazon FreeRTOS only supports AIROC based platforms that support WICED-based stack. We don't have WICED-based stack for BLESS (P6-BLE). It'll be available by April 2022.

Thanks,
P Yugandhar.

View solution in original post

0 Likes
9 Replies
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @Panometric ,

Have you checked the PSoC 6 BLE throughput example that uses FreeRTOS?

https://github.com/Infineon/mtb-example-psoc6-ble-throughput-freertos

Regards,
Bragadeesh
0 Likes

@BragadeeshV  could you follow up?

0 Likes
Panometric
Level 5
Level 5
100 sign-ins 100 replies posted 10 solutions authored

Yes, that example uses BLESS API. "ble_*()" and FreeRTOS. But that is not the question. 

On top of the OS, FreeRTOS has a BLE Library that the demo app uses.  https://docs.aws.amazon.com/freertos/latest/userguide/freertos-ble-library.html

Infineon's Git has the source here:
https://github.com/Infineon/amazon-freertos/blob/034588cc335fdf3a2f8a3e77068e266888237a17/demos/ble/...

The BLE interface is abstracted here:

https://github.com/Infineon/amazon-freertos/tree/034588cc335fdf3a2f8a3e77068e266888237a17/libraries/...

But that is where I lose the trail...

 

 

0 Likes
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hello @Panometric 

Are you looking for using MQTT protocol on P6 BLE ? Can you please clarify your exact requirements ? 

Regards,

 

 

0 Likes
Panometric
Level 5
Level 5
100 sign-ins 100 replies posted 10 solutions authored

@AnjanaM_61 , yes I want to use the MQTT bridge  / proxy with AWS.  The link above shows:
"This demo demonstrate the FreeRTOS GATT server by sending a simple counter value to a mobile device application coded against the iOS and Android device SDK for BLE and FreeRTOS. The libraries in the iOS and Android SDK will seamlessly publish the messages to the cloud through MQTT. The mobile application demo can be found in the same iOS and Android SDK."


0 Likes

@BragadeeshV  or @AnjanaM_61 , any follow up?

0 Likes
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

CY8CPROTO-063-BLE has PSoC 63 part that has BLE sub system and it uses the CY BLESS library.
Currently, Amazon FreeRTOS only supports AIROC based platforms that support WICED-based stack. We don't have WICED-based stack for BLESS (P6-BLE). It'll be available by April 2022.

Thanks,
P Yugandhar.

0 Likes

@Yugandhar is there an early adopter / beta for that?, I would like to try ASAP. 

 

0 Likes
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello, 

We had the stack in testing but it won't be provided to the customers.

Thanks,

P Yugandhar.

0 Likes