Yuki Ohashi said:
Zach Libby said:
Yuki Ohashi said:
Hello,
When I deploy a SimpleService sample to the device which did porting of MF and operated it, I have the problem that does not transmit UDP multicast.
Therefore, it cannot discover a device even if I run a SimpleServiceClient sample on an emulator.
However, when I deploy a SimlleServiceClient sample to a device and operated it, it transmits UDP multicast for discovery. And it was able to receive service if I ran a SimpleService sample on an emulator.
Is there a problem for porting?
Would you teach what I should investigate if there is it?
I'm using NETMF v4.1b
Refresh #3 and RTIP stack.
A core of the devices is ARM926EJ-S.
Thanks in advance...
Hello Yuki,
It sounds like the device is not getting the Probe request. Can you verify that the device is receiving the Multi-cast probe? And what kind of network are you on? Is the device on the same subnet as the emulator/PC? Can you get a connection with the emulator running the service and the device running the client?
Thanks,
Zach
Hello Zach,
Thanks for your continued supporting.
I confirmed due to
your advises. Please find following:
>Can you verify that the device
is receiving the Multi-cast probe?
Yes. I confirmed the buffer data of
Multi-cast probe.
And I find failed pattern. Please find below
comments.
# Please confirm "Failed pattern" comment.
>And what
kind of network are you on?
>Is the device on the same subnet as the
emulator/PC?
Current network is local network structed switching
hub.
Please find details as following:
- Network
- Device
-
IP :192.168.0.10
- Mask :255.255.255.0
-
DefaultGateway:192.168.0.1
- Emulator on PC
- IP
:192.168.0.13
- Mask :255.255.255.0
-
DefaultGateway:192.168.0.1
- Success pattern
- Service Server (SimpleService):
Emulator
- Service Client (SimpleServiceClient): Device.
1. Client sends multi-cast
probe.
2. Server have unicast connection.
-> Receiving
service.
- Failed pattern
- Service Server: Device.
- Service
Client: Emulator.
# Replacing server and client.
1. Client sends
multi-cast probe.
-> There is no response from server.
>Can you
get a connection with the emulator running the service and the device running
the client?
Yes. It looks no problem.
Meanwhile, my first problem
is "why I can't check "Hello" multi cast
message on server
operated device by WireShark".
So I had doubt that multi cast message is not sent from device
or reached to PC.
Is my doubt correct? Please let me know your
opinion.
In addition, if you find new queues about this issue, I
appreciate you
to let me know
your idea. I'll check my environment due to
your idea again.
Thanks in advance,
Yuki
Hello Yuki,
Sorry for the delayed response. This site orders threads by date and not by most recent activity. Can you verify that the device received the multicast request from the emulator? You have shown that the device can send multicast when it was a client, so I don't think there is a problem with multicast. Perhaps the firewall on your machine prevents multicast outgoing messages? Sorry I don't have any idea why you are seeing this issue and I can not reproduce it.
Thanks,
Zach