J11D Ethernet Module Oddity?

Perhaps it’s because it’s not a classic “NIC”, but shouldn’t the “connected” indicator go out when no Ethernet connection exists (cable disconnected)?

Also, are there plans for “NetworkConnected” and NetworkDisconnected" events in a future SDK?
These would go a long way toward event-driven network apps.

Thx,

[quote]Perhaps it’s because it’s not a classic “NIC”, but shouldn’t the “connected” indicator go out when no Ethernet connection exists (cable disconnected)?
[/quote]

Do they blink when connected ?

[quote]Also, are there plans for “NetworkConnected” and NetworkDisconnected" events in a future SDK?
These would go a long way toward event-driven network apps.
[/quote]

I beleive that his has been demonstrated on several applications.

Check out NetworkChange Members | Microsoft Learn

The “activity” indicator blinks green when an active cable is connected and traffic is seen on that connection.
The “connected” indicator remains solid yellow regardless of cable connection or traffic state.

Thanx for the pointer - I’ll check that out.

I think you are misinterpreting the LED indicators:
The first one is Ethernet Connectivity.
The second one is for Ethernet speed (10/100Mbps)

Joe:

Can you clarify then - the YELLOW led on my J11 is always lit - cable or not.
Is this intended behaviour?

((I am trying to debug why no network is working all of a sudden and I
am suspicious of the stuck on led.))

Green LED blinks with activity.

s

The yellow LED is on by default and it turns off when you connect the port to a 10M port

Joe -

What’s the easiest way to verify the Ethernet is working? It was sending and receiving fine,
Now nothing can be received, not even an ip address with DHCP.

S

The easiest way is by setting a static IP address that belongs to the same netwrok you are connecting it to. Then ping that IP address from a PC.

Ping works.

Joe - is there a known good sample for the spider that
excersizes the Ethernet – other tan ping?

s

I found this example on code:
http://code.tinyclr.com/project/374/gadgeteer-ethernet-module-rss-example/

Seems to be using old version of the SDK. I want to find something
that runs clean without me fixing it - as I am not sure I am
not screwing it up.

s

Create new project. Copy code blocks out of supplied project (notepad is your friend for opening the .CS files) and paste into your new project. Removes the concern of old SDK references that opening someone else’s project would have included.

All you have to do is update references.