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.

No join response for second ED (simpliciti, cc2530)

Other Parts Discussed in Thread: SIMPLICITI

Hello together,

I'm not able to join to an AP with two EDs. It does not matter which ED joins first, it's always the second ED that tries to join but fails. I am completely desperate because I even tried to copy paste as much as possible from the examples, but had the same result as with my self-written code. Here's what I sniffed:

Please also note, that the parameter for the AP is: -DNUM_CONNECTIONS=8

Are there other parameters that could be wrong and lead to that result? I've already tried a lot but it seems that simpliciti is not as simple as I thought :/

  • I think I might have found the solution. I've played around with some parameters and now it works... But i'd be much more happy if I know why :)

    Is it true that I need to set this parameter to 2 or more, when I want to join with more than 1 ED?

    -DNUM_STORE_AND_FWD_CLIENTS=2

    It might be due to the fact that I use polling at the EDs to get the response of the Master. What do you think?

  • Hi Hans,

    i am interested in the "Management" packet which is sent after 1st ED linked with the AP and before the 2nd ED sends the join request.

    However, the port hand device info headers are not shown in your capture. Could you provide me that? In the "Select fields" tab of the SmartRF Packet Sniffer, select all fields of the "SimpliciTI Header" column.

  • Hi Leo,

    thanks for having a look at it. Here is the pic you wanted to have a look at:

    But the problem only appears, when i set NUM_STORE_AND_FWD_CLIENTS to 1. So i guess the AP needs a higher value, so he can store the data which the ED wants to poll?

  • Hello.

    That macro must be equal to or greater than the number of polling devices. If both EDs poll then the macro must be at least 2. The value is used to allocate RAM in the AP to store messages directed to a polling client.

    If both EDs poll then had the debugger been used to trace the AP response to the Join frame you would have seen it fail in the static function smpl_send_join_reply() in join.c where the macro is used. You get one polling device with the default value of the macro but not more. If no devices poll this macro can be set to 0 though there is no compelling reason to do this.

    Hope this helps.

    lfriedman