Page 1 of 1

Receive only SBL2eX

Posted: Wed May 26, 2021 9:26 am
by kcris
I have an SBL2eX-100IR. I want it to use it in UDP mode to only receive packets, i.e. only go from UDP -> serial. I don't want it to send any UDP packets regardless of what it sees on the serial port. If I do not load any outgoing address or port number in the settings, will that have the intended effect (to prevent outgoing UDP packets)? Is there another/better way to do this?

Re: Receive only SBL2eX

Posted: Wed May 26, 2021 3:43 pm
by TomNB
Hello,

Can you describe exactly what serial device you are connecting to, and how you are connected? Is it your own cable?

Is this for production volumes, lab, single use? If so, you could leave the tx connection off in the cable from your serial device to the SBL2e.

There is no method in the standard serial to Ethernet application to disable UDP transmits. However, since UDP is connectionless, I think you could pick some address you don't care about or simply not listen on your client side if any packets should be sent.

One other solution, but probably only if this is a production application, would be to get a development kit and modify the factory serial to ethernet application so UDP packets are not sent.

Re: Receive only SBL2eX

Posted: Thu May 27, 2021 5:36 am
by kcris
Thanks for your reply. This is in a lab environment. Single use to enable a specific test. At the moment, we are using a standard cable, so it's not easy to disconnect the TX data line.

We can try using some unused address or port.

What would the SBL2eX do if we blank out the sending address or port settings?

Re: Receive only SBL2eX

Posted: Thu May 27, 2021 8:08 am
by TomNB
That isn't a mode we test in, so it would be something you could try to see if it works. It might be easier to cut off the tx pin in your serial cable.

Re: Receive only SBL2eX

Posted: Thu May 27, 2021 12:39 pm
by kcris
We tried it out. I can confirm that blanking the destination IP address and port number causes the device to stop sending IP packets. Receive functionality was unaffected.

Re: Receive only SBL2eX

Posted: Thu May 27, 2021 12:48 pm
by TomNB
Glad it worked, and thank you for the follow up post.