Skip to content

Commit

Permalink
删除硬编码
Browse files Browse the repository at this point in the history
  • Loading branch information
neilyhe committed Oct 17, 2024
1 parent f888db4 commit 9f01966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import java.util.*

class TIoTCoreUtil {
@Volatile
var groupAddress = "239.0.0.255"
var groupAddress = ""

var softAPService: SoftAPService? = null
var softAPConfigNetListener: SoftAPConfigNetListener? = null
Expand Down
6 changes: 3 additions & 3 deletions sdkdemo/src/main/res/layout/activity_wired_config_net.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="组播 ip"
android:text="239.0.0.255"
android:text=""
app:layout_constraintTop_toTopOf="parent"
/>

Expand All @@ -18,7 +18,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="端口"
android:text="7838"
android:text=""
app:layout_constraintTop_toBottomOf="@id/ev_group_address"
/>

Expand All @@ -27,7 +27,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="token"
android:text="testToken"
android:text=""
app:layout_constraintTop_toBottomOf="@id/ev_port"
/>

Expand Down

0 comments on commit 9f01966

Please sign in to comment.