I am writing some test code and was wondering if there is any public API that indicates failure due to security?
I was hoping, using a public API, that I could discover failure due to security. Ideally it would indicate the reason for the failure. i.e. failed because device is not onboarded. Failed because interface is not provisioned etc. Example test steps: step 1: client discovers resource calls oc_do_get on resource (Expect failure, OTM not yet performed, the GET oc_request_handler not called. Using public APIs, can I find out about the failure?) step 2: perform OTM of server/client device call oc_do_get on resource (Expect failure, not yet provisioned, the GET oc_request_handler not called. Using public APIs, can I find out about the failure?) step 3: provision server/client (good provision that will allow client/server to communicate) call oc_do_get on resource (Expect success, the GET oc_request_handler will be called ) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10262): https://lists.iotivity.org/g/iotivity-dev/message/10262 Mute This Topic: https://lists.iotivity.org/mt/32906777/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-