kopia lustrzana https://github.com/sh123/codec2_talkie
Fixes
rodzic
2475554097
commit
c2c3ef4fab
|
@ -252,6 +252,7 @@ public class AprsIs implements Protocol, Runnable {
|
|||
tcpIp.write(loginCmd.getBytes());
|
||||
Log.i(TAG, "Connected to " + _server);
|
||||
} catch (IOException e) {
|
||||
// TODO, notify parent
|
||||
Log.w(TAG, "Failed to connect");
|
||||
e.printStackTrace();
|
||||
try {
|
||||
|
@ -262,6 +263,7 @@ public class AprsIs implements Protocol, Runnable {
|
|||
isConnected = false;
|
||||
continue;
|
||||
}
|
||||
// TODO, notify user
|
||||
isConnected = true;
|
||||
}
|
||||
// read data
|
||||
|
|
|
@ -46,7 +46,7 @@ public class AprsDataType {
|
|||
}
|
||||
|
||||
private DataType getDataTypeFromIdent(char ident) {
|
||||
if (ident == '`') {
|
||||
if (ident == '`' || ident == '\'') {
|
||||
return DataType.MIC_E;
|
||||
} else if (ident == ':') {
|
||||
return DataType.MESSAGE;
|
||||
|
|
Ładowanie…
Reference in New Issue