Extending dpump example
mendez23 opened this issue · 2 comments
mendez23 commented
Greetings!
I'm working on a project that involves implementing a proprietary protocol between usb host and device using usbx, and since the hardware is not availble yet, the interim plan is to implement on linux. I was able to compile and run demo_usbx.c on linux, however I'm facing few issues
- after tx_demo_thread_host_sim and tx_demo_thread_dev_sim threads exit, the app doesn't exit forever (ctrl-c terminates the app) -- is there an explanation to this behavior and a workaround on how to make the app exit gracefully?
- threadx publishes regression tests on github, however, I couldn't find any for usbx; since the apis for host_sim and dev_sim are not documented, its unclear which programming apis to use from dev_sim or host_sim side to connect/disconnect, actiate/deactivate, exit gracefully etc
I would really appreciate if you could provide a hid-mouse example that exercises ux_hcd_sim_host and ux_dcd_sim_slave apis showing connect/disconnect, actiate/deactivate, graceful exit etc?
Thank you.
mendez23 commented
closing
mendez23 commented
closing