i don't have any idea of how bluetooth devices works, and i was thinking if it's possible to run code into a bluetooth device.
I know maybe you're thinking it's a really weird question, and yeah i agree, but i think if it was possible to run code on these types of random devices that we buy for cheap prices it would be like an Rasppberry PI but much more cheaper and basic, i know that a Rasppberry PI is a lot more powerful and different compared to a bluetooth device, but if i could at least run some math-related code on it and get a output it would be very nice anwyays.
I don't think it's really possible, but i want to know the reasons and finally get this question out of my head.
An example: i connect the bluetooth device to my computer via USB and somehow i could execute some sort of code and get an output. Maybe these devices hardware runs some linux distribution so i could run linux terminal commands or maybe a programming language.
when i connect it directly to my computer via USB, i don't see anything new, but maybe i need drivers or something like that to run code.
If you're going to ask me which device i am using, i don't know exactly which company produced this one, but if that could help, think about the cheapest bluetooth device, it's black, round-shaped and its outsides is made of metal and plastic, but it also does have a speaker, mode button, volume, a USB port, ON & OFF button and and also a earphone port, it reproduces an Audio when turned on and when connected to a device, so it really makes me question even more if it does have some accessible kernel on it, as i don't think someone would manually write every byte of the audio reproduced and the software inside of it.
(Obs: i don't know almost nothing about linux and kernels or how all these stuff works, if i made any mistake, sorry!)