This page describes how to use the JDY-40 module with STM32.
The JDY-40 is quite possibly the cheapest way to add wireless connectivity to any STM32 based project. They generally come at a price point of quite a lot less than $1 each from places such as AliExpress.