Hi Gregg,

First of all Thanks for your reply.

Now i am able to find resources from android client application and server
is running on x86_64 or simulator.

But my app is crashing with error like

08-19 11:48:09.966 26856-27084/com.os.clent A/libc: Fatal signal 11
(SIGSEGV), code 1, fault addr 0x801a8c0 in tid 27084 (Thread-19531)

Please let us know what might be causing this issue. application hardly
will run 5-10 Sec an di am getting Signal 11.


Thanks!
Prakash

On Thu, Aug 18, 2016 at 1:29 AM, Gregg Reynolds <dev at mobileink.com> wrote:

> On Aug 17, 2016 4:55 AM, "Prakash Ks" <pakkya1234 at gmail.com> wrote:
> >
> > Can anyone suggest why i am getting 08-16 17:51:33.210
> 28598-28810/com.os.clent I/OIC-JNI: findResource error callback value : 31
> > 08-16 17:51:33.218 28598-28810/com.os.clent I/Client: findResource
> request has failed
> >
> > I am using simpleclient application from android folder.
> >
>
> Try building both sides with SECURED=0?
>
> > Thanks!
> > Prakash
> >
> > On Tue, Aug 16, 2016 at 5:59 PM, Prakash Ks <pakkya1234 at gmail.com>
> wrote:
> >>
> >> Hi,
> >>
> >> I am using android simpleclient application to find resources from
> server which is running on x86_64 platform on the same network.
> >>
> >> When i run android app getting stack error ADAPTER_NOT_ENABLED error.
> Below is for reference. and also getting fatal signa 11.
> >>
> >> Anybody help would be appreciated.
> >>
> >> 8-16 17:51:23.072 28598-28650/com.os.clent I/Client: Finding all
> resources of type "core.light".
> >> 08-16 17:51:23.076 28598-28650/com.os.clent D/OIC-JNI:
> OcPlatform_findResource
> >> 08-16 17:51:23.076 28598-28650/com.os.clent D/OIC-JNI:
> OnResourceFoundListener: new listener
> >> 08-16 17:51:23.160 28598-28650/com.os.clent D/CaNfcInterface: NFC
>  registerNfcReceiver
> >> 08-16 17:51:23.171 28598-28650/com.os.clent V/NFC: this device does not
> have NFC support
> >> 08-16 17:51:23.171 28598-28650/com.os.clent E/CaNfcInterface: Failed to
> get the Adapter
> >> 08-16 17:51:23.196 28598-28669/com.os.clent I/OIC-JNI: findResource
> error callback value : 31
> >> 08-16 17:51:23.208 28598-28669/com.os.clent I/Client: findResource
> request has failed
> >> 08-16 17:51:23.208 28598-28669/com.os.clent E/Client:
> org.iotivity.base.OcException: stack error in onFindResourceErrorCallback
> ADAPTER_NOT_ENABLED
> >> 08-16 17:51:23.208 28598-28669/com.os.clent I/OIC-JNI:
> ~JniOnResourceFoundListener()
> >> 08-16 17:51:23.208 28598-28669/com.os.clent I/OIC-JNI:
> OnResourceFoundListener removed
> >> 08-16 17:51:33.195 28598-28650/com.os.clent I/Client: Finding all
> resources of type "core.light" for the second time
> >> 08-16 17:51:33.195 28598-28650/com.os.clent D/OIC-JNI:
> OcPlatform_findResource
> >> 08-16 17:51:33.195 28598-28650/com.os.clent D/OIC-JNI:
> OnResourceFoundListener: new listener
> >> 08-16 17:51:33.196 28598-28650/com.os.clent I/Client:
> ------------------------------------------------------------------------
> >> 08-16 17:51:33.210 28598-28810/com.os.clent I/OIC-JNI: findResource
> error callback value : 31
> >> 08-16 17:51:33.218 28598-28810/com.os.clent I/Client: findResource
> request has failed
> >> 08-16 17:51:33.219 28598-28810/com.os.clent E/Client:
> org.iotivity.base.OcException: stack error in onFindResourceErrorCallback
> ADAPTER_NOT_ENABLED
> >> 08-16 17:51:33.219 28598-28810/com.os.clent I/OIC-JNI:
> ~JniOnResourceFoundListener()
> >> 08-16 17:51:33.219 28598-28810/com.os.clent I/OIC-JNI:
> OnResourceFoundListener removed
> >> 08-16 17:51:38.396 28598-28667/com.os.clent A/libc: Fatal signal 11
> (SIGSEGV), code 1, fault addr 0x801a8c0 in tid 28667 (Thread-5576)
> >>
> >> --
> >> With Regards
> >> Prakash K S
> >> 9743167347
> >
> >
> >
> >
> > --
> > With Regards
> > Prakash K S
> > 9743167347
> >
> > _______________________________________________
> > iotivity-dev mailing list
> > iotivity-dev at lists.iotivity.org
> > https://lists.iotivity.org/mailman/listinfo/iotivity-dev
> >
>
>


-- 
With Regards
Prakash K S
9743167347
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160819/8afd97cb/attachment.html>

Reply via email to