Hand-held management layer
|
TIEXPORT3 CalcFeatures TICALL ticalcs_calc_features(CalcHandle* handle) |
handle : |
a previously allocated handle
|
Return value : |
a mask of features (CalcFeatures).
|
TIEXPORT3 int TICALL ticalcs_calc_isready(CalcHandle* handle) |
handle : |
a previously allocated handle
|
Return value : |
0 if ready else ERR_NOT_READY.
|
TIEXPORT3 int TICALL ticalcs_calc_send_key(CalcHandle* handle, uint16_t key) |
handle : |
a previously allocated handle
|
key : |
a TI scancode
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_execute(CalcHandle* handle, VarEntry* ve, const char* args) |
handle : |
a previously allocated handle
|
ve : |
folder and variable name with type
|
args : |
argument to pass to program (in TI-charset, aka native)
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_screen(CalcHandle* handle, CalcScreenCoord* sc, |
handle : |
a previously allocated handle
|
sc : |
a structure which contains required screen format and returns screen sizes
|
bitmap : |
adress of pointer for allocated bitmap. Must be freed when no longer needed.
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_get_dirlist(CalcHandle* handle, |
handle : |
a previously allocated handle
|
vars : |
a tree of folder & variables
|
apps : |
a tree of FLASH apps
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_get_memfree(CalcHandle* handle, uint32_t* ram, uint32_t *flash) |
handle : |
a previously allocated handle
|
ram : |
RAM memory available
|
flash : |
Flash memory available
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_backup(CalcHandle* handle, BackupContent* content) |
handle : |
a previously allocated handle
|
content : |
backup content
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_backup(CalcHandle* handle, BackupContent* content) |
handle : |
a previously allocated handle
|
content : |
backup content
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_var(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode : |
to document
|
content : |
file content to send
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_var(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode:
: |
(null) |
content : |
where to store variable content
|
var : |
a #VarEntry structure got with dirlist
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_var_ns(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode:
: |
(null) |
content : |
file content to send
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_var_ns(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode:
: |
(null) |
content : |
where to store variables
|
var : |
informations on the received variable (if single) or NULL (if group)
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_app(CalcHandle* handle, FlashContent* content) |
handle : |
a previously allocated handle
|
content : |
content to send
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_app(CalcHandle* handle, FlashContent* content, |
handle : |
a previously allocated handle
|
content : |
where to store content
|
var : |
FLASH app to request
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_os(CalcHandle* handle, FlashContent* content) |
handle : |
a previously allocated handle
|
content : |
content to send
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_idlist(CalcHandle* handle, uint8_t* idlist) |
handle : |
a previously allocated handle
|
idlist : |
static buffer (32 chars) where to store ID-LIST
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_dump_rom_1(CalcHandle* handle) |
handle : |
a previously allocated handle
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_dump_rom_2(CalcHandle* handle, CalcDumpSize size, const char *filename) |
handle : |
a previously allocated handle
|
size : |
optional size of dump
|
filename : |
where to store the dump
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_set_clock(CalcHandle* handle, CalcClock* _clock) |
handle : |
a previously allocated handle
|
clock : |
a #CalcClock structure
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_get_clock(CalcHandle* handle, CalcClock* _clock) |
handle : |
a previously allocated handle
|
clock : |
a #CalcClock structure
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_cert(CalcHandle* handle, FlashContent* content) |
handle : |
a previously allocated handle
|
content : |
content to send
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_cert(CalcHandle* handle, FlashContent* content) |
handle : |
a previously allocated handle
|
content : |
where to store content
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_backup2(CalcHandle* handle, const char *filename) |
handle : |
a previously allocated handle
|
filename : |
name of file where to store backup
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_backup2(CalcHandle* handle, const char* filename) |
handle : |
a previously allocated handle
|
filename : |
name of file which contains backup to send
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_var2(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode : |
to document
|
filename : |
name of file
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_var2(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode:
: |
(null) |
content : |
where to store variable content
|
var : |
a #VarEntry structure got with dirlist
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_var_ns2(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode:
: |
(null) |
filename : |
name of file
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_var_ns2(CalcHandle* handle, CalcMode mode, |
handle : |
a previously allocated handle
|
mode:
: |
(null) |
filename : |
where to store variables
|
var : |
informations on the received variable (if single) or NULL (if group)
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_app2(CalcHandle* handle, const char* filename) |
handle : |
a previously allocated handle
|
filename : |
name of file
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_app2(CalcHandle* handle, const char* filename, |
handle : |
a previously allocated handle
|
content : |
where to store content
|
var : |
FLASH app to request
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_new_fld(CalcHandle* handle, VarRequest* vr) |
handle : |
a previously allocated handle
|
vr : |
name of folder to create (vr->folder)
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_del_var(CalcHandle* handle, VarRequest* vr) |
handle : |
a previously allocated handle
|
var : |
var to delete
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_get_version(CalcHandle* handle, CalcInfos* infos) |
handle : |
a previously allocated handle
|
infos : |
where to store version information
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_cert2(CalcHandle* handle, const char* filename) |
handle : |
a previously allocated handle
|
filename : |
name of file
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_cert2(CalcHandle* handle, const char* filename) |
handle : |
a previously allocated handle
|
content : |
where to store content
|
var : |
FLASH app to request
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_os2(CalcHandle* handle, const char* filename) |
handle : |
a previously allocated handle
|
filename : |
name of file
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_send_tigroup2(CalcHandle* handle, const char* filename, TigMode mode) |
handle : |
a previously allocated handle
|
filename : |
name of file
|
mode : |
which vars/apps to send
|
Return value : |
0 if successful, an error code otherwise.
|
TIEXPORT3 int TICALL ticalcs_calc_recv_tigroup2(CalcHandle* handle, const char* filename, TigMode mode) |
handle : |
a previously allocated handle
|
filename : |
name of file
|
mode : |
which vars/apps to receive
|
Return value : |
0 if successful, an error code otherwise.
|