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.

CC2640 How to achieve concurrent master/slave operation?

Other Parts Discussed in Thread: CC2640

Hi,

I want achieve concurrent master/slave operation in the project SimpleBLEcentral.My steps are as follows

1,Modify the protocol stack project library.'CC2640_BLE_peri_cent_HF_CF_FlashROM.a' and 'CC2640_BLE_HCI_TL_Full.a'.

2,Modify the file 'buildConfig.opt' as follow

3,Modify the memory space as follow.
4,Migration simpleBLEPeripheral project files,as follow
5,Compile the APP and Stack successfully.
When I simulated,will appear the following problem.
I don't know while stop here.
According to the BLE stack 2.0.0 description :Advanced topology including concurrent master/slave operation and support for up to 8 connections.My needs can be realized.But now I do not know how to achieve, whether it can provide an example?

  • Picture as follow 

    2,

    3,

    4,

    5,

    I don,t why stop here.

  • Hi,
    I recommend setting the HOST_CONFIG and letting the LibSearch.exe tool select the correct library.
    Since you are using an application processor, you should use HCI_TL_NONE. Is there a reason for using TL_FULL? This implies that you will send HCI cmds from external, such as done for Host Test.

    Also, did you do a full rebuild of both stack & app projects after changing the ICALL_STACK0/RAM0 addresses?

    We'll be updating our wiki soon with examples on how to do concurrent master/slave connections.

    Best wishes
  • Hi,

    Thanks for your reply.According to your advice,I modified the HOST_CONFIG and use HCI_TL_NONE in the project SimpleBLECentral.I rebuild of both stack&app.It's running very well,but I just get host information and contral host.

    Now I want get master&slave information and contral them,so I copy the project simpleBLEPeripheral some file to my project,It's rebuild OK,when I running ,it stop here"__exit:",I don't know why?

    so first I want know how to achieve concurrent master/slave operation in the app,and master and slave can communication in the app,such as from the slave information sent by the master,when your updating wiki examples,this problem can be solved?

    second I want know why program stop there.

    My English is not very good.Description is not clear in some places,please forgive me.

    thank you!