Skip to content

Commit a9d371f

Browse files
committed
Changed default channel used for IPC to remove specific reference to TORGI
1 parent 152a57e commit a9d371f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

SweLib/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
defaultConfig {
1010
minSdkVersion 23
1111
targetSdkVersion 28
12-
versionCode 1
13-
versionName '0.1'
12+
versionCode 2
13+
versionName '1.0.1'
1414
}
1515
buildTypes {
1616
release {

SweLib/src/main/java/org/sofwerx/ogc/sos/SosService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* data over IPC, HTTP, or both
1818
*/
1919
public class SosService implements SosMessageListener {
20+
private final static String DEFAULT_SWE_CHANNEL = "sost";
2021
private HandlerThread sosThread; //the MANET itself runs on this thread where possible
2122
private Handler handler;
2223
private SosMessageListener listener;
@@ -55,7 +56,7 @@ protected void onLooperPrepared() {
5556
sosThread.start();
5657
this.ipcBroadcast = enableIpcBroadcast;
5758
this.sosHttpBroadcast = (sosServerURL != null);
58-
SosIpcTransceiver.setChannel("torgi");
59+
SosIpcTransceiver.setChannel(DEFAULT_SWE_CHANNEL);
5960
}
6061

6162
/**

0 commit comments

Comments
 (0)