Module gma.network

Network related GMA LUA functions

Functions

gma.network.gethosttype () Get the MA-NET type of device.
gma.network.gethostsubtype () Get the MA-NET sub-type of device.
gma.network.getprimaryip () Returns the primary/MA-NET IP address of the console.
gma.network.getsecondaryip () Returns the secondary/ARTNET IP address of the console.
gma.network.getstatus () Returns the MA-NET session status
gma.network.getsessionnumber () Returns the MA-NET session number.
gma.network.getsessionname () Returns the MA_NET session name.
gma.network.getslot () Something to do with MA-NET, but what?
gma.network.gethostdata (ip, recycle)
gma.network.getmanetslot (slot, recycle)
gma.network.getperformance (slot, recycle)


Functions

gma.network.gethosttype ()
Get the MA-NET type of device.

Returns:

    string Type of device

Usage:

    gma.network.gethosttype();
    "Console"
gma.network.gethostsubtype ()
Get the MA-NET sub-type of device.

Returns:

    string Subtype of device

Usage:

    gma.network.gethosttype();
    "onPC"
gma.network.getprimaryip ()
Returns the primary/MA-NET IP address of the console.

Returns:

    string Primary/MA-NET IP

Usage:

    gma.network.getprimaryip();
    "192.168.0.1"
gma.network.getsecondaryip ()
Returns the secondary/ARTNET IP address of the console.

Returns:

    string Secondary/ARTNET IP

Usage:

    gma.network.getsecondaryip();
    "10.0.0.1"
gma.network.getstatus ()
Returns the MA-NET session status

Returns:

    string MA-NET Session Status

Usage:

    gma.network.getstatus();
    "Standalone", "Master", ...?
gma.network.getsessionnumber ()
Returns the MA-NET session number.

Returns:

    number ME-NET session number. Returns 255 if not in a session.

Usage:

    gma.network.getsessionnumber();
    "1"
gma.network.getsessionname ()
Returns the MA_NET session name.

Returns:

    string MA-NET session name.

Usage:

    gma.network.getsessionname();
    "newshow"
gma.network.getslot ()
Something to do with MA-NET, but what?

Returned 255 when I wasn't in a session, 30 when I was...

Returns:

    number slot???
gma.network.gethostdata (ip, recycle)

Parameters:

Returns:

    table host_data ???
gma.network.getmanetslot (slot, recycle)

Parameters:

  • slot number ???
  • recycle optional table ???

Returns:

    table slot_data???
gma.network.getperformance (slot, recycle)

Parameters:

  • slot number ???
  • recycle optional table ???

Returns:

    table performance_data???
generated by LDoc 1.4.6 Last updated 2019-05-03 22:15:32