Searched refs:comm (Results 1 – 4 of 4) sorted by relevance
45 upm_nrf24l01.NRF24L01 comm = new upm_nrf24l01.NRF24L01((short) 7, (short) 8); in main() local47 Callback callback = new ReceiverCallback(comm); in main()49 comm.setSourceAddress(local_address); in main()50 comm.setDestinationAddress(broadcast_address); in main()51 comm.setPayload((short) upm_nrf24l01.javaupm_nrf24l01Constants.MAX_BUFFER); in main()52 comm.configure(); in main()53 comm.setSpeedRate(upm_nrf24l01.speed_rate_t.NRF_250KBPS); in main()54 comm.setChannel((short) 99); in main()55 comm.setDataReceivedHandler(callback); in main()58 comm.pollListener(); in main()[all …]
46 upm_nrf24l01.NRF24L01 comm = new upm_nrf24l01.NRF24L01((short) 7, (short) 8); in main() local50 comm.setSourceAddress(srcAddress); in main()51 comm.setDestinationAddress(destAddress); in main()52 comm.setPayload((short) upm_nrf24l01.javaupm_nrf24l01Constants.MAX_BUFFER); in main()53 comm.setChannel((short) 99); in main()54 comm.configure(); in main()55 comm.setDataReceivedHandler(callback); in main()58 comm.send(tx_buffer); in main()
32 upm::NRF24L01 *comm = NULL; variable49 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()[all …]
32 upm::NRF24L01 *comm = NULL; variable55 comm = new upm::NRF24L01(7, 8); in main()56 comm->setSourceAddress ((uint8_t *) srcAddress); in main()57 comm->setDestinationAddress ((uint8_t *) destAddress); in main()58 comm->setPayload (MAX_BUFFER); in main()59 comm->setChannel (99); in main()60 comm->configure (); in main()61 comm->setDataReceivedHandler (nrf_handler); in main()66 memcpy (comm->m_txBuffer, &dummyData, sizeof (dummyData)); in main()67 comm->send (); in main()[all …]