     Serial.print("setup radio...");
   #endif
   
-  radio.initialize(FREQUENCY,NODEID,NETWORKID);
+  radio.initialize(FREQUENCY, config.nodeId, config.networkId);
   radio.setHighPower();
   delay(1000);
   

  #if DEBUG
    Serial.print("Broadcasting report to gateway...");
  #endif
  if (radio.sendWithRetry(GATEWAYID, outbound.raw, MSG_LENGTH)) {
    #if DEBUG
      Serial.println("ACK");
    #endif

RFM69 radio;
Message inbound, outbound;

struct {
  byte nodeId;
  byte networkId;
  byte gatewayId;
} config;


//-----------------------------------------------------------------------------
// Initialization
