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.

Use CC2540 to build USB master dongle work with several CC2540 Keyfob slaves

Other Parts Discussed in Thread: CC2540

Hello All,

I am new developer on BLE cc2540 dongle. I want to build a software that USB master dongle could communicate with several CC2540 Keyfob slaves

So I need some help from you all on the following points:

1) Max number of slaves could support 3 only? if yes, how can I build a master that can communicate with more than 3 salves when they are in need to communicate with each other?

2) Should I start with sample code SimpleBLECentral or other that suitable to my purpose?

3) Have any details software guide that explain the program steps by steps? I have already studied swru271f.pdf, but I still have no ideas how to and where to start my programming work.

4) if I use CC2540 Dongle to run in debug mode, have any suggestions that I can debug it easily?

Please help to provide me details information as many as possible in order to help us to step in our developing stage.

Thanks you all in advance

Bonnie

  • Hello, 

    I would start with USB dongle(hostTestRelase) and Btool. This will give you log of the messages necessary to connect to multiple slaves. these are same messages which you can drive dongle with from PC application.

    There is not enough RAM on usb dongle to handle more than 3 slaves.  One option would be to connect  transfer data, and disconnect - which can be done is quickly , 200ms.

    Debug mode works with dongle. If you are having trouble setting breakpoints, try putting compiler optimization setting to "none".

    BR,

    -Greg