Hi,
after noticing there is many people asking for some USB dongle tests under Linux, if you flash the HostTestRelease firmware and specify the correct serial port within the code, you can quick test if your dongle is working under Linux.
I'm very sorry, this is one of the first codes I did in Python so the code is not of the better quality and not as complete as other CC2540 tests under Linux, but at least is fast to test and in a single file and it can be useful for quick analysis.
Feel free to change whatever you want. And also, if some Mac guys want to test it since there are some questions about this lately in the forum, their feedback will be appreciated :)
Bye! And everybody is encouraged to improve that disast... code snippet :)
<nowadays generating wiki page :) see last post of the thread>