Noob question about receiving data

For Bluetooth LE, see these examples (they are for ESP32).