Hemant, SRM or Security layer is exposed thru c-api as well. You might have gone thru resource/security and resource/security/provisioning APIs.
They for the purpose and also supported for thin device. Thanks, Ashwini On 26 Oct 2015 18:36, "HEMANT MAHSKY" <h.mahsky at samsung.com> wrote: > Hi Ashwini, > > Thanks for your response. > > What I understood from your mail that SRM or security layer is not > available on Arduino or thin devices as they do not support C++ stack. > > If I am right, is there any plan to support them on thin devices in coming > days ? > > Let me explain the scenario where it is mandatory to be supported on thin > devices - > > "If user resort headless devices to the network then such devices won't be > able to provision on network by giving network's credentials ( SSID/ > password ) and device ownership transfer as the fact is transport channel > is not secured. > > If we proceed, then it will prone to the MITM attack, if not then thin > device can not join network and yield inaccessible". Please let me know > your feedback so that further enhancement in primitive setup service can be > planned accordingly. > > Please correct me If I am missing any point or there exist some way to > address said problem. > > > > Thank you! > > Regards, > > Hemant > > > > ------- *Original Message* ------- > > *Sender* : Ashwini Sharma<ak.ashwini1981 at gmail.com> > > *Date* : Oct 26, 2015 17:49 (GMT+05:30) > > *Title* : Re: [dev] Programmer guide and Api document for Provisioning API > > > Hi Hemant, > > As you may be aware C++/Android API are build only for rich devices. For > Arduino the CSDK is built and not the C++. > > To build for Android target you can use the scons command. > *scons TARGET_OS=android TARGET_ARCH=armeabi SECURED=1* > > You can also refer the Android provisioning sample at > *android/examples/provisioningclient/* > > regards, > Ashwini > > On Mon, Oct 26, 2015 at 12:34 PM, HEMANT MAHSKY <h.mahsky at samsung.com> > wrote: > >> Dear WooChul, >> >> Thanks for sharing documents, they fairly explained concepts & API usage. >> >> Hi Ashwini, >> >> Can you please help in locating build & sample usage guide for >> provisioning on Arduino and Android platform ? >> >> I'm particularly looking for Arduino as the use case of provisioning best >> suited with headless devices. >> >> >> >> Regards, >> >> Hemant >> >> >> >> ------- *Original Message* ------- >> >> *Sender* : WOOCHUL SHIM<woochul.shim at samsung.com> S5/Senior >> Engineer/Security Lab./Samsung Electronics >> >> *Date* : Oct 22, 2015 19:41 (GMT+05:30) >> >> *Title* : Re: Programmer guide and Api document for Provisioning API >> >> >> >> Dear Hemant, >> >> >> >> Please visit IoTivity Wiki: https://wiki.iotivity.org/iotivity_security. >> I hope you can find related information from there. >> >> For build issue, Ashiwini could help you because he implemented C++ API >> and sample. >> >> >> >> Thank you. >> >> WooChul >> >> >> >> ------- *Original Message* ------- >> >> *Sender* : HEMANT MAHSKY<h.mahsky at samsung.com> ./Chief >> Engineer/SRI-Bangalore-IoT & Connectivity/Samsung Electronics >> >> *Date* : 2015-10-22 19:45 (GMT+09:00) >> >> *Title* : Programmer guide and Api document for Provisioning API >> >> >> >> Dear Shim, >> >> I'm working on Multi PHY easy setup service and need to integrate it with >> provisioning APIs. But, I'm finding it hard to locate any document or >> guideline for API usage. >> >> However, I built '<iotivity>\resource\csdk\stack\samples\linux\secure' >> and able to create secure resource and access it, but it does not have >> provisioning APIs. >> >> I found some relevant APIs in '<iotivity>\resource\provisioning' and run >> its 'example\provisioningclient', but getting error "PM Init failed". >> >> Appreciate a quick help on it. >> >> Thank you! >> >> Regards >> >> Hemant >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> iotivity-dev mailing list >> iotivity-dev at lists.iotivity.org >> https://lists.iotivity.org/mailman/listinfo/iotivity-dev >> >> > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151026/e5515daa/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: file0.gif Type: image/gif Size: 13168 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151026/e5515daa/attachment.gif> -------------- next part -------------- A non-text attachment was scrubbed... Name: file1.gif Type: image/gif Size: 13168 bytes Desc: not available URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151026/e5515daa/attachment-0001.gif>
