Skip to content

Help with grpc error handling and time to receive device update event #1090

@ipzago

Description

@ipzago

Hello,

We are trying to improve our PLGD usage and some questions appeared. Could you help us?

  • Talking about error, is there any place that we could consult possible errors returned from PLGD?
    We're trying to evaluate better the errors returned from grpc calls (get, update, create and delete)
    and for this we need to know possible errors and the best way to identify them without need to compare strings.

  • Should grpc attempt to update a read only resource return error? We were expecting it but no error is received.
    E.g.: We tried to perform grpc update of module's /cfg access identifier and no error was received, just the
    resource payload with no changes.

  • Sometimes, it takes seconds to receive events updating device metadata or operations of unregister/register.
    Is there any timer in PLGD os DPS to check/send updates?
    E.g.: In our tests, we pause or disconnect module container from network and wait for system reaction, and sometimes
    it takes more than expected.

Best Regards,
Icaro

Metadata

Metadata

Labels

🔌 featureNew feature request❓ questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions