use of org.thingsboard.server.gen.edge.v1.EdgeUpdateMsg in project thingsboard by thingsboard.
the class EdgeGrpcSession method onConfigurationUpdate.
void onConfigurationUpdate(Edge edge) {
log.debug("[{}] onConfigurationUpdate [{}]", this.sessionId, edge);
this.edge = edge;
EdgeUpdateMsg edgeConfig = EdgeUpdateMsg.newBuilder().setConfiguration(constructEdgeConfigProto(edge)).build();
ResponseMsg edgeConfigMsg = ResponseMsg.newBuilder().setEdgeUpdateMsg(edgeConfig).build();
sendDownlinkMsg(edgeConfigMsg);
}
Aggregations