2023-11-16 01:40 AM
hi all,
i am using stm32wb55 for my project ,i was setup one stm32wb55 as client and another stm32wb55 as a server both boards are connected via ble using data throughput example can anyone please help me how to code to send some data (ex:hi ) from client to server
thanks in advance
2023-11-16 07:33 AM - edited 2023-11-16 07:33 AM
Hello @vijay3 and welcome to the ST Community :smiling_face_with_smiling_eyes:.
For your case, I think is going to be easier if you start uploading the "BLE_p2pClient" example on a board and the "BLE_p2pServer" on the other. Than you can modify the codes to create your personal application.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-11-16 08:12 PM
is it not possible with data throughput example..?
2023-11-16 08:32 PM
i have gone through with p2p server and one is p2p client both are not connecting
2023-11-16 09:08 PM - edited 2023-11-16 09:12 PM
hi @vijay3
With USB also you could be able to communicate between client and server.
2023-11-16 09:15 PM
hi sir
i want data streming with high speed ,is it possible with usb example sir?
2023-11-16 09:19 PM
USB supports 12Mbits/sec speed
2023-11-16 09:21 PM
There are many examples available related to USB , with that if you'll do some R&D definatly it will work.
2023-11-16 09:24 PM
is there any example that you have done stm32wb55 as a server and client and send data via ble please send me sir
2023-11-16 09:55 PM
https://wiki.st.com/stm32mcu/wiki/Introduction_to_USB_with_STM32 this link will helpe you to understand how to use USB in the programing.
https://controllerstech.com/send-and-receive-data-to-pc-without-uart-stm32-usb-com/ this link will helpe you how to send and recivie data through USB.
now based on this you have to make your own code in which you can define how server and clients will act when data is getting recivied and transmitted.