naiDigiPost: iDigi Post

Supported platforms
===================
This application can run on the connectcore9c_a, connectcore9p9215_a,
connectcorewi9c_a, connectcorewi9p9215_a, ns9210_a, connectme, connectwime,
connectcore9p9360, and connectme9210 platforms.

The sample application will demonstrate the ability to connect, manage and
store information on the iDigi server.  Information is sent to the iDigi
server by calling naiDigiPutFile(). 

What you will do
================
1.  Start your application.
2.  Setup your devices connection to the iDigi server.
3.  Connect to the iDigi server.
4   User push buttons are used to send transition states/events to the iDigi
    server.
5.  View the contents of the event on the iDigi server.

BSP changes
=========== 
1.  Set BSP_IDIGI_ENABLED to TRUE in bsp_net.h in your platform directory.
2.  Set BSP_CLI_ENABLE to TRUE in bsp_cli.h	in your platform directory.
3.  Set BSP_CLI_TELNET_ENABLE to TRUE or set BSP_CLI_SERIAL_ENABLE to TRUE in
    your in your platform directory.  You can also set both to TRUE.  

Setup or login to your iDigi account
====================================
1.  Login to http://developer.idigi.com with your username and password if you
    previously setup an account, or click on "Are you a new user?" to setup a
    new account. 
2.  Click on the "Devices" selection under Management.
3.  Click on "+" from the Devices toolbar to add your device.
4.  Your device will not be discovered, so hit the "Add Manually" button.
5.  Enter the MAC Address of your device then click the "Add" button, then the
    "OK" button.
6.  If your device has both a Wireless and Ethernet interface, use the MAC
    Address of the Ethernet interface as the unique device identifier
    (Device Id).  Any information sent to the iDigi server from either
    interface will go to this Device Id on the iDigi server.
    
Hardware settings
=================
1.  If you are using the connectcore9p9215_a or the connectcorewi9p9215_a
    platforrm, you will need jumpers on J4 and J5 next to the user LEDs to
    successfully run this application. 

Start your application
======================
1.  Start your naiDigiPost application.

User buttons and Leds
=====================
1.  If your platform is the connectme, connectme9210 or the connectwime,
    your user buttons are located next to connector P3.  User button 1 is
    located closest to the edge of the board.  The leds are located next to
    connector P7.  User led1 has the number 2 to the right of the led, and
    user led2 has the number 3 to the right of the led.  Set all SW3 switches
    on the development board in the direction of the GPIO arrow.
2.  If your platform is the connectcore9c_a, connectcorewi9c_a,
    connectcore9p9215_a, connectcore9p9360_a or the connectcorewi9p9215_a,
    the user buttons and leds are cleary marked on the bottom left portion of
    the board.  The serial connectors on the left side of the board.
3.  If your platform is the ns9210_a, you only have access to one push button
    on the development board due to GPIO assignments not available on the
    ns9210_a platform.  The push button is the WAKE UP button.  You also do
    not have access to the USER LEDs for the same reason.  You will use the
    leds on the module.  When led 1 is green, led 2 is off.  When led 1 if
    off, led2 is orange.

Hit a user push buttons to send transition states/events to the iDigi server
============================================================================
1.  Hit user button 1, user led 1 will light up.  An event will be sent to the
    iDigi server.
2.  Hit user button 2, user led 2 will light up.  An event will be sent to the
    iDigi server.
3.  Logon to the developer.idigi.com, click the "Storage" button under
    Management.
4.  You should see the MAC address of your device under name.
5.  Double click on the MAC address, and you will see "led_stats_0.xml" and 
    "led_stats_1.xml".
6.  Double click on	"led_stats_0.xml", and you will the the event sent by your
    device in XML format.
