- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Community.
I am using the evualtion kit PSoC6 for an project where the PSoC has a peripheral GAP role. For this project, need to work with xml files in order to save some information but I do not know how to do this. I created my xml file and my xsd file for the rules but:
1) how do I merge this two?
2) how do I read the xml from my C code?
3) how do I modify this file after the central device (BLE) sent information?
4) is there an example?
With Visual studio it is a XMLHelper method but it is something like that with Cypress?
Thanks
David Caraveo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) how do I merge this two?
I didn't quite understand what you mean by merge XML and XSD files. XSD are schema files and XML file can be validated against this schema.
2) how do I read the xml from my C code?
3) how do I modify this file after the central device (BLE) sent information?
Cypress doesn't have any library to read the XML, but you can make use of any third party C libraries like Libxml2 library to parse the XML files.
4) is there an example?
No, do not have any example.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) how do I merge this two?
I didn't quite understand what you mean by merge XML and XSD files. XSD are schema files and XML file can be validated against this schema.
2) how do I read the xml from my C code?
3) how do I modify this file after the central device (BLE) sent information?
Cypress doesn't have any library to read the XML, but you can make use of any third party C libraries like Libxml2 library to parse the XML files.
4) is there an example?
No, do not have any example.
Regards,
Dheeraj