Skip to main content
Visitor II
October 31, 2024
Question

Free Fall and Blue SDK

  • October 31, 2024
  • 1 reply
  • 767 views

Hi. I'm currently working with the Blue SDK and trying to detect any falls from the SensorTile.Box Pro. The device is able to detect falls, but I am unsure of how to send that data over to my android application. I have a modified BLESensorPnPL demo project calling the BLE_MachineLearningCoreUpdate() function once it detects a free fall. Any help would be greatly appreciated!

Also, how does the BLEMLC demo project communicate with the STBLE Sensor Application?

    This topic has been closed for replies.

    1 reply

    ST Employee
    November 8, 2024

    Ciao,
    the BLEMLC use the bluetooth for speaking with the BLE Sensor Application
    and it exports some BLE characteristics
    one is used for sending the output of MLC
    In this BLEMLC application, the board and the phone exchange also the labels that the application will show in function of the output of the MLC
    in order to visualize not only the MLC output... but also a label that explain the output in a more human way.

    so, if you have changed the output of MLC... you should also change the section where the board and the phone will exchange the labels data


    another thing
    we have a dedicated BLE characteristic for transmitting the Free Fall
    So there is no pb if you want to use the MLC output...but if you want you could use also the dedicated BLE char in order to be able to see the Free Fall specific demo

    Ciao
    Luca

     

    NeoWeiAuthor
    Visitor II
    November 13, 2024

    I see, thank you for your reply. However, I still have a couple questions.

    For one, how do I make use of these dedicated BLE characteristics?
    Also, how would I transmit audio? Is there a dedicated BLE characteristic for it? How would the mobile application receive and parse it?