This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Exclusion List problem for Shared Slave Channel

Hi,

I am use Exclusion list for my one application. Exlusion list work is ok,but i am facing problem for how clear Exclusion list ?

My Controller: nRF514222 Rev 3, Stack: S310 Version: 3.0.0

I am Follow below step for Slave Shared channel

Step: Assign Channel,Set Channel Period and Open channel.

/* Set Network number and network Key */
/* Set Channel Number */
err_code = sd_ant_channel_assign 
/* Set Channel ID */
err_code = sd_ant_channel_id_set 
/* Set Channel Radio Frequency */
err_code = sd_ant_channel_radio_freq_set
/* Set Channel Period */
err_code = sd_ant_channel_period_set
/* Set RX Search Timeout */
err_code = sd_ant_channel_rx_search_timeout_set
/* Set RX Search Timeout */
err_code = sd_ant_channel_low_priority_rx_search_timeout_set
/* Open Chanel*/

Step: Add 1

uint8_t data[4];
    data[0] = 0x01;                       
    data[1] = 0x00;
    data[2] = 0;         //dvice type
    data[3] = 0x02;     //transmission type 
    err_code = sd_ant_id_list_config(0,1,1);//here 1 is exclude type and 1 is how many block you want to add exclusion list 
	Get NRF_SUCCESS = 0 response
	
    err_code = sd_ant_id_list_add(0,&data[0],0);
	Get NRF_SUCCESS = 0 response

Step: Add 2

uint8_t data[4];
    data[0] = 0x02;                       
    data[1] = 0x00;
    data[2] = 0;         //dvice type
    data[3] = 0x02;     //transmission type 
    err_code = sd_ant_id_list_config(0,2,1);//here 1 is exclude type and 2 is how many block you want to add exclusion list 
	Get NRF_SUCCESS = 0 response
	
    err_code = sd_ant_id_list_add(0,&data[0],1);
    Get NRF_SUCCESS = 0 response

Step: Add 3

uint8_t data[4];
    data[0] = 0x03;                       
    data[1] = 0x00;
    data[2] = 0;         //dvice type
    data[3] = 0x02;     //transmission type 
    
	err_code = sd_ant_id_list_config(0,3,1);//here 1 is exclude type and 3 is how many block you want to add exclusion list 
	Get NRF_SUCCESS = 0 response
	
	err_code = sd_ant_id_list_add(0,&data[0],2);
    Get NRF_SUCCESS = 0 response

Step: Add 4

uint8_t data[4];
    data[0] = 0x04;                       
    data[1] = 0x00;
    data[2] = 0;        //dvice type
    data[3] = 0x02;     //transmission type 
    
	err_code = sd_ant_id_list_config(0,4,1);//here 1 is exclude type and 4 is how many block you want to add exclusion list 
	Get NRF_SUCCESS = 0 response
	
    err_code = sd_ant_id_list_add(0,&data[0],3);
    Get NRF_SUCCESS = 0 response		
	

above is OK and i am not getting any data from above channel ID.

After Channel close event time i do below step:

	    err_code = sd_ant_channel_unassign(gst_SlaveCh.gst_ChData.mu8_ChannelNo);
		Get NRF_SUCCESS = 0 response	
		
		err_code = sd_ant_id_list_config(0,0,1);//here 1 is exclude type and 0 is how many block you want to add exclusion list 
		Get NRF_SUCCESS = 0 response
		
        sd_ant_stack_reset();
		

After do above step, I am do below step for reopen channel

/* Set Network number and network Key */
/* Set Channel Number */
err_code = sd_ant_channel_assign 
/* Set Channel ID */
err_code = sd_ant_channel_id_set 
/* Set Channel Radio Frequency */
err_code = sd_ant_channel_radio_freq_set
/* Set Channel Period */
err_code = sd_ant_channel_period_set
/* Set RX Search Timeout */
err_code = sd_ant_channel_rx_search_timeout_set
/* Set RX Search Timeout */
err_code = sd_ant_channel_low_priority_rx_search_timeout_set
/* Open Chanel*/

but i am not get any data from above channel id after channel open(Not sync with any above master device)

What is reason for issue for clear Exclusion list?

Parents Reply Children
No Data
Related