int SDRNode.setName( String name )

  • sets local node name,
  • Returns -1 if error.

example :

   SDRNode.setName( 'F4GKR');
   ...

int SDRNode.setLocation( double latitude, double longitude )

  • sets local node geo position,
  • Returns -1 if error.

This overrides settings in sdrnode.conf file. All streams attached to this node will inherit this location, unless they are remotely imported streams.

Note : if a GPS is attached to local SDRNode for positionning, then this setting will be overidden when next NMEA frame will be received.

example :

   SDRNode.setLocation( 48.58617, 1.81002);
   ...

int SDRNode.blackList( String IP)

  • Adds a new IP in the network blak list of address (forbidden connection list),
  • Returns -1 if error.

Black listed IP cannot access SDRNode

example :

   SDRNode.blackList( '192.168.1.2');
   ...

int SDRNode.whiteList( String IP)

  • Adds a new IP in the network white list of address,
  • Returns -1 if error.

White listed IP can have access to the HTTP API directly from any Web Browser.

example :

   SDRNode.whiteList( '192.168.1.100');
   ...