Attachments are accessible only for community members.
Feb 27, 2018
11:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 27, 2018
11:06 AM
In trying to figure out what is happening in my PSoC4 BLE app, I found that it would be really useful to see what events were being passed to my event handler. Printing event numbers then leads to a tedious process of look up. So I wrote a Powershell script which will generate a c file which allows printing the event codes as strings. I figure other might find it useful, so it is attached. I am not a Powershell guru, so it is pretty simple. It does not understand #ifdefs, so you will generally need to edit the result.
The Powershell script is attached as ParseEnum.ps1. A sample output (with 3 entries removed by hand) is attached as debugEvent.c.
1 Reply
Feb 27, 2018
09:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 27, 2018
09:56 PM
Thanks for your valuable contribution !
Best Regards,
VSRS