Hi,
About HDA question, tesing code:
List<NodeId> nodeIds = ImmutableList.of(new NodeId(2, "ChannelTest.DeviceTest.Tag190"));
List<HistoryReadValueId> nodesToRead = new ArrayList<HistoryReadValueId>();
HistoryReadValueId valueId = new HistoryReadValueId(nodeIds.get(0), null, null, null);
nodesToRead.add(valueId);
CompletableFuture<HistoryReadResponse> historyResp = client.historyRead(new HistoryReadDetails(), TimestampsToReturn.Both, true, nodesToRead);
But can't read history data.
------------------------------------------------------------------
发件人:george.ray <george.ray@xxxxxxxxxx>
发送时间:2017年4月6日(星期四) 11:09
收件人:milo developer discussions <milo-dev@xxxxxxxxxxx>; Kevin Herron <kevinherron@xxxxxxxxx>
主 题:回复:[milo-dev] Does client/server SDK of Eclipse Milo support Security/AE/HDA function
Hi,
I want to test AE with Milo client and KEP Server, and have some API questions.
For example, How to write the 4th parameter "_continuationPoint" of HistoryReadValueID constructor?
Does "client.historyRead" method need a monitor? The invoke will be block when reading?
Thanks!
Best regards,
George Ray
------------------------------------------------------------------
发件人:Kevin Herron <kevinherron@xxxxxxxxx>
发送时间:2017年4月1日(星期六) 06:15
收件人:george.ray <george.ray@xxxxxxxxxx>; milo developer discussions <milo-dev@xxxxxxxxxxx>
主 题:Re: [milo-dev] Does client/server SDK of Eclipse Milo support Security/AE/HDA function
The client supports everything. There's no examples for subscribing to alarms or calling history, but it's really just a matter of putting together the right request objects and invoking the service. Part 4 of the spec can help with this.
The server does not yet support events (so no AE). It does have stubs for implementing the history service calls (as of a few days ago), but that's up to your implementation to fulfill if you choose to support it.