This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

one connect event can send several notification?

Other Parts Discussed in Thread: CC2541

one connect event can send several notification?

The reason i raise this issue is that ,i will transmit large amounts of data between IPHONE and CC2541

IOS provides for the connection parameters as follows:

             Interval Max * (Slave Latency + 1) ≤ 2 seconds
             Interval Min ≥ 20 ms
             Interval Min + 20 ms ≤ Interval Max
             Slave Latency ≤ 4
             connSupervisionTimeout ≤ 6 seconds
             Interval Max * (Slave Latency + 1) * 3 < connSupervisionTimeout

this mean i can only set the min  connect event interval is 20 ms,if each connect event can only  send one notification,

so i will transmit 20k byte over 20 sec,it is too long time

i found the wiki “http://processors.wiki.ti.com/index.php/CC2540_Data_Throughput”show that one connect event send 4 notification

but  I actually tested it one connect event send one notification ande one connectsend four  notification ,the times are almost equal

so i want to know one connect event can send how max notification,and one connect send Multi-notification whether it can shorten the transmission time?

thank you 

  • There is no problem in sending more than one notification in a connection event with your setup.

     Try the code in the link you posted, it works for me and it works better as the connection interval is increased from 6 (7.5ms) to higher values.

  • HI kazola

     I want to know how max notification one connect event can send?

    and because the device worked with IPONE,so the Interval Min ≥ 20 ms 

    whether the interval 6(7ms) is depending on the interval 10 ms(connect event interval)?

     if i setup the connect event interval ,will i increase the notification  interval near to connect event interval ?


     

  • I'm sorry I do not understand several of the things you ask.

    For example, if your notifications are less than 20 bytes, you will be able to send more. There was somebody seeing 6 notifications in a connection event but they were less than 20 bytes. Test it.

    I do not have an iPhone so if your questions are related to Apple things, ask the Apple guys. This is not an Apple forum, even if it seems so lately ;)

    I do not understand the 7ms and the 10ms thing.

    Notifications are done within connection invervals, there is no such thing as notification interval, as far as I know. If you mean the amount of time between 2 notifications within the same connection interval, you can see it by employing the sniffer :) 

    Have a nice day!

  • HI kazola

    the 7ms and the 10 ms thing is that :

    In the example on the wiki,the case is each 7ms send 4 notification under the connect event interval is 10ms.

    but  communicate with the IPHONE ,the interval is least 20ms. In addition to the connect event interval other are the same,the result is 12 sec not 3.5s

    i have tried that add the notify form 4 times to 7 times,but these two results are almost equal.

    and I have see it by employing the sniffer,but it  is not like I guess.

    In one connect event ,the times of the TX  is not regular, it looks very random.

    so  I want to know, once the the connect event can send several notification?

  • With the CC254x YES.

    With the iPhone, I do not know.