This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Add Hoc communication between NRF24L01+ devices

I notice in the datasheet for the NRF24L01+ that the receive address needs to be programmed into the Receiver.

Our application receives data from another channel and supplies the address of the destination of the current packet. However, the unit receiving this packet cannot determine which device sent the packet until it has been received, we cannot program the receiver in advance.

Does this mean the receiver cannot receive add-hoc packets from unknown transmitters, or does it mean they can receive and deliver the payload but cannot send back the ack? (We were looking at using enhanced Shock Burst)

regards

David

sales@orbitcoms.com

Parents
  • You have to know the address that the transmitter will send on. There's no promiscuous mode that enable you to read out bit by bit on the nRF24L01+. So if you program all the transmitter to initially use one know address, you can use this to set up the connection and then generate a random address to use from there on out.

  • T The Transmitters will only send a single packet of 5 bytes of data to the receiver and get ack then sleep. I do not require a session, just to be able to send the 5 bytes. The Transmitters will always have the address of the receivers before they send. What I am saying is that only 1 transmitter will be waiting for ack from a specific receiver at any time. If all transmitters have the same receive address then the receiver can always ack the transmitter sending the 5 bytes at that time.

Reply
  • T The Transmitters will only send a single packet of 5 bytes of data to the receiver and get ack then sleep. I do not require a session, just to be able to send the 5 bytes. The Transmitters will always have the address of the receivers before they send. What I am saying is that only 1 transmitter will be waiting for ack from a specific receiver at any time. If all transmitters have the same receive address then the receiver can always ack the transmitter sending the 5 bytes at that time.

Children
No Data