Has the process to run CE226301 - BLE Throughput Measurement changed with MTB2.2 ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

What is the process to import a project from GitHub to ModusToolbox 2.2?

I'm attempting to run an example that uses 2Mbps BLE.

I have ModusToolbox 2.2 installed.

Fail #1 = I was shown a throughput example that demonstrates 2Mbps @ https://github.com/cypresssemiconductorco/Code-Examples-BT-SDK-for-ModusToolbox/tree/master/CYW92081...

The only way to download this code is by downloading the entire CYW920819EVB-02 directory.

With the entire directory installed, I don't see a way to import the individual project "throughput_test". The Import tool is looking for a project and when I select and try to create "throughput_test" it complains of missing app_id.

Fail #2 = I found a stand-alone example of throughput test @ https://github.com/cypresssemiconductorco/mtb-example-btsdk-ble-throughput

I downloaded a copy, unzipped it and attempted to import then create...

Same error:

     Getting manifest...

     Required argument "app-id" is not set.

Fail #3 = Attempting to follow the "Using the Code Example" instructions from the same stand-alone example @ GitHub - cypresssemiconductorco/mtb-example-btsdk-ble-throughput: This CE demonstrates the maximum B...

Step 4. implies there's already a "BLE_Throughput_Measurement" option available when attempting to install a New Application. There is nothing. There is a post that appears to confirm this visually. The post, Migrating BTSDK applications from ModusToolbox 2.0/2.1 to ModusToolbox 2.2 shows the BLE_Throughput_Measurement application (partially hidded by the green box) did NOT transfer directly from MTB 2.1 to MTB 2.2.

0 Likes
1 Solution
NidhiH_76
Employee
Employee
5 likes given 10 sign-ins 5 sign-ins

Hi Greg,

CE226301 - BLE Throughput Measurement is not yet ported to work with MTB 2.2 workflow and hence it will not appear in the project creator.

The CE is in the process of being updated and will be available soon.

1. throughput_test demo application: https://community.cypress.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fcypresssemiconductor...  is a legacy example for BTSDK 1.4. BTSDK has now moved to 2.x and this demo will not work with BTSDK 2.x.

2. and 3. The CE is not ported to work with MTB 2.2 and is not compatible with MTB 2.2. The changes needed for an MTB 2.0/2.1 application to work in MTB 2.2 are explained in the blog.

Temporary Solutions(until the CE is available for MTB 2.2):

Solution 1: Using MTB 2.1 BLE Throughput Measurement CE with wiced_btsdk 2.7.1 and CLI

1. Download/clone GitHub - cypresssemiconductorco/mtb-example-btsdk-ble-throughput: This CE demonstrates the maximum B...

2. Download or clone wiced_btsdk 2.7.1 from here: GitHub - cypresssemiconductorco/wiced_btsdk at release-v2.7.1

3. Extract both, application and wiced-btsdk-release-v2.7.1 in a folder of your choice. Just ensure to keep both in the same folder.

4. Rename the folder wiced-btsdk-release-v2.7.1 to wiced-btsdk

folder_struct.PNG

5. Run Cygwin by clicking on the Cygwin.bat file from the <install_folder>\ModusToolbox\tools_2.x\modus-shell folder.

6. Navigate to the folder where you have downloaded and extracted the application and wiced_btsdk.
     Use the command in Cygwin window:  cd /cygdrive/C/.....

7. After you navigate to the project folder, follow Readme of the CE from step 5 under the section 'In Command-line Interface (CLI):' of 'Using the Code Example'

8. You can use any editor to modify the CE if required. But you will have to use Cygwin to build/program the application.

Solution 2: Migrate the CE to work with MTB 2.2. You can follow the steps provided in the blog. But make this one small change in makefiles of both GATT_client and GATT_server applications:

Change the following variable value from CY_GETLIBS_SHARED_PATH=../ to CY_GETLIBS_SHARED_PATH=../../

The above change is required because BLE Throughput CE comes with two applications in a single repo and we need to provide the correct relative path to the mtb_shared folder.

Let us know if it works for you.

Thanks,

Nidhi

View solution in original post

0 Likes
1 Reply
NidhiH_76
Employee
Employee
5 likes given 10 sign-ins 5 sign-ins

Hi Greg,

CE226301 - BLE Throughput Measurement is not yet ported to work with MTB 2.2 workflow and hence it will not appear in the project creator.

The CE is in the process of being updated and will be available soon.

1. throughput_test demo application: https://community.cypress.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fcypresssemiconductor...  is a legacy example for BTSDK 1.4. BTSDK has now moved to 2.x and this demo will not work with BTSDK 2.x.

2. and 3. The CE is not ported to work with MTB 2.2 and is not compatible with MTB 2.2. The changes needed for an MTB 2.0/2.1 application to work in MTB 2.2 are explained in the blog.

Temporary Solutions(until the CE is available for MTB 2.2):

Solution 1: Using MTB 2.1 BLE Throughput Measurement CE with wiced_btsdk 2.7.1 and CLI

1. Download/clone GitHub - cypresssemiconductorco/mtb-example-btsdk-ble-throughput: This CE demonstrates the maximum B...

2. Download or clone wiced_btsdk 2.7.1 from here: GitHub - cypresssemiconductorco/wiced_btsdk at release-v2.7.1

3. Extract both, application and wiced-btsdk-release-v2.7.1 in a folder of your choice. Just ensure to keep both in the same folder.

4. Rename the folder wiced-btsdk-release-v2.7.1 to wiced-btsdk

folder_struct.PNG

5. Run Cygwin by clicking on the Cygwin.bat file from the <install_folder>\ModusToolbox\tools_2.x\modus-shell folder.

6. Navigate to the folder where you have downloaded and extracted the application and wiced_btsdk.
     Use the command in Cygwin window:  cd /cygdrive/C/.....

7. After you navigate to the project folder, follow Readme of the CE from step 5 under the section 'In Command-line Interface (CLI):' of 'Using the Code Example'

8. You can use any editor to modify the CE if required. But you will have to use Cygwin to build/program the application.

Solution 2: Migrate the CE to work with MTB 2.2. You can follow the steps provided in the blog. But make this one small change in makefiles of both GATT_client and GATT_server applications:

Change the following variable value from CY_GETLIBS_SHARED_PATH=../ to CY_GETLIBS_SHARED_PATH=../../

The above change is required because BLE Throughput CE comes with two applications in a single repo and we need to provide the correct relative path to the mtb_shared folder.

Let us know if it works for you.

Thanks,

Nidhi

0 Likes