Hi, > When I run with CTT, sometimes client do not reset to OTM. > So I delete the creds directory.
This is one way, but you can also call oc_reset() from your Client with a trigger (e.g. button/option) in it. > CTT : Please send a unicast request message to resource with observe option = > 1 You should call oc_stop_observe() in this case. Thanks, -Kishen. -- Kishen Maloor Intel Corporation From: <iotivity-dev@lists.iotivity.org> on behalf of 김정진 <j....@vinetech.com> Date: Tuesday, November 5, 2019 at 3:28 AM To: "iotivity-dev@lists.iotivity.org" <iotivity-dev@lists.iotivity.org> Subject: [dev] Question About CT2.2.6 on CTT1903.0.00 and How to reeset client OTM? Hi. I'm Jeognjin. I am making a CLI program on ubuntu raspberrypi and trying to pass CT2.2.2, CT2.2.6. (With make TCP=1 IPV4=1 IPV6=1 SECURITY=1 PKI=1) 1. When I run with CTT, sometimes client do not reset to OTM. So I delete the creds directory. Then client generates new UUID. So I want to reset only the OTM, but I can't find the example code. 2. I run CTT1903.0.0 and CT2.2.6 PICS with oic.d.sensor CTT : Please send a unicast request message to resource with observe option = 0 one of 5, so I chose /ThreeAxisResURI So I called - oc_do_observe(uri, endpoint,NULL,&observe_notify_cb,HIGH_QOS,NULL); In the CTT log - INFO Request obser options is None Anyway, it went well. So I can get notification from CTT. Next, CTT : Please send a unicast request message to resource with observe option = 1 I called - oc_do_observe(uri, endpoint,NULL,&observe_notify_cb,LOW_QOS,NULL); In the CTT log - INFO Request obser options is 1 Waited a while, but I did not get a notification. Thanks for reading. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10281): https://lists.iotivity.org/g/iotivity-dev/message/10281 Mute This Topic: https://lists.iotivity.org/mt/42101102/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-