Skip to content

Commit

Permalink
add: zkey51增加接获取app上次发送的mqtt数据功能
Browse files Browse the repository at this point in the history
  • Loading branch information
a2633063 committed Jul 7, 2022
1 parent 6938adf commit f663080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class DeviceFragment extends Fragment implements View.OnLongClickListener
//region 使用本地广播与service通信
LocalBroadcastManager localBroadcastManager;
private MsgReceiver msgReceiver;
ConnectService mConnectService;
protected ConnectService mConnectService;
//endregion

TextView log = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void handleMessage(Message msg) {// handler接收到消息后就会执行
case 1:
handler.removeMessages(1);
//同时发送时导致超出udp最大传输长度,分开发送
Send("{\"mac\": \"" + device.getMac() + "\"}");
//Send("{\"mac\": \"" + device.getMac() + "\"}");
break;
//endregion

Expand Down

0 comments on commit f663080

Please sign in to comment.