cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
395
Views
0
Helpful
0
Replies

Generic NED: how to differentiate between config/state data in hello?

JennyW
Level 1
Level 1

In generic NED constructor I need to call setConnectionData() based on the capabilities in hello message from device, java doc has:

public void setConnectionData(NedCapability[] capas,
                              NedCapability[] statscapas,
                              boolean wantRevertDiff,
                              NedWorker.TransactionIdMode transMode)
This function is used to set the parameters of NedConnection for a specific NED.

Parameters: capas - an array of capabilities for config data statscapas - an array of capabilities for stats data

I don't know how to tell which capability in the hello message is for config data and which is for state data, wonder how netconf NED does it. 

0 Replies 0