Device Service has problems uploading devices to Metadata #15
-
Hello everyone,In Jakarta version(C language),I use the example program(examples/counters), add multiple devices in the device file(res/devices/Counters.json), run the device service program, the first run in the function(edgex_metadata_process_device_response) can get the device id.The logs are as follows: level=INFO ts=2022-06-29T04:00:43Z app=res_temperature msg="Processing Devices from res_temperature/devices" After terminating the program and running it again, the function(edgex_metadata_process_device_response) displays an exception log:it does not get the device id, "id(null)" .The log of the exception is as follows: level=INFO ts=2022-06-29T03:06:47Z app=device-counter msg="Processing Devices from res/devices" The device file(res/devices/Counters.json) is an array of 1000 devices in the following format: Above, why can get the device id when run the device service for the first time, but when run it again after terminating the program,it can't get the device id.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, I believe this is fixed in edgexfoundry/device-sdk-c#426 so should be working in the next release |
Beta Was this translation helpful? Give feedback.
Hi, I believe this is fixed in edgexfoundry/device-sdk-c#426 so should be working in the next release