Skip to main content
CBram.1776
Associate II
May 6, 2020
Question

STEVAL-STLKT01V1: Multiple BLE servers connected to client

  • May 6, 2020
  • 3 replies
  • 631 views

Hello,

in our application, we are using STEVAL-STLKT01V1 boards.

The scenario is made with some of these boards working as server, collecting data from external devices. These servers should connect to an STEVAL-STLKT01V1 working as client and connected to a PC with USB. This client must transfer received data from servers to PC by using the standard USB VCOM driver.

I ported the BLE Chat application from BlueNRG DK 2.0.2 to STEVAL-STLKT01V1 and now I'm able to transfer data between client and server.

Now I need to expand the existing code for supporting multiple servers, but I'm facing some difficulties. After some researches in the community, I found the existence of BLE_p2pRouter but, from the code that I have found at GITHUB, it does not seem to be possible to port it to STEVAL-STLKT01V1. Is there an example or some guidelines for implementing multiple connection?

Sincerely.

    This topic has been closed for replies.

    3 replies

    Silvio
    ST Employee
    May 6, 2020

    Hello,

    you could have a look at the FP-NET-BLESTAR1.

    In the package you can find the sample code of a BLE Central device able to connect to and receive data from several BLE servers (up to seven).

    The example has been developed for the Nucleo-F401RE and the B-L475E-IOT01 boards, but you could take it as reference developing your application for your board.

    Best Regards

    Silvio

    Winfred LU
    ST Employee
    May 11, 2020

    Try to start with STSW-BLUETILE-DK

    https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-bluetile-dk.html

    The projects in this DK shall have been ported to STEVAL-STLKT01V1 already.

    Please refer to the documents in DK located in folders:

    STSW-BLUETILE-DK 1.2.0\Docs\Multiple_Connection_Formula\Multiple_Connections_Formula.html

    STSW-BLUETILE-DK 1.2.0\Docs\Multiple_Connection_Guidelines\Multiple_Connection_Guidelines.html

    GChir.2
    Associate
    November 8, 2020

    Hi @CBram.1776​ . Could you share porting of the "ble_chat" example for STEVAL-STLKT01V1?

    I would need it for my thesis work. I tried to do it myself but without success (I'm new to the world of microcontrollers). Thanks