FS#9088 - RockCW - Rockbox Morse Trainer, a proof of concept

Attached to Project: Rockbox
Opened by Joel Garske (gibbon_) - Thursday, 12 June 2008, 08:36 GMT
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Operating System SW-codec
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Hi there,

i am currently trying to learn the morse code. I thougt it would be fun to have rockbox as an aid, so i started to write a plugin for that.

This plugin currently has a limited functionality, but the current things are implemented:

- Morsing of custom texts, typed from the rockbox keyboard
- Morsing of random chars, till the battery drains (or less ;))
- Input of own Call and 'morsing' the same
- selection of speeds from 1-45 WPM in steps of 3
- selection of chars from 5 mixable groups
- letters
- numbers
- punctuation marks
- special chars (KA,BT,AR,VE)
- pauses

It would be very nice if someone tested these on some soft-codec targets. I included the source tarball (please add plugin to SOURCES and CATEGORIES if using this), a diff on r17715 and the binary .rock for the sansa c250.

Idd be very happy if, with a little help, this could move upstream. I am new to the plugin api and need some help especially in using the definitions to make this work on different DAPs (avoid building this on targets that don't support some features and so on). Correct me if i am wrong, but his should from my point of view work with all SWCODEC devices with LCD. I tried to write at least readable code and added some comments for the curious.

This builds at least on the c250 and works for me.

Thanks, Joel

Remind me, if i forgot something.
This task depends upon

Comment by Joel Garske (gibbon_) - Thursday, 12 June 2008, 13:34 GMT
After being rightly accused of heavily violating the contribution policies, i hopefully fixed most of the code according to them and disabled the 'SOS' code by default, to prevent unknowing sending of distress signals.
Comment by Joel Garske (gibbon_) - Thursday, 12 June 2008, 15:58 GMT
Again, got some hints for more efficient use of the plugin api and improved the code a bit. Free for comments again...
Comment by Larry Blowers (N9XVT) - Thursday, 24 July 2008, 04:35 GMT
doesnt work on my sansa c240? all i get is "incompatible version" ?
Comment by Matt (dementio) - Wednesday, 08 October 2008, 11:43 GMT
With build r18741, I get a few "error: too many arguments to function ‘rb->splash’"
Comment by Matt (dementio) - Wednesday, 08 October 2008, 11:47 GMT
Sorry, it's on an IPod Video 30Gb
Comment by Rosso Maltese (asettico) - Friday, 12 November 2010, 17:13 GMT
Synced against r28563, but unfortunately it crashes as it starts.
Can someone investigate about that, I like so much this plugin.
Comment by Joel Garske (gibbon_) - Sunday, 14 November 2010, 13:52 GMT
I am on it... i was away for some time and many things about the plugin system seem to have changed. I will try to adapt the plugin to work at least on the targets i can test (Sansa Clip+ and iPod mini 1st). Stay tuned.