Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending node pipe using ethernet #32

Open
samehhady opened this issue Dec 20, 2013 · 1 comment
Open

Sending node pipe using ethernet #32

samehhady opened this issue Dec 20, 2013 · 1 comment

Comments

@samehhady
Copy link

Hello, I am using the RF24 library with ethercard, I am wondering if I can send the node pipe in a command to my base station instead of having the node pipe fixed in the code.

Something like: 192.168.0.10/?nodePipe=0xF0F0F0F0D2LL&message=hello

if(strstr((char *)Ethernet::buffer + pos, "GET /?nodePipe=") != 0) {
uint64_t nodePipe = (the node pipe);
radio.openWritingPipe(nodePipe);
radio.stopListening();
bool ok = radio.write( &message, sizeof(unsigned long) );
}

The Node will have the BS pipe added fixed in the code to respond back.

Is this possible?

@PeterCuriosity
Copy link

Hi,
We have received your e-mail and will get back to you
within 24h, should you be having an emergency pls
call me or sms your number to 082 22 11 00 5.

Peter Marynowski
Cell: 082 22 11 00 5
Web: www.killarneynet.co.za
Snr. Technician
Killarney Community Internet KIC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants