Show Posts
|
|
Pages: [1] 2 3 ... 6
|
|
2
|
Using Arduino / Networking, Protocols, and Devices / w5100 Ethernet Shield in IPRAW/UDP mode: does it work?
|
on: May 25, 2012, 07:00:15 pm
|
Hi All, I want to use the w5100 Ethernet Shield to receive ALL UDP packets sent to the shield (not just for a particular UDP port). w5100 does not appear to support wildcard UDP receive ports. The w5100 supposedly supports IPRAW mode sockets, and my experiments with IPRAW/ICMP (using the technique shown in section 5.2.3 of the w5100 manual and at http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1292254905) work fine and arduino can read raw ICMP packets sent to the shield. Also setting the w5100 to MACRAW mode per the manual also works, and the arduino can read the complete raw MAC layer packet (including the IP headers etc) But setting the w5100 to IPRAW/UDP mode does not seem to work: W5100.writeSnMR(s, SnMR::IPRAW); W5100.writeSnPROTO(s, IPPROTO::UDP); W5100.execCmdSn(s, Sock_OPEN); when you send a UDP to the shield, it replies with port unreachable, regardless of the port number, and the shield never delivers any packets the the arduino. Has anyone had success with IPRAW/UDP on the w5100? Cheers.
|
|
|
|
|
3
|
Using Arduino / Networking, Protocols, and Devices / Re: New library for RF22, RFM22 radio modules
|
on: August 11, 2011, 06:50:35 pm
|
|
Hi MarkT
I take it out are testing with RFM22, not RFM22?
I dont claim the lib works with RFM22, and have not tested with RFM22, only with RFM22B. All the tests and sample code works fine here with RFM22Bs. I understand other users are working fine with the RFM22B too.
I take your point about the possible timeout wrap for timeouts that cross over 42 days and will look at that.
I hear what you say about the mode, but I _think_ I catch all the cases where that can happen and force it back to RX mode.
|
|
|
|
|
4
|
Using Arduino / Networking, Protocols, and Devices / Re: New library for RF22, RFM22 radio modules
|
on: August 11, 2011, 05:07:12 pm
|
|
OK, I have modified the library so that GPIO0 and GPIO1 are set to follow tx_state and rx_state respectively, and updated the doc to show connections from GPIO0 to TX_ANT and GPIO1 to RX_ANT.
After doing this I saw abut 5 db higher output on transmit at higher levels with my RFM22B-S2
New version 1.7 of RF22 library is now uploaded.
Feedback please.
|
|
|
|
|