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

Multi-protocol, GZLL matching problem

Based on multi-protocol add private agreement GZLL matching procedure, no matching success;But separate GZLL agreement can be successful, not any way to solve this problem?

void gzll_app_start(void)
{
//    GAZELLE_ERROR_CODE_CHECK(nrf_gzll_init(NRF_GZLL_MODE_DEVICE));
//    GAZELLE_ERROR_CODE_CHECK(nrf_gzll_set_max_tx_attempts(MAX_TX_ATTEMPTS));
	  init_ok = true;
	
		unsigned char ch_table[] = {3, 23, 40, 61, 75};
		init_ok &= nrf_gzll_init(NRF_GZLL_MODE_DEVICE);
		init_ok &= nrf_gzll_set_max_tx_attempts(20);
		init_ok &= nrf_gzll_set_device_channel_selection_policy(NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL);
		init_ok &= nrf_gzll_set_timeslot_period(540);
		init_ok &=nrf_gzll_set_timeslots_per_channel(2);
		init_ok &= nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync(2);
		init_ok &= nrf_gzll_set_sync_lifetime(0); 
		init_ok &=  nrf_gzll_set_datarate(NRF_GZLL_DATARATE_2MBIT);
		init_ok &= nrf_gzll_set_channel_table(ch_table, sizeof(ch_table));	
    GAZELLE_ERROR_CODE_CHECK(nrf_gzll_enable());
		
		
		while(!system_addr_received)
    {
      system_addr_received = gzp_address_req_send();
 
      nrf_delay_ms(10);		
    }
		
		    gzp_init();

    init_ok &= nrf_gzll_enable();
	//	nrf_gzp_disable_gzll();
		nrf_gzp_disable_gzll();

		init_ok &= nrf_gzll_set_max_tx_attempts(3);
		init_ok &= nrf_gzll_set_device_channel_selection_policy(NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT);
		init_ok &= nrf_gzll_set_timeslot_period(750);
		init_ok &= nrf_gzll_set_sync_lifetime(100); 
		nrf_gzll_set_tx_power(NRF_GZLL_TX_POWER_4_DBM);
		nrf_gzll_enable();
Related