How to obtain the MC40 IP address

We are using the SB1's and MC40's in all of our stores. I wrote a script for the SB1 to get the IP address of the unit and build a store specific ip address to connect to our stores back office using function:  signal.signalEvent = "signalEvent(%json)"; in asl.js.

I can't find this function in ebapi-modules.js. Do you have a comparable function for the MC40?