Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] 回复: Does client/server SDK of Eclipse Milo support Security/AE/HDA function

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.

On Thu, Mar 30, 2017 at 9:03 PM, george.ray <george.ray@xxxxxxxxxx> wrote:
Hi, 

Does client/server SDK of Eclipse Milo support Security/AE/HDA function?
if support, is there any reference example for the function?

Thanks!

Best regards,
George Ray

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/milo-dev





Back to the top