NetBurner 3.1
Utilities

Once produce development is complete, the most common questions are:

  • How to program the application into devices in production
  • How to configure devices in production
  • How to enable customers to change configuration settings

This section will cover each of these issues.

Application Programming

Applications are programmed into flash memory by sending an application image to the device's configuration server, located at it's IP address on port 20034. There are two methods to do this over a network connection:

  • The nbupdate windows utility
  • The WGET utility, available on all computer platforms

nbupdate

This is a windows utility that can be run from the command line. The format is: nbupdate <filename> <ip address>. For example, nbupdate myApp.bin 10.1.1.196, or nbupdate myApp.s19 10.1.1.196.

If you set the environment variable DEVIP you can leave out the IP address parameter. For example, SET DEVIP=10.1.1.196. Now you can call nbupdate with only the application file name.

WGET

The WGET utility can be used for a number of things:

  • Programming an application
  • Retrieving configuration information
  • Programming configuration information

In the examples below we will use a device IP address of 10.1.1.60, and an application name of myApplication.bin.

Application Programming

To program (post) a new application to the device: `wget –post-file=myApplication 10.1.1.60:20034/AppUpdate.html

Read The Configuration

Read the current configuration into a file named config.txt wget 10.1.1.60:20034/Config

Program New Configuration Settings

The easiest way to do this is to first read the configuration into a file, edit and save the file, the post that file to each new device.

wget --post-file=newconfig 10.1.1.60:20034/Config

Customer Configuration

Once deployed, your customers can modify the configuration by:

  • Using the interactive web interface at 10.1.1.60:20034. Note that you can create your own web interface to over-ride the default NetBurner interface.
  • Using WGET
  • Your application can provide the means to change configuration