![]() |
Enumerations, structures and type definitions
|
SCREEN_FULL, |
Return value : |
CALC_PIXFMT_MONO = 1, // Monochrome (1 bpp) |
Return value : |
PATH_FULL, |
Return value : |
MEMORY_NONE = 0, |
Return value : |
MODE_NORMAL = 0, |
Return value : |
ROMSIZE_AUTO = 0, |
Return value : |
SHELL_NONE = 4, |
Return value : |
PRODUCT_ID_NONE = 0x00, |
Return value : |
FTS_NONE = 0, |
Return value : |
ACT_NONE = 0, |
Return value : |
INFOS_PRODUCT_NUMBER = (1 << 0), /* obsolete (never used) */ |
Return value : |
// TODO for next gen CALC_ prefix. |
Return value : |
TIG_NONE = 0, |
Return value : |
uint16_t length; ///< data length |
Return value : |
uint32_t size; ///< raw packet size |
Return value : |
uint32_t size; ///< virtual packet size |
Return value : |
uint16_t unused; |
Return value : |
uint16_t src_addr; |
Return value : |
uint16_t length; ///< data length |
Return value : |
int format; |
format : |
returns full or clipped image (#CalcScreenFormat)
|
width : |
real width
|
height : |
real height
|
clipped_width : |
clipped width (89 for instance)
|
clipped_height : |
clipped height (89 for instance)
|
pixel_format : |
format of pixel data (#CalcPixelFormat)
|
Return value : |
CalcModel model; |
model : |
hand-held model
|
type : |
var or app list (VAR_NODE_NAME or APP_NODE_NAME)
|
mem_used : |
memory used (depends on hand-held model)
|
mem_free : |
memory free (depends on hand-held model)
|
Return value : |
const char* name; |
name : |
name of key (like "ESC")
|
value : |
value of key (like 264)
|
Return value : |
const char* key_name; |
key_name : |
name of key
|
normal : |
information for key when pressed without modifiers
|
shift : |
information for key when pressed with SHIFT modifier (TI-68k series)
|
second : |
information for key when pressed with 2nd modifier (TI-Z80 & TI-68k series)
|
diamond : |
information for key when pressed with DIAMOND modifier (TI-68k series)
|
alpha : |
information for key when pressed with ALPHA modifier (TI-Z80 & TI-68k series)
|
Return value : |
uint16_t year; |
year : |
year
|
month:
: |
(null) |
day:
: |
(null) |
hours:
: |
(null) |
minutes:
: |
(null) |
seconds:
: |
(null) |
time_format : |
12 or 24
|
date_format : |
1 or 6
|
Return value : |
char text[256]; |
text : |
a text to display about the current operation (locale used is those defined by tifiles_transcoding_set)
|
cancel : |
set to 1 if transfer have to be cancelled
|
rate : |
data rate of cable
|
cnt1 : |
current counter for link transfer operations (ticalcs2 only)
|
max1 : |
max value of this counter
|
cnt2 : |
current count for intermediate operations (ticalcs2 only)
|
max2 : |
max value of this counter
|
cnt3 : |
current counter for global operations (used by ticalcs2 or tilp)
|
max3 : |
max value of this counter
|
mask : |
which cntX is/are used (unused)
|
type : |
pbar type (unused)
|
start : |
init internal vars
|
stop : |
release internal vars
|
refresh : |
pass control to GUI for refresh
|
pbar : |
refresh progress bar
|
label : |
refresh label
|
Return value : |
CalcModel model; |
os : |
OS version like "3.01"
|
bios : |
BIOS (boot) version like 2.01
|
Return value : |
const int model; |
model : |
link cable model (CalcModel).
|
name : |
name of hand-held like "TI89"
|
fullname : |
complete name of hand-held like "TI-89"
|
description : |
description of hand-held like "TI89 calculator"
|
features : |
supported operations (CalcOperations)
|
counters : |
defines which CalcUpdate counters have to be refreshed (indexed by CalcFnctsIdx)
|
is_ready : |
check whether calculator is ready
|
send_key : |
send key value
|
execute : |
remotely execute a program or application
|
recv_screen : |
request a screendump
|
get_dirlist : |
request a listing of variables, folders (if any) and apps (if any)
|
send_backup : |
send a backup
|
recv_backup : |
request a backup
|
send_var : |
send a variable (silent mode)
|
recv_var : |
request a variable silent mode)
|
send_var_ns : |
send a variable (non-silent mode)
|
recv_var_ns : |
receive a variable (non-silent mode)
|
send_flash : |
send a FLASH app/os
|
recv_flash : |
request a FLASH app/os
|
recv_idlist : |
request hand-held IDLIST
|
dump_rom_1 : |
dump the hand-held ROM: send dumper (if any)
|
dump_rom_2 : |
dump the hand-held ROM: launch dumper
|
set_clock : |
set date/time
|
get_clock : |
get date/time
|
del_var : |
delete variable
|
new_fld : |
create new folder (if supported)
|
get_version : |
returns Boot code & OS version
|
send_cert : |
send certificate stuff
|
recv_cert : |
receive certificate stuff
|
rename_var : |
rename a variable
|
change_attr : |
change attributes of a variable
|
send_all_vars_backup : |
send a fake backup (set of files and FlashApps)
|
recv_all_vars_backup : |
request a fake backup (set of files and FlashApps)
|
Return value : |
CALC_EVENT_TYPE_UNKNOWN = 0, |
Return value : |
unsigned int version; |
version : |
event protocol version.
|
type : |
event type.
|
retval : |
return value of the operation, for "after" events.
|
attached : |
whether the cable is attached.
|
operation : |
index (CalcFnctsIdx) of the generic operation invoked by the library user, if any.
|
data : |
packet data to be sent / received, if any - or user-specified data.
|
Return value : |
CalcModel model; |
model : |
cable model
|
calc : |
calculator functions
|
update : |
callbacks for GUI interaction
|
unused1 : |
unused member kept for API compatibility purposes
|
buffer : |
allocated data buffer for internal use
|
buffer2 : |
allocated data buffer for internal use
|
open : |
device has been opened
|
busy : |
transfer is in progress
|
cable : |
handle on cable used with this model
|
attached : |
set if a cable has been attached
|
priv : |
private per-handle data
|
event_hook : |
callback fired upon various events (replaces and expands on the deprecated callbacks).
|
user_pointer : |
user-set pointer passed to the event callbacks.
|
event_count : |
number of events sent since this handle was created.
|
Return value : |
CableModel cable_model; |
cable_model : |
model
|
cable_port : |
port
|
cable_timeout : |
timeout in tenth of seconds
|
cable_delay : |
inter-bit delay in µs
|
calc_model : |
calculator model
|
Return value : |