Re: [dev] Android and C-SDK

2017-11-07 Thread Gregg Reynolds
rge Cc: Morten Nielsen ; iotivity-dev@lists.iotivity.org Subject: Re: [dev] Android and C-SDK On terça-feira, 31 de outubro de 2017 14:21:43 PDT Nash, George wrote: > The Android port (i.e. Java implementation on android) uses the C++ > SDK in the JNI code. Since C++ uses the C SDK it ultimately

Re: [dev] Android and C-SDK

2017-11-07 Thread Morten Nielsen
PM To: Nash, George<mailto:george.n...@intel.com>; Macieira, Thiago<mailto:thiago.macie...@intel.com> Cc: iotivity-dev@lists.iotivity.org<mailto:iotivity-dev@lists.iotivity.org> Subject: Re: [dev] Android and C-SDK Thanks! That’s actually very helpful. I’ll start dissectin

Re: [dev] Android and C-SDK

2017-10-31 Thread Morten Nielsen
: Tuesday, October 31, 2017 2:27:51 PM To: Macieira, Thiago Cc: Morten Nielsen; iotivity-dev@lists.iotivity.org Subject: RE: [dev] Android and C-SDK Yes there are some implementation details that call the Android API. Without digging into the code I can't recall off the top of my head which por

Re: [dev] Android and C-SDK

2017-10-31 Thread Nash, George
older. -Original Message- From: Macieira, Thiago Sent: Tuesday, October 31, 2017 2:23 PM To: Nash, George Cc: Morten Nielsen ; iotivity-dev@lists.iotivity.org Subject: Re: [dev] Android and C-SDK On terça-feira, 31 de outubro de 2017 14:21:43 PDT Nash, George wrote: > The Android p

Re: [dev] Android and C-SDK

2017-10-31 Thread Thiago Macieira
On terça-feira, 31 de outubro de 2017 14:21:43 PDT Nash, George wrote: > The Android port (i.e. Java implementation on android) uses the C++ SDK in > the JNI code. Since C++ uses the C SDK it ultimately works out that the C > SDK is being used on Android. I think there are certain implementation

Re: [dev] Android and C-SDK

2017-10-31 Thread Nash, George
...@lists.iotivity.org] On Behalf Of Thiago Macieira Sent: Tuesday, October 31, 2017 2:16 PM To: Morten Nielsen Cc: iotivity-dev@lists.iotivity.org Subject: Re: [dev] Android and C-SDK On terça-feira, 31 de outubro de 2017 13:08:47 PDT Morten Nielsen wrote: > You've got a crash due to a null pointer der

Re: [dev] Android and C-SDK

2017-10-31 Thread Thiago Macieira
On terça-feira, 31 de outubro de 2017 13:08:47 PDT Morten Nielsen wrote: > You've got a crash due to a null pointer dereference. You need the debugger > to find out what happened. > > Thanks. That’s fairly obvious. But as mentioned, getting native debugging to > work with Xamarin, when I have to b

Re: [dev] Android and C-SDK

2017-10-31 Thread Max Kholmyansky
Hi Morten, I never used the C SDK on Android. However, one of the common reasons for errors like this in C/C++ is related to the issues with the deployment of the "DAT" file containing the security-related information. You need to provide a valid CBOR-encoded file, and make sure it can be accessed

Re: [dev] Android and C-SDK

2017-10-31 Thread Morten Nielsen
gt; Sent: Sunday, October 29, 2017 8:47 PM To: iotivity-dev@lists.iotivity.org<mailto:iotivity-dev@lists.iotivity.org> Subject: Re: [dev] Android and C-SDK On sábado, 28 de outubro de 2017 16:01:27 PDT Morten Nielsen wrote: > I’ve written a .NET Standard interop wrapper around the C-SDK a

Re: [dev] Android and C-SDK

2017-10-29 Thread Thiago Macieira
On sábado, 28 de outubro de 2017 16:01:27 PDT Morten Nielsen wrote: > I’ve written a .NET Standard interop wrapper around the C-SDK and this runs > on Xamarin as well. I can successfully call > ‘OCRegisterPersistentStorageHandler’ (confirming the interop works) but > when I call OCInit2, the app ex