Skip to main content
WYous.1
Associate III
Mar 10, 2022 4:23 PM UTC
Question

Hello, I am trying to send a message from my phone using nRF Connect ( a letter or a number for example) to my STM32WB55 ( as a master) any idea what API should I use in p2p server ? Thanks.

..

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
Mar 15, 2022 10:02 AM UTC

Hello,

You can find some information and documentation about BLE on this wiki page:

https://wiki.st.com/stm32mcu/wiki/Connectivity:BLE_overview

In AN5289 part 7.4, you have a description of P2P application and how to use it.

When you used P2P Server on STM32WB, STM32WB is a slave not a master. To send a message from your smartphone to your STM32WB, you can used ST BLE Toolbox application:

  1. Connect to P2PSRV1
  2. Go on P2P server service window
  3. Send data on the writable characteristic, for example send 0x0001 which turn on WB blue led. You can also look debug trace.

Best Regards