Hey greeeg, thank you very much for your reply! It explained me a lot!
Right now I am trying to send some image data via bluetooth and display it. My idea is to send bytes in from android app in small time intervals, e.g. every 1/500 second, so that UART buffer in MSP430 can be read and emptied before receiving another byte. Would that work as intended?
And what would be the correct way to save input to the char array? My initial idea was to do something like this:
int main(void) {
WDTCTL = WDTPW + WDTHOLD;
init();
int i = 0;
bool ready = false;
for(; {
if (read