   if ( network.available() ) {
     network_busy = true;
     my_millis = millis(); 
-    RF24NetworkHeader header;    
-    network.read(header,&payload,sizeof(payload));
-    switch (header.type) {
+    network.read(rxheader,&payload,sizeof(payload));
+    switch (rxheader.type) {
       case 1:
         txheader.type=1;
         //****

}

void loop(void) {
//  digitalWrite(STATUSLED,STATUSLED_ON);
  digitalWrite(STATUSLED,HIGH); 
//  Sleepy::loseSomeTime(10);      // Wait 100ms 
  if (network.update()) {
    network_busy = true;
    my_millis = millis(); 

// Define a valid radiochannel here
#define RADIOCHANNEL 90
// This node: Use octal numbers starting with "0": "041" is child 4 of node 1
#define NODE 014
// The CE Pin of the Radio module
#define RADIO_CE_PIN 10 
// The CS Pin of the Radio module
#define RADIO_CSN_PIN 9
// The pin of the statusled
#define STATUSLED 7
#define STATUSLED_ON HIGH
#define STATUSLED_OFF LOW

// The outputpin for batterycontrol for the voltagedivider
#define VMESS_OUT 5
// Zhe inputpin for batterycontrol
#define VMESS_IN A0
// the divider to get the real voltage from ADC
#define VOLTAGEDIVIDER 1267

// ------ End of configuration part ------------

