outDataStrm.write("OK\n");
outDataStrm.flush();
if (sentence.indexOf("!AIVDM") == 0) {
//process sentence
try {
aivdmData = new AIVDM(sentence, rxID);
//Handle multi-slot messages - well 2 slot anyway...
switch (aivdmData.getNumMsgParts()) {
case 1:
//1 part message - types 1,2,3,4,18
aivdmData.parseSentence(activeTargetsMap);