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.

BLE sensor data to cloud via wifi

Other Parts Discussed in Thread: CC3220SIs there a TI part/module that has both Wi-Fi and Bluetooth capability that can perform the combined IOS App/Wi-Fi sensor tag functionality or must it be done with an additional/separate BLE part? I am quite confused since I was under the impression that the wi-fi sensor tag had bluetooth but eliminated the need for a wi-fi BLE gateway. I need to get to the cloud using wifi but I need to contact a small number of BLE sensor tags and include the data from one of their sensors as well! Please help me! Thank you, Edward
  • Edward - the Wi-Fi BLE gateway combination you are looking for has been developed using the CC3220S or -SF LaunchPad combined with a CC2640R2 LaunchPad. Depending on the sensors you need, you could either leverage the ones on the CC3220S or -SF LP or add the BOOSTXL-SENSORS to that combination.
    The TI Design is forthcoming - let us know if you need this ASAP and one of us can friend request you to then provide a beta version of the Gateway code outside this Forum.

    See CC3220 SDK + the SAIL plugin for the sensor examples

    www.ti.com/.../simplelink-cc3220-sdk
    www.ti.com/.../SIMPLELINK-SDK-SENSOR-ACTUATOR-PLUGIN (plugin to the SDK for the sensor boosterpack.)
  • Thank you! I think my very anxious customer is about to bail on me! I got as far as using the downloaded CCS and trying to run the network terminal CC3220S_LAUNCHXL_tirtos[Active-Release] . I tried both the CCS terminal and TeraTerm but I could not get either to find the right com port - I think it was 8 - even though I can find it in the device manager. I had hoped to put together a demo with some live sensor data and see if I could buy more time to pursue what you are speaking of which I think would really accelerate my progress and get this moving forward! My CCS screen now shows:

    Cortex_M4_0: GEL Output:
    Memory Map Initialization Complete
    IcePick_C: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 6.0.628.1)
    IcePick_C: Warning: The firmware update completed successfully. (Emulation package 6.0.628.1)
    Cortex_M4_0: GEL Output:
    Target Reset
    Cortex_M4_0: GEL Output:
    Target Reset
    CS_DAP: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 6.0.628.1)
    Cortex_M4_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.1)
    Cortex_M4_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

    I have done as Ben suggested earlier: gone from Project Zero through Wi-Fi Provisioning to Wi-Fi MQTT. I did the empty project demo, too. I thought I was moving forward but I guess somewhere I took a wrong turn! Any suggestions would be wonderful as I have to meet with my customer Wednesday. I had hoped to gather a bit of sensor data and send it to the cloud and I think it would be enough to get a firm committment from him to move forward, start to putsome sensor data into his AWS account and start building him some working hardware. Thank you: I greatly appreciate your help! Edward
  • Please send me info so I can order additional parts! Also, is there a place where I can find an answer to the error I am getting above? Can you suggest a better example than this one? Also, should I go with the cloud CCS or stick with the downloaded version? I have a Samsung PC laptop and a MacBook, any thoughts? Thank you for your time and help!

    Your friend Edward

  • Hi Josh,

    I am waiting for your info, but I am not clear where to reply thank you and if I need to send you my info!

    Thank you,

    Edward

  • Hi Edward,

    You will want to connect to the COM port named "XDS110 Class Application/User UART". Please also make sure you are setting the baud rate of your serial connection to 115200.

    Please make sure your LaunchPad is put into development mode so the debugger can use the JTAG. Refer to section 4.2 of this guide for details -

    http://www.ti.com/lit/ug/swru461/swru461.pdf

    We are in the process of refining our Wi-Fi and BLE software reference using the SimpleLink devices and making sure it is robust/easy to use. If you wait for the official release, you will have a better experience during development.

    Until then, I recommend starting work with the SAIL plug-in as Josh mentioned and integrating that with the MQTT example to demonstrate publishing sensor data to the cloud.


    Best Regards,

    Ben M