Problem in NRF24L01 Node ADDRESSING in DECIMAL Format up to 5 Digit , Help

Hii all ,
i need some Help in ADDRESSING of NRF24L01 Nodes .

i'm Sending a data from ( NRF24L01 transmitter) to ( NRF24L01 Receiver ) using ARDUINO Uno .
but i want to Make its Nodes ADDRESS in DECIMAL format of FIVE Digit .
like - ( this_Node = 12345 , Other_Node = 31299 ) .

but the problem is.... , in Decimal format addressing , Data is unable to Send in my code ( means - i'm not Receiving Data at the Receiver ) .
But , if i'm making Address in Binary or Octal format up to Two Digit (Like - this_Node = 01 , Other_Node = 04 ) , Then CODE is Working and Data get Received.

Any How I want to make 5 Digit DECIMAL ADDRESS for Communication .
i think there is Addressing problem in my Code , When i want to put Address in Decimal format .
please Help me .

My CODE for TRANSMITTER is

#include <RF24Network.h>
#include <RF24.h>
#include <SPI.h>
#define button 2

RF24 radio(10,9);    
int buttonState = 0;
RF24Network network(radio); 
const uint16_t this_node = 12345; 
const uint16_t other_node = 99999; 
void setup()
{
  Serial.begin(500000);
  SPI.begin();
  radio.begin();
  network.begin(90,this_node); 
  pinMode(button,INPUT);
}

void loop(){
  network.update();
  //---------TRANSMITTING----------//
  
    RF24NetworkHeader header(other_node,OCT); 
    unsigned long buttonState = 311; 
    bool ok = network.write(header,&buttonState, sizeof(buttonState)); 
    Serial.println(buttonState);
 
}

My CODE for RECEIVER is

#include <RF24Network.h>
#include <RF24.h>
#include <SPI.h>
#define led 3
#define led2 4
RF24 radio(10,9);                  
byte guest=0;
const int buttonState1 = 311;
RF24Network network(radio);        
const uint16_t this_node = 99999;    
const uint16_t other_node = 12345;          

void setup()
{
  Serial.begin(500000);
  SPI.begin();
  radio.begin();
  network.begin(90,this_node);
  pinMode(led,OUTPUT);
  pinMode(led2,OUTPUT);
}

void loop(){
  network.update();
  //---------RECEIVING 1 ----------//
  while( network.available() ) { 
   
    RF24NetworkHeader header;
    unsigned long buttonState;
    network.read(header,&buttonState, sizeof(buttonState)); 
    Serial.println(buttonState);  
    if(buttonState1==buttonState)
    {
      digitalWrite(led,HIGH);
      digitalWrite(led2,LOW); 
    }
    else
    {
      digitalWrite(led2,HIGH); 
      digitalWrite(led,LOW);                   
    }
  }
  
}

Any Help will be too much Appreciated , Thanks.

TRANSMITTER_number_communication.ino (622 Bytes)

RECEIVER_number_communication.ino (926 Bytes)

An address is 5 bytes, not a 5-digit decimal number.

Have a look at the addressing system in this Simple nRF24L01+ Tutorial

...R

But , i'm using Network library in place of , nRF24L01.h library .
for Network library Address Size is not going more than One Byte in My Code . I'm unable to correct my code .

So, if I'm Network library , what will be the Solution for my problem .
I'm Requesting you to please DEBUG My CODE .

I have never used the Network Library. What do you want to do? Do you really need it?

Have you got wireless communication working properly without the Network Library - if nor, then is where you need to start.

...R

yaaaah,
i have to use Network library Only ( it is necessary) .

i really need to solve this problem with using Network library .

please Help me any Way , i really need it .

shubham__jaiswal:
i have to use Network library Only ( it is necessary) .

Perhaps you would be kind enough to tell us why you have to use it.

...R