I'm trying to find any documentation (or even if it's possible) to upload a .hex file to the arduino via bluetooth on Android (or iOS for that matter).
I do not need to compile the .hex file on the Android device, just upload the file to program the device.
What I currently have working is communication from Android to the device. I have the .hex file loaded, and parsed.
I have, what I believe, is everything ready to write to the device, however, all the documentation I see utilizes the serial port.
So, if this is possible am I "wrapping" the Serial communication inside bluetooth to "fool" the Arduino into thinking it's a serial connection?
Meaning I can send data to the arduino, via Bluetooth and it works perfectly. The next level is, can I actually upload .hex code and program the arduino from a mobile device?
You didn't say this in your original post.
No.
There's an enormous difference from data to code. What you are describing is OTA (Over the Air) programming where the Arduino is reprogrammed over WiFi.
If you are really want to, I guess you could rewrite the OTA library to use Bluetooth instead of WiFi. But, I can't imagine why.
Thanks for the clarification. Yes OTA is certainly the goal. I will look into doing this via wi-fi, maybe it's worth the time to wrap this via bluetooth, not sure.