2020-05-06 03:46 AM
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.
2020-05-06 05:51 AM
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
2020-05-10 07:59 PM
Try to start with STSW-BLUETILE-DK
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
2020-11-08 02:52 AM
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