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

s130-0.5.0 disconnect when central fail to connect another central

there are 3 modules to test(A1,B1,C1)


*2. A1 connect with B1(B1 is master, A1 is slave), C1 is power off, B1 as slave attempt to connect C1 with BLE_GAP_ADV_TYPE_ADV_IND(Connectable undirected), get BLE_GAP_EVT_TIMEOUT, src is BLE_GAP_TIMEOUT_SRC_ADVERTISING, connection between A1 and B1 still alive

*3. A1 connect with B1(B1 is master, A1 is slave), C1 is power off, B1 as slave attempt to connect C1 with BLE_GAP_ADV_TYPE_ADV_DIRECT_IND(Connectable directed), get BLE_GAP_EVT_TIMEOUT, src is BLE_GAP_TIMEOUT_SRC_ADVERTISING, but connection between A1 and B1 is terminated

*4. A1 connect with B1(B1 is master, A1 is slave), C1 is power on, B1 as slave can connect C1 with BLE_GAP_ADV_TYPE_ADV_IND or BLE_GAP_ADV_TYPE_ADV_DIRECT_IND, after this, connection between A1 and B1 still alive

after use s130-1.0.0


but issue (2.3.4) remained

thanks.

Parents
  • Issue 1 seems to have nothing to do with 2, 3 and 4. Please add this as a separate question if you are unsure about it.

    I'm not sure I understand exactly what the issue with 2, 3 and 4 is, since you haven't asked any specific questions. But to me it seems scenario 2 and 4 is expected behaviour, but 3 is not? Have you tried to sniff the connection between A1 and B1 to see what is happening? What kind of connection parameters are you using between A1 and B1? Connection interval and connection supervision timeout?

Reply
  • Issue 1 seems to have nothing to do with 2, 3 and 4. Please add this as a separate question if you are unsure about it.

    I'm not sure I understand exactly what the issue with 2, 3 and 4 is, since you haven't asked any specific questions. But to me it seems scenario 2 and 4 is expected behaviour, but 3 is not? Have you tried to sniff the connection between A1 and B1 to see what is happening? What kind of connection parameters are you using between A1 and B1? Connection interval and connection supervision timeout?

Children
No Data
Related