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

how to use multiple advertiser_packet_send() on nrfmesh

I run follow,

advertiser_t m_adv;

adv_packet_t m_packet[2];

m_packet[0] = advertiser_packet_alloc(&m_adv, 10);

advertiser_packet_send(&m_adv, &m_packet[0]);

m_packet[1] = advertiser_packet_alloc(&m_adv, 20);

advertiser_packet_send(&m_adv, &m_packet[1]);

Is work successful?

And,

How work scheduling m_packet[0] and m_packet[1]?

Parents
  • When some advertiser_packet_send() is called, I want to know how to behave.

    I try it. advertise interval is 100ms.

    first call is set to '5 count'. second call is set to '10 count'.

    first packet is send 5-advertises per 100ms(total 500ms)

    next,

    second packet is send 10-advertises per 100ms(total 1000ms)

    It'is correct?

Reply
  • When some advertiser_packet_send() is called, I want to know how to behave.

    I try it. advertise interval is 100ms.

    first call is set to '5 count'. second call is set to '10 count'.

    first packet is send 5-advertises per 100ms(total 500ms)

    next,

    second packet is send 10-advertises per 100ms(total 1000ms)

    It'is correct?

Children
No Data
Related