Please have a look on ESP-NOW Protocol for ESP8266 and ESP32 and make basic examples with this protocol. Here is only one link in forum which is not sufficient to start with. Thanks.
Readers of this forum may recall the post I sent in some time ago seeking advice about Cell / nRF24 communication between a remote sensor set and a base station. previous posting : guuooo-tech-iot-ga6 / nRF24L01 comms Anyway I subscribe to another thread about ESP32 and received these links...