Lines Matching refs:comm
32 upm::NRF24L01 *comm = NULL; variable
49 std::cout << "Reciever :: " << *((uint32_t *)&(comm->m_rxBuffer[0])) << std::endl; in nrf_handler()
56 comm = new upm::NRF24L01(7, 8); in main()
57 comm->setSourceAddress ((uint8_t *) local_address); in main()
58 comm->setDestinationAddress ((uint8_t *) broadcast_address); in main()
59 comm->setPayload (MAX_BUFFER); in main()
60 comm->configure (); in main()
61 comm->setSpeedRate (upm::NRF_250KBPS); in main()
62 comm->setChannel (99); in main()
63 comm->setDataReceivedHandler (nrf_handler); in main()
68 comm->pollListener (); in main()
73 delete comm; in main()