|
@@ -31,8 +31,8 @@
|
31
|
31
|
int running = 0;
|
32
|
32
|
upm::NRF24L01 *comm = NULL;
|
33
|
33
|
|
34
|
|
-uint8_t destAddress[5] = {0x01, 0x01, 0x01, 0x01, 0x02};
|
35
|
|
-uint8_t srcAddress[5] = {0x01, 0x01, 0x01, 0x01, 0x01};
|
|
34
|
+uint8_t destAddress[5] = {0x01, 0x01, 0x01, 0x01, 0x01};
|
|
35
|
+uint8_t srcAddress[5] = {0x01, 0x01, 0x01, 0x01, 0x02};
|
36
|
36
|
|
37
|
37
|
void
|
38
|
38
|
sig_handler(int signo)
|
|
@@ -56,7 +56,7 @@ main(int argc, char **argv)
|
56
|
56
|
comm->setSourceAddress ((uint8_t *) srcAddress);
|
57
|
57
|
comm->setDestinationAddress ((uint8_t *) destAddress);
|
58
|
58
|
comm->setPayload (MAX_BUFFER);
|
59
|
|
- // comm->setChannel (99);
|
|
59
|
+ comm->setChannel (99);
|
60
|
60
|
comm->configure ();
|
61
|
61
|
comm->dataRecievedHandler = nrf_handler;
|
62
|
62
|
|