Jump to content


WIFI Remote IP during MODBUS communication


  • Please log in to reply
No replies to this topic

#1 MSP432



  • Members
  • PipPip
  • 18 posts

Posted 16 November 2016 - 10:05 PM

Hi I am trying to do a MC to MC communication using modbus.

I assigned static IP's to both my MC's.

WiFiServer MbServer(MB_PORT);
WiFiClient client = MbServer.available();

        ///Do something//////

My question here is, Is there are way I can check the senders IP address before reading modbus packed data in the loop.

Because the receiver MC can be jammed with high data throughput as its a open connection (i.e anyone can send data to the MC by knowing its IP address). I want to read the senders IP before doing any data processing.

I know using UDP protocol we can use RemoteIP(). Is there anything similar in this case.

For sending and receiving MODBUS, im using the attached libraries.

Attached Files

Also tagged with one or more of these keywords: WIFI, MODBUS, MSP432

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users