You are viewing an older revision! See the latest version

Program4_mbedClient

This application transmits a heart rate value using the Bluetooth SIG Heart Rate Profile. The heart rate value is provided by the application itself, not by a sensor, so that you don't have to get a sensor just to run the example.

Technical details are better presented in the mbed Classic equivalent of this example.

  1. Import Program4_mbedClient.
  2. Set the connection type in mbed_app.json, change the value of network-interface to be ETHERNET
  3. Client credentials
    1. Go to mbed Device Connector and log in with your mbed account.
    2. On mbed Device Connector, go to My Devices > Security credentials and click the Get my device security credentials button to get new credentials for your device.
    3. Replace the contents in `security.h` of this project's directory with content copied above.
  4. Now press Compile. A file downloads (mbed-os-example-client_NUCLEO_F429ZI.bin).
  5. Drag the file to the 'NODE_F429ZI' disk. The LED on the board will flash.
  6. After flashing, hit the 'Reset' button to start the program.
  7. Open the terminal window to display the output. For this example, set the terminal BAUD rate to 115200.
  8. If you see Registered object successfully!, congratulations! You have made it!
  9. You can also verify your result by opening Connected devices. You will see your device listed here.

Also, you can go to mbed Connector Quickstart. Select connectivity method on client side and web app backend on cloud side. Then click RUN IT!. Your will see the detail instructions for the program. Follow the steps on the page to connect your device to mbed cloud.


All wikipages