| | |
| | |
|
| | | import com.hdl.sdk.link.common.utils.LogUtils;
|
| | | import com.hdl.sdk.link.core.bean.LinkPacket;
|
| | | import com.hdl.sdk.link.core.bean.eventbus.BaseEventBus;
|
| | | import com.hdl.sdk.link.core.bean.eventbus.EventBindMiniRemoteSuccessInfo;
|
| | | import com.hdl.sdk.link.core.bean.eventbus.EventNotifyRefreshGatewayAesKeyInfo;
|
| | | import com.hdl.sdk.link.core.bean.gateway.GatewayBean;
|
| | |
| | | return;
|
| | | }
|
| | | LogUtils.d(TAG, "网关重连mqtt秘钥更新通知->" + topic);
|
| | | EventNotifyRefreshGatewayAesKeyInfo eventNotifyRefreshGatewayAesKeyInfo = new EventNotifyRefreshGatewayAesKeyInfo();
|
| | | eventNotifyRefreshGatewayAesKeyInfo.setGatewayId(topics[2]);
|
| | | EventBus.getDefault().post(eventNotifyRefreshGatewayAesKeyInfo);
|
| | | BaseEventBus baseEventBus=new BaseEventBus();
|
| | | baseEventBus.setTopic(topic);
|
| | | EventBus.getDefault().post(baseEventBus);
|
| | |
|
| | | // EventNotifyRefreshGatewayAesKeyInfo eventNotifyRefreshGatewayAesKeyInfo = new EventNotifyRefreshGatewayAesKeyInfo();
|
| | | // eventNotifyRefreshGatewayAesKeyInfo.setGatewayId(topics[2]);
|
| | | // EventBus.getDefault().post(eventNotifyRefreshGatewayAesKeyInfo);
|
| | | return;
|
| | | }
|
| | |
|