Minimum time between advertisement frames

Hi,

We developed a product based on the eddstone example, I have a question about the minimum Tx interval, 

Minimum interval = number of configured slots * APP_CONFIG_ADV_FRAME_SPACING_MS_MIN (100ms defined in the es_app_config.h), if we configured different number of slots, the minimum interval are different. 

For example, UID + TLM +URL configured, the minimum interval is 3 slots*100ms = 200ms.

5 slots configured, the minimum interval is 5 slots*100ms = 500ms.

Can I set APP_CONFIG_ADV_FRAME_SPACING_MS_MIN  to 20ms, because some customers require the Tx interval less than 100ms.

What minimum can it be set to ?  Thanks for your support.

#define APP_CONFIG_ADV_FRAME_SPACING_MS_MIN         20     //!< Minimum time between advertisement frames. Imposes limit on minumum accepted advertisement interval.

Best wishes,

Susan

Parents
  • I can try to ask internally if someone may know. Have you tried it and received any error messages?

    Kenneth

  • Hi Kenneth,

    Thank you very much.

    I tried the code below, didn't received error messages.

    Is there any risk I define  APP_CONFIG_ADV_FRAME_SPACING_MS_MIN to 10 ms ,

    MIN_CONN_ADV_INTERVAL and MIN_CONN_ADV_INTERVAL to 50ms ?

    Our application sometimes requires 5 slots to work. Thanks for your help.

    #define APP_CONFIG_ADV_FRAME_SPACING_MS_MIN                 10               //modify from 500 to 10   //!< Minimum time between advertisement frames. Imposes limit on minumum accepted advertisement interval.
    
    #ifdef NRF52_SERIES
    #define APP_CONFIG_ADV_FRAME_ETLM_SPACING_MS                10           //modify from 300 to 10   //!< The time that is reqired for preparing an eTLM slot. Imposes limit on minimum accepted advertisement interval.
    #else
    #error MISSING ETLM DELAY TIMING
    #endif
    
    
    #define MIN_CONN_ADV_INTERVAL                               50                         //!< Minimum advertising interval (in ms).
    #define MIN_NON_CONN_ADV_INTERVAL                           50                        //!< Minimum advertising interval for non-connectable advertisements (in ms).
    

    Best wishes,

    Susan

Reply
  • Hi Kenneth,

    Thank you very much.

    I tried the code below, didn't received error messages.

    Is there any risk I define  APP_CONFIG_ADV_FRAME_SPACING_MS_MIN to 10 ms ,

    MIN_CONN_ADV_INTERVAL and MIN_CONN_ADV_INTERVAL to 50ms ?

    Our application sometimes requires 5 slots to work. Thanks for your help.

    #define APP_CONFIG_ADV_FRAME_SPACING_MS_MIN                 10               //modify from 500 to 10   //!< Minimum time between advertisement frames. Imposes limit on minumum accepted advertisement interval.
    
    #ifdef NRF52_SERIES
    #define APP_CONFIG_ADV_FRAME_ETLM_SPACING_MS                10           //modify from 300 to 10   //!< The time that is reqired for preparing an eTLM slot. Imposes limit on minimum accepted advertisement interval.
    #else
    #error MISSING ETLM DELAY TIMING
    #endif
    
    
    #define MIN_CONN_ADV_INTERVAL                               50                         //!< Minimum advertising interval (in ms).
    #define MIN_NON_CONN_ADV_INTERVAL                           50                        //!< Minimum advertising interval for non-connectable advertisements (in ms).
    

    Best wishes,

    Susan

Children
Related