Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

For the last week or so the search feature in the Brew MP C++ API Reference has not been working. I get the Contents tree displayed and can manually open individual sub trees but no searches (a big hassle). In the past, if I entered a function name (or fragment of a name) it would expand and highlight all the matches (which is a great feature!).

 

I've tried it both Chrome and IE8 and ob different PCs.

 

Any help to restore the search ??

If possible could you post the version of Brew MP Platform kit you are seeing this problem?
I've tried out the following kits and was successful in using the search:
1.0.2.549.1
1.0.3.823 Pro
1.0.4.363.1 Pro
I use Internet Explorer primarily.

If possible could you post the version of Brew MP Platform kit you are seeing this problem?
I've tried out the following kits and was successful in using the search:
1.0.2.549.1
1.0.3.823 Pro
1.0.4.363.1 Pro
I use Internet Explorer primarily.

1.0.2.481

1.0.2.481

Thanks for the report. We had some issues in the Search mechanism at the time we posted that kit. If you install the latest 1.0.2 platform from the website (1.0.2.628 as of now), you will find that the search functionality in the API Reference is working. You may still need to retain the 1.0.2.481 platform kit for Simulation if you are developing for a physical target that has that version of Brew MP, but hopefully you are able to use the API Reference from the latest Brew MP 1.0.2 kit, or the API Reference from this website itself (click on "Reference" at the top of the page).

Thanks for the report. We had some issues in the Search mechanism at the time we posted that kit. If you install the latest 1.0.2 platform from the website (1.0.2.628 as of now), you will find that the search functionality in the API Reference is working. You may still need to retain the 1.0.2.481 platform kit for Simulation if you are developing for a physical target that has that version of Brew MP, but hopefully you are able to use the API Reference from the latest Brew MP 1.0.2 kit, or the API Reference from this website itself (click on "Reference" at the top of the page).

That makes perfect sense since I downloaded the older platform after having the newer plateform 1.0.2.549 up and running and it must have reverted to the older search java script.
 
However... I downloaded and installed 1.0.2.628 but the search still isnt working (even after a full reboot). Do I need to install the entire toolset ?
 
Thanks for your quick replies !

That makes perfect sense since I downloaded the older platform after having the newer plateform 1.0.2.549 up and running and it must have reverted to the older search java script.
 
However... I downloaded and installed 1.0.2.628 but the search still isnt working (even after a full reboot). Do I need to install the entire toolset ?
 
Thanks for your quick replies !

Sorry you are still having trouble. Not sure if you were using IE8 or another browser, but...
I think we have a problem with search on the following Browsers and versions:
Firefox 4.0.1 (note that search is reported to work well in Firefox 3.6.16)
Chrome 11.0.696.68
IE8 works fine for me as long as I accept the ActiveX warning when I first load the API Reference.
I've traced the cause of issues in Firefox 4.0.1 and Chrome to a couple bugs in the javascript for the page. We'll fix it in the future Platform kit releases.
If you are comfortable patching it up by hand, I'll describe here what you need to do...
 
1. Find and open the file c:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.628\documentation\javascript\jsTree\jquery.jstree.js. (Replace "1.0.2.628" with whichever Platform you want to apply this fix)
2. Locate the following snippet of code around line 2927:
clear_search : function (str, collapse) {
if (collapse == null) collapse = false;
t = this;
3. Replace that snippet with the following (Note: basically you are adding a variable declaration for 't' and moving the declaration to the top of the function.):
clear_search : function (str, collapse) {
var t = this;
if (collapse == null) collapse = false;
4. Similarly, locate the following snippet of code around line 3799:
clear_keyword_search : function (str, collapse) {
if (collapse == null) collapse = false;
t = this;
5. Replace it with the following:
clear_keyword_search : function (str, collapse) {
var t = this;
if (collapse == null) collapse = false;
6. Save the file. Note that if you are using Windows7, you'll find it easier to save your changes to c:\temp and copy (and over-write) the file back to the original location of c:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.628\documentation\javascript\jsTree.
7. Re-Open the API Reference in your browser.
 
Hope this helps you out.

Sorry you are still having trouble. Not sure if you were using IE8 or another browser, but...
I think we have a problem with search on the following Browsers and versions:
Firefox 4.0.1 (note that search is reported to work well in Firefox 3.6.16)
Chrome 11.0.696.68
IE8 works fine for me as long as I accept the ActiveX warning when I first load the API Reference.
I've traced the cause of issues in Firefox 4.0.1 and Chrome to a couple bugs in the javascript for the page. We'll fix it in the future Platform kit releases.
If you are comfortable patching it up by hand, I'll describe here what you need to do...
 
1. Find and open the file c:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.628\documentation\javascript\jsTree\jquery.jstree.js. (Replace "1.0.2.628" with whichever Platform you want to apply this fix)
2. Locate the following snippet of code around line 2927:
clear_search : function (str, collapse) {
if (collapse == null) collapse = false;
t = this;
3. Replace that snippet with the following (Note: basically you are adding a variable declaration for 't' and moving the declaration to the top of the function.):
clear_search : function (str, collapse) {
var t = this;
if (collapse == null) collapse = false;
4. Similarly, locate the following snippet of code around line 3799:
clear_keyword_search : function (str, collapse) {
if (collapse == null) collapse = false;
t = this;
5. Replace it with the following:
clear_keyword_search : function (str, collapse) {
var t = this;
if (collapse == null) collapse = false;
6. Save the file. Note that if you are using Windows7, you'll find it easier to save your changes to c:\temp and copy (and over-write) the file back to the original location of c:\Program Files\Qualcomm\Brew MP SDK\Platforms\1.0.2.628\documentation\javascript\jsTree.
7. Re-Open the API Reference in your browser.
 
Hope this helps you out.

It worked !!! I now have the search back working in Chrome.
 
Thank you again for your quick responses.

It worked !!! I now have the search back working in Chrome.
 
Thank you again for your quick responses.