Hi,
I am using the iwr1443boost and i have been runnig the lab2: VitalSIgndemo. The SDK ist ver. 1_2. I Have 2 questions:
1) what does this code lines mean, what do they do?
bytevec_cp(bytevec_cp_len+1:bytevec_cp_len+length(bytevec)) = bytevec;
bytevec_cp_len = bytevec_cp_len + length(bytevec);
bytevec=[];
bytevecStr = char(bytevec_cp);
magicOk = 0;
startIdx = strfind(bytevecStr', char([2 1 4 3 6 5 8 7]));
if ~isempty(startIdx)
bytevec_cp(1: length(bytevec_cp)-(startIdx(1)-1)) = bytevec_cp(startIdx(1):end);
bytevec_cp_len = bytevec_cp_len - (startIdx(1)-1);
if bytevec_cp_len >= TOTAL_PAYLOAD_SIZE_BYTES
magicOk = 1;
else
magicOk = 0;
end
end
2) I would like to send some other data from UART. How can i get them to be written on the APP, where i already have created a textlabel field. If you could suggest me a code, that would be great.