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

use Gazell to open/close pipe

Hi everyone: use Gazell to builder multi-node . so i have to re-enable pipe number on connect state.

my Fragment code about "open/close pipe". but it not work correctly.


nrf_gzll_disable();
init_ok = nrf_gzll_init(NRF_GZLL_MODE_HOST); 			
(void)nrf_gzll_set_rx_pipes_enabled(nrf_gzll_get_rx_pipes_enabled() | (1 << data_payload[0]));
ack_payload[0]=data_payload[0];
push_ok = nrf_gzll_add_packet_to_tx_fifo(pipe, ack_payload, TX_PAYLOAD_LENGTH);
enable_ok = nrf_gzll_enable();	

Related