- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
01-03-2017 11:45 AM
01-04-2017 10:44 AM
I am able to reproduce the issue as well. I will investigate further and get back to you. I see the error if I try to import a .bgproj file or a .xml file.
01-05-2017 03:58 AM
The problem you see is related to the fact that we have two formats of the .bgproj file structure, and GATT editor's import supports only one of them currently.
The none supported format is when the .bgproj file points to other files. The supported is when it is self-contained.
So the workaround would be to slightly modify the gatt.xml file and try to import it.
- Rename gatt.xml to gatt_modified.xml
- Edit the gatt_modified.xml file and surround the <gatt>…</gatt> part with <project> </project> tags. So you will end up with file like this:
<?xml version="1.0" encoding="UTF-8" ?>
… whatever was here originally…
- Import the gatt_modofied.xml file
I will investigate how can we support the currently unsupported format.
01-05-2017 07:52 AM
01-05-2017 08:34 AM
From the error message, I believe you copied the gatt.xml content into .bgproj file. I suggested to modify the gatt.xml file and import the modified gatt.xml file. (Not the .bgproj file.) Is that the case?
Inserting screenshot: There is a toolbar over the textbox I write the comment . It has a "insert/edit image" button. Did you try that?
01-05-2017 09:01 AM
You were right. I still had the project referencing other files. Once I removed all but the reference to gatt_mod.xml, the gatt_mod.xml file was imported.
I have been using HTML instead of Rich Text. Thanks for that info.