Currently, the scan logic of GPS Device Service is located in Initialize func, it caused this Device Service can only serve one GPS Device.
By moving to HandleReadCommands func, it can read ProtocolProperties as the suggestion in #29. The disadvantage is that it can only scan at runtime. In the next release, this logic could move to the new AddDevice callback stated in edgexfoundry/device-sdk-go#276
This issue is just a suggestion.
Currently, the scan logic of GPS Device Service is located in
Initializefunc, it caused this Device Service can only serve one GPS Device.By moving to
HandleReadCommandsfunc, it can read ProtocolProperties as the suggestion in #29. The disadvantage is that it can only scan at runtime. In the next release, this logic could move to the new AddDevice callback stated in edgexfoundry/device-sdk-go#276This issue is just a suggestion.