edgexfoundry / device-rfid-llrp-go

repository for new RFID device service being created/contributed by Intel | Owner: Device Service WG Chair, github ID: iain-anderson
Apache License 2.0
12 stars 25 forks source link

'AddROSpec' - this command not available for llrp device service #72

Closed surajitx-pal closed 2 years ago

surajitx-pal commented 2 years ago

This below command to check all available commands for core-command service but "AddROSpec" not available. curl http://0.0.0.0:59882/api/v2/device/name/SpeedwayR-11-43-62 | jq '.deviceCoreCommand | .coreCommands[].name'

Screenshot from 2022-04-06 15-32-53

Screenshot from 2022-04-06 17-26-53

surajitx-pal commented 2 years ago

NOTE: curl -so- -X PUT http://0.0.0.0:59882/api/v2/device/name/SpeedwayR-11-43-62/enableROSpec 'Content-Type: application/json' --data '{ "ROSpecID": 1 }'
this command is return success but no such start reading/no reading led blinking at impinj device etc.

lenny-goodell commented 2 years ago

NOTE: curl -so- -X PUT http://0.0.0.0:59882/api/v2/device/name/SpeedwayR-11-43-62/enableROSpec 'Content-Type: application/json' --data '{ "ROSpecID": 1 }' this command is return success but no such start reading/no reading led blinking at impinj device etc.

@surajitx-pal , what do the log files for Command and LLRP device service show when Debug logging is on?

surajitx-pal commented 2 years ago

@lenny-intel - Now enableROSpec command direct start reading the tags, Here is the console logs is attached. but some failed log message also. please review- Screenshot from 2022-04-11 15-34-41 Screenshot from 2022-04-11 15-34-26

surajitx-pal commented 2 years ago

Need to update read-me doc, AddROSpec part also. https://github.com/edgexfoundry/device-rfid-llrp-go#device-profiles-custom-llrp-messages-and-service-limitations

lenny-goodell commented 2 years ago

@surajitx-pal , this issue can not be closed, correct.

@marcpfuller did you address this:

Need to update read-me doc, AddROSpec part also. https://github.com/edgexfoundry/device-rfid-llrp-go#device-profiles-custom-llrp-messages-and-service-limitations

surajitx-pal commented 2 years ago

'AddROSpec' this API is changed to ROSpec, and Read-me is updated. and working with Example scripts.