Conversation
…rt protocols of iot agent
516f8c0 to
4c17103
Compare
|
After recent merge of PR #196 has introduced changes in master that cause some conflicts on this PR. They should be fixed to make it mergeable again (maybe @jason-fox , author of PR #196, could assist you during the process). However, not sure about the feature implemented by this PR. We have two doubts:
|
|
@Cerfoglg - all you need to do is merge and accept yours Thereafter npm i
npm run lintAnd fix any es6 errors raised. (Alternatively you could disable the failed rule for your files if necessary) |
|
The support of transports is meant to facilitate configuration. By knowing which transports and agent support, you can facilitate their configuration and the deployment of devices. |
|
IMHO default transport is a field that only make sense at device model only, not at protocol config level. Iotagent manager is currently redirecting and then showing if a device has that field. |
which Transport you pick is at the device level, but which transports are supported by the agent, it's at the agent level. How can you know if agent x supports transport y? because you read it in a manual? :) |
The purpose of this change is to add a "transports" array field to the IoT Manager's Protocol model, in order to be able to list the transport protocols that an IoT Agent supports.