Hello,
I read in this forum that to make the CC2540USB dongle acting as a slave, we have to follow these steps :
"
1) Program the CC2540USB Dongle with the HostTestRelease using the "CC2540USB Slave" Configuration
2) Detach/Attach CC2540 Dongle
3) Open BTool, Set the Port corresponding to the one your CC2540 Dongle is populating.
4) Under Adv. Commands, GAP you will find GAP_DeviceInit, set profileRole to Peripheral and hit Send Command
5) Still in Adv. Commands, GAP you will find GAP_UpdateAdvertisingData, set adType toGAPADVERT_ADVERTISEMENT_DATA and set dataLen to 3 and hit Send Command.
6) Still in Adv. Commands, GAP you will find GAP_MakeDiscoverable, make sure that you see the available options for it (no need to make changes) and hit Send Command.
That works, just tried it. You will need to set 4-5 correct or you will get the "Not Setup Properly To Perform That Task" status message. "
the problem is with the BLE Stack 1.2, when I open the "HostTestRelease" project with IAR, I have just : CC2540USB - CC2540EM - CC2540EM SBL - CC2540USB, I don't have "CC2540USB Slave", so what can I do to make my CC2540USB acting as a slave ??
Regards.