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

ATT_MTU for 1 client 2 server

Hi eveyone!!

Im new to BLE, I have tested the ATT_MTU example and it has worked perfectly but I'd like to implement it for one client and two servers. I've already made a try modifying the program for 2 servers but it didn't work fine (it gets stuck in the scanning phase). I'd appreciate your help very much.

Parents
  • Hi

    What modifications have you made exactly, and what SDK version and nRF52 device are you using? Are you using a Development kit or a custom board? Can you also provide some details as to how it is stuck in the scanning phase? Have you tried debugging the application to see if you can read an error code from the application?

    The first thing that comes to mind is that the ATT_MTU example has set the number of links to 1 peripheral and one central link. This can be edited by changing the NRF_SDH_BLE_PERIPHERAL_LINK_COUNTNRF_SDH_BLE_CENTRAL_LINK_COUNT and NRF_SDH_BLE_TOTAL_LINK_COUNT defines in the sdk_config.h header file of your project. Please note that the TOTAL_LINK_COUNT should be equal to the number of PERIPHERAL and CENTRAL link count added together. 

    Best regards,
    Simon
Reply
  • Hi

    What modifications have you made exactly, and what SDK version and nRF52 device are you using? Are you using a Development kit or a custom board? Can you also provide some details as to how it is stuck in the scanning phase? Have you tried debugging the application to see if you can read an error code from the application?

    The first thing that comes to mind is that the ATT_MTU example has set the number of links to 1 peripheral and one central link. This can be edited by changing the NRF_SDH_BLE_PERIPHERAL_LINK_COUNTNRF_SDH_BLE_CENTRAL_LINK_COUNT and NRF_SDH_BLE_TOTAL_LINK_COUNT defines in the sdk_config.h header file of your project. Please note that the TOTAL_LINK_COUNT should be equal to the number of PERIPHERAL and CENTRAL link count added together. 

    Best regards,
    Simon
Children
Related