Extension qnx.network

qnx.network

Allow access to network resources

Methods

configureInterface

Confgure network interface parameters
Parameters:
Name Type Description
id String The ID of a network interface as returned by get()
params Object A collection of parameters to set
Example
 
{
    dhcp: {Boolean},
    ip: {String},
    netmask: {String},
    gateway: {String},
}

getInterfaces

Return an array of available network interfaces
Returns:
The array of available network interfaces
Type
  • Array
Example
{
    dhcp: {Boolean},
    ip: {String},
    netmask: {String},
    gateway: {String},	
}