cancel
Showing results for 
Search instead for 
Did you mean: 

B-WB1M-WPAN1 P2P Client

JacobFA
Associate

Hi,

I am attempting to get two B-WB1M-WPAN1 boards to connect to each other, one acting as a server and one acting as a client. I am fairly new to ST programming and thus I rely heavily on the examples and documentation to guide me. I have found an example p2p server project using the cube IDE which works well, I am also able to connect to my phone and communicate with this server.

My problem lies in attempting to create a client project for my WPAN1 board which can connect to the server WPAN1. I cannot find any examples or documentation for this? I have seen similar examples for other MCUs but I have struggled to emulate this on a WPAN1. Is there any example client projects out there worth looking at or perhaps some good documentation for this?

I have also tried using the template for WPAN1 BLE using the MX configurator following this tutorial:

STM32WB Getting Started Series: Part 12b, Lab. Receiving data from the phone (youtube.com)

This appears to make a template project capable of connecting to a p2p server WPAN1. However, I find this does not work as when I attempt to run in debug, I notice the scan function is never called and the program gets stuck in an infinite loop claiming there is no tasks to complete in the sequencer, despite me scheduling during initialisation.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @JacobFA 

For the B-WB1M-WPAN1, there is no Client examples. But you can refer to the BLE_p2pClient for the NUCLEO-WB15CC as a reference and do the necessary Modifications (BSP, pin mapping,...) since the Both NUCLEO-WB15CC and B-WB1M-WPAN1 are based on an STM32WB15CC MCU.

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.

View solution in original post

1 REPLY 1
STTwo-32
ST Employee

Hello @JacobFA 

For the B-WB1M-WPAN1, there is no Client examples. But you can refer to the BLE_p2pClient for the NUCLEO-WB15CC as a reference and do the necessary Modifications (BSP, pin mapping,...) since the Both NUCLEO-WB15CC and B-WB1M-WPAN1 are based on an STM32WB15CC MCU.

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.