I have a generic bluetooth controller that works with a cellphone and I want to make it work on an arduino or esp32.
I searched a lot but I couldn't find anyone who has done it and I couldn't find much about how to read the data being received from a device like that.
How can i read the data been recived from a generic controller?
Your post is incoherent. There is no "raw data", Bluetooth simply passes on data via wireless that has been fed to it via wires. You might need to research various Bluetooth protocols, but you can count HC-06 out then, as it is SPP only.