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

Any chance to get support for multiple advertising messages?

Hello,

I really need the ability to switch between different advertising messages. Could you please (please!) add a callback after an advertising message has been sent or allow different advertising messages to be queued? I want e.g. two advertising messages A and B to be sent like this:

A B A B A B

The radio notification handler is called far too often and cannot distinguish between connections, advertising, etc,..... I could use a timer, but this will run completely asynchronous to the Softdevice scheduler. I want to have a clean solution for this problem.

Thanks, Marius

Parents
  • I second this request. From the softdevice point of view this requires multiple buffers and a pointer that iterates over these. This seems like quite a trivial change and for the user it will not have any limitations on timings, etc.

    sd_ble_gap_adv_data_set(uint8_t const *const  	p_data,
    	uint8_t  	dlen,
    	uint8_t const *const  	p_sr_data,
    	uint8_t  	srdlen 
    ) 
    

    Would become something like:

    sd_ble_gap_adv_data_set(uint8_t const *const  	p_data,
    	uint8_t  	dlen,
    	uint8_t const *const  	p_sr_data,
    	uint8_t  	srdlen, 
    	uint8_t  	buf_id 
    ) 
    

    From a marketing point of view it's cool that you can tell that you inherently support multiplexing (the three formats of) Eddystone with iBeacon and AltBeacon.

Reply
  • I second this request. From the softdevice point of view this requires multiple buffers and a pointer that iterates over these. This seems like quite a trivial change and for the user it will not have any limitations on timings, etc.

    sd_ble_gap_adv_data_set(uint8_t const *const  	p_data,
    	uint8_t  	dlen,
    	uint8_t const *const  	p_sr_data,
    	uint8_t  	srdlen 
    ) 
    

    Would become something like:

    sd_ble_gap_adv_data_set(uint8_t const *const  	p_data,
    	uint8_t  	dlen,
    	uint8_t const *const  	p_sr_data,
    	uint8_t  	srdlen, 
    	uint8_t  	buf_id 
    ) 
    

    From a marketing point of view it's cool that you can tell that you inherently support multiplexing (the three formats of) Eddystone with iBeacon and AltBeacon.

Children
No Data
Related