Programming the voice-controlled bot block

After designing the app, it's time to program the voice-controlled bot application:

  1. First, we will use the ListPicker1.BeforePicking block from ListPicker1 and display the Bluetooth devices connected to our smartphone in a list as list items. Connect this block to the ListPicker1.Elements blocks. Next, from the BluetoothClient1 components, connect the BluetoothClient1.AddressAndNames block to the ListPicker1.Elements block, as shown in the following screenshot:

The ListPicker1.Elements represents the elements (the list items) in the list, which are the addresses and names of the devices that are ...

Get Hands-On Robotics Programming with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.