okleine / spitfirefox

CoAP Client for Android based on nCoAP
42 stars 13 forks source link

ServiceDiscoveryCallback not getting called #2

Open internetofhomethings opened 7 years ago

internetofhomethings commented 7 years ago

Sending a Discovery message to my CoAP server returned the expected service list when using the FireFox Browser CoAP client but this SpitFireFox Android App does not respond when sending the same Discovery message.

I noticed the ServiceDiscoveryCallback in ServiceDiscoveryTask.java never gets called even though the CoAP server has sent the reply message. This has been confirmed using WireShark and monitoring the server Discovery request reception and reply.

Any ideas why not?

okleine commented 7 years ago

Not yet. I'll look into it as soon as I find some time. But since this was my very first Android project some unexpected behaviour was somehow expected ;-).

ans-4175 commented 6 years ago

I think it's just work fine. After discovery, all services endpoint completion existed