You can find working code for Arduino at https://github.com/mangOH/ArduinoBridge.
Here are the steps:
a. Make sure you build system on that is available on https://github.com/mangOH/ using the steps listed https://github.com/mangOH/manifests
The three critical files that will be installed on the WP module for Arduino are
[running] arduinoBridge -> This talks to dataRouter and sketch running on WP
[running] dataRouter-> This is the data aggregation/sorting app
[running] mqttClient -> mqtt used for data upload to Air Vantage
b. Download the sketch to Atmega chipset using CN330 . Sketch is located in the example folder here:
In the above sketch, we have a number of sensors pushing their data to WP and AV.
The library folder includes the sierra wireless bridge library : (https://github.com/mangOH/ArduinoBridge/tree/master/arduino)
c. If you want to connect to AV, the application model is located in the mqttapplicationmodel folder.
There are couple of hardware notes that you need to be aware of using Arduino usage. I will post that later.