libexword
libexword copied to clipboard
library for transfering files over USB to casio EX-word electronic dictionaries
Description
libexword is a library that implements the low-level OBEX commands used to communicate Casio EX-word dictionaries.
This library comes with a program called exword that uses libexword to allow manipulation of files on the dictionary.
Features: * list files on device * upload/download files * delete files * install/remove add-on dictionaries
Commands
connect [mode] [region] This command connects to an attached EX-word dictionary. It accepts two optional parameters the first specifies the connection mode and be bee either library, text, or cd. The second one is the region of your dictionary and is a two letter country code.
The default values for mode and region are library and ja.
disconnect This command simply disconnects from the currently connected dictionary.
model This command displays the raw model information about connected device.
capacity This command displays the capacity of the currently selected storage medium.
format This command will format the currently inserted SD card.
list This command will list all files and directories in your current directory.
delete
send
get
setpath
set
Options:
debug - This option sets the debug level (0-5)
mkdir - This option tells setpath if it should create non-existent directories (yes|no)
dict
Subfunctions:
reset <username>
This will reset your authentication information using the specified
username. When finished it will display the new authkey as well as
save the username/authkey pair to users.dat file. It also deletes any
already installed add-ons.
auth <username> [key]
This peforms authentication and must be called before any other subfunction
except for list and reset. If key is not specified it will try to find the
username in the users.dat file.
list
This command will list currently installed dictionaries.
decrypt <id>
This downloads and decrypts the dictionary with the specified id.
remove <id>
This deletes the dictionary with the specified id.
install <id>
This will install the dictionary with the specified id.