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.

CC1350STK: Create a BLE Network with 4xPeripherals(CC1350STK) and 1 Central(CC2650)

Part Number: CC1350STK
Other Parts Discussed in Thread: CC2650, CC1350

Hi,

I want to establish a Start topology network which consists of 4 x Peripherals(CC1350STK) sending continiously accelerometer data (every 100ms) to the central node(CC2650 launchpad) which is connected via USB to the PC. Important is that the central should be able to connect simultaneously to the four peripherals so that they can send the accelerometer data via Bluetooth.I flashed the firmware of HosTest App on the CC2650 launchpad and I was able to connect 1xCC1350 Sensortag with the central (CC2650) via BLE-Device Monitor and to receive the data. Then I wanted to add more Peripherals, up to 4 but with the HostTest firmware on the Central, but it is not possbile to have multiple connections simultaneously with the peripherals. So I wrote to TI support and they proposed to use the firmware multirole for the CC2650 launchpad, so that the central node is able to have mulitple connections at the same time, in combination with putty or BLE-Device-Monitor or BTool. I tried it ou but I was only having a connection with putty and the problem is that Iam not able to receive the sensor data from the peripherals. Do you know how I can create such a network where 4 periherals can be connected to a central and are capable to send sensor data, so that I can display it on the screen? I gave a look but the information that I found on Ti is not complete.

  • Hi LBL,

    Can you clarify what you have already tried? You mentioned that you tried the multirole project but I am confused about whether or not you were able to maintain 4 connections with the peripherals. For information on using the multirole project to create connections, you can view the readme on the TI SimpleLink Github page: github.com/.../multi_role.md

    After that, you will need to modify multirole to request data from the peripherals by either performing a GATT Read or enabling GATT notifications from the Peripheral device.

    Have you completed SimpleLink Academy? I would recommend reviewing the Custom Profile lab to help you get started with the GATT commands.
    software-dl.ti.com/.../overview.html
  • HI Rachel, I tried the mulitrole without big changes. I gave a look on github and read the doucmentation but it was not so helpful to understand how I need to change the multirole project , so that the central node is capbale to connect simultaneously to more peripherals and to receive atthe same time the sensor data of them. Do you have may be a detailed doucmentation how to do that?

    I was able to detect the devices applying the following line : 

     #define DEFAULT_DEV_DISC_BY_SVC_UUID FALSE

    Do I need to modify the SensorTag CC1350 code as well?

    No I didnt completed the simple link academy. 

    Best regards

  • Hi LBL,

    Multirole should be enabled by default to connect to multiple devices. Are you able to connect to one device? If you are able to connect to one device, then after the connection is formed, you can scan again and connect to your next device. Please refer to the Multi_role User Interface instructions in the multi_role readme file.

    After you can connect to your devices, you will need to perform a GATT discovery in order to find the handles for your sensor value characteristics. When you have the handle, you can perform GATT Reads & Writes, and enable GATT notifications for the sensors in question. You can see how the multi_role application performs a GATT discovery by reviewing the multi_role_processGATTDiscEvent() and multi_role_startDiscovery() code.