 
 #define EEPROM_PHY_ADDR_START 0
 #define RF24_PAYLOAD 32
-
+#define BLOCK_S 0x40
+#define BLOCK_R 0x80
+#define BLOCK_I 0xC0
+#define BLOCK_S_RESQUEST              0x00
+#define BLOCK_S_REPLY                 0x01
+#define BLOCK_S_CMD_CONNECT           0x00
+#define BLOCK_S_CMD_DISCONNECT        0x01
+#define BLOCK_S_CMD_WAKEUP            0x02
+#define BLOCK_S_CMD_SYNC              0x03
+#define BLOCK_S_CMD_LINK              0x04
+#define BLOCK_S_CMD_CELL_PARAM        0x05
 RF24 radio(7,8);
 byte LocalPhyAddress[5];
 byte RemotePhyAddress[5];

  LocalPhyAddress[4] = EEPROM.read(EEPROM_PHY_ADDR_START+4);
  memcpy( RemotePhyAddress,LocalPhyAddress,5);
  RemotePhyAddress[0] = 0x00;
 
  radio.openWritingPipe(RemotePhyAddress);
  radio.openReadingPipe(0,BroadCastAddress);
  radio.openReadingPipe(1,LocalPhyAddress);
  #if 0
  radio.begin();
  #endif

      {                                   
        radio.read( data, RF24_PAYLOAD);             // Get the payload
      }
      radio.stopListening();                                        // First, stop listening so we can talk   
      BlockPorcess(data,data);
      radio.write( data, RF24_PAYLOAD);              // Send the final one back.      
      radio.startListening();                                       // Now, resume listening so we catch the next packets.     
   }
