Hi. Thanks, Kishen.
As Kishen said, I call oc_set_max_app_data_size(16384), sadly it did not solve the problem. What means 16384? In sample program, I found just 2 case. 16384 does not solve the problem, so I tried 1638400 but only error occurs. My client program still fail oic/res called after Reset to RFOTM occasionally. So I trace the CTT pcap log, then I saw CTT sent multicast oic/res. Then my client received the request. But I'm not sure that my client program responded properly. Because the logs went quickly with other test cases. So, I want to know how to diagnostics and debugging this issue. But I have no good idea. I need any advice,please. Best regards. 2019년 11월 26일 (화) 오후 4:59, Kishen Maloor <kishen.mal...@intel.com>님이 작성: > Hello, > > > > > I did not use patches, eventhough there are patches in the directory. > > > > If you used the Linux Makefile to build the stack, it would've included > the patches. > > (By the way, you need to apply those patches for anything to work) > > > > > Sometimes, the server in my client program can not get a request from > test program. > > > > > > Especially, oic/d and oic/res do not. > > > > You can try setting a larger buffer size. E.g. call > oc_set_max_app_data_size(16384) before oc_main_init(). > > > > > While running CT1.2.2, I sometimes get an error with "DTLS PSK Client: > Alert unknown_psk_identity(115) was received" > > > > There's no known issue here. But if you are testing against a later spec > release, it may fail. It may help if you > > shared your CTT logs. > > > > > I googled, I saw the issue - https://jira.iotivity.org/browse/IOT-3125. > > > So, I think I missed something from patches. > > > > No, that is very old and from what I can see on the ticket was between an > IoTivity (not -Lite) Client and -Lite Server. > > Even so, you shouldn't see that issue any more, and as such, I think it's > unrelated to what you may be seeing. > > > > Thanks, > > -Kishen. > > > > -- > > Kishen Maloor > > Intel Corporation > > > > *From: *<iotivity-dev@lists.iotivity.org> on behalf of " > kimjeong...@vinetech.co.kr" <kimjeong...@vinetech.co.kr> > *Date: *Monday, November 25, 2019 at 5:26 AM > *To: *"iotivity-dev@lists.iotivity.org" <iotivity-dev@lists.iotivity.org> > *Subject: *[dev] Server sometimes can not receive request. And Question > about Patch. > > > > Hello. > > I'm testing with CTT until now. > Sometimes, the server in my client program can not get a request from test > program. > > Especially, oic/d and oic/res do not. > Now I'm suspicious for mbedtls configurations. > I did not use patches, eventhough there are patches in the directory. > > Does anyone explain about patches? > Is there problems whether using patches or not? > > While running CT1.2.2, I sometimes get an error with "DTLS PSK Client: > Alert unknown_psk_identity(115) was received" > (make SECURE=1 IPV4=1 PKI=1 DYNAMIC=1 DEBUG=0) > > I googled, I saw the issue - https://jira.iotivity.org/browse/IOT-3125. > <https://jira.iotivity.org/browse/IOT-3125> > So, I think I missed something from patches. > > Thanks. > > > > -- 김정진 책임연구원 (Jeongjin Kim) Mobile. 010-4223-8152 j....@vinetech.com ㈜바인테크 Vinetech Co., Ltd. | IoT Platform Lab | New Technology BU (신기술사업부) Dir Tel: 82-2-2182-8392 | Tel: 82-2-2182-8300 | Fax: 82-2-2182-8399 (05836) 서울시 송파구 법원로11길 7, C동 1207호 (문정동, 현대지식산업센터) #1207~1210, 7, Beobwon-ro 11-gil, Songpa-gu, Seoul, 05836, Rep. of KOREA -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10301): https://lists.iotivity.org/g/iotivity-dev/message/10301 Mute This Topic: https://lists.iotivity.org/mt/61939872/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-