| Automatic probing of hand-held model
|
| static int ticalcs_probe_calc_2(CalcHandle* handle, CalcModel* model) |
| handle : |
a previously allocated handle
|
| type : |
the calculator model
|
| Return value : |
08 6D 00 00 PC request a screen dump
TI: MId 56 00 00 TI reply OK
Beware: the call sequence is very important: 86, 85, 73, 83, 82 !!!
Return value: 0 if successful, an error code otherwise.
|
| static int ticalcs_probe_calc_1(CalcHandle* handle, CalcModel* model) |
| handle : |
a previously allocated handle
|
| type : |
the calculator model
|
| Return value : |
0 if successful, an error code otherwise.
|
| TIEXPORT3 int TICALL ticalcs_probe_calc(CableHandle* cable, CalcModel* model) |
| cable : |
a valid (=opened/attached) link cable handle
|
| model : |
the calculator model which have been detected
|
| Return value : |
0 if successful, an error code otherwise.
|
| TIEXPORT3 int TICALL ticalcs_probe_usb_calc(CableHandle* cable, CalcModel* model) |
| cable : |
a valid (=opened/attached) link cable handle
|
| model : |
the calculator model which have been detected
|
| Return value : |
0 if successful, an error code otherwise.
|
| TIEXPORT3 int TICALL ticalcs_probe(CableModel c_model, CablePort c_port, CalcModel* model, int all) |
| c_model : |
link cable model
|
| c_port : |
link cable port
|
| model : |
hand-held model detected/found [out]
|
| all : |
which hand-helds to detect (FLASH only or all)
|
| Return value : |
0 if successful, an error code otherwise.
|
| { |
| info : |
pointer to device info
|
| Return value : |
!= CALC_NONE if a precise calculator model can be determined through the cable+device info, CALC_NONE if invalid argument or SilverLink cable.
|
| TIEXPORT3 CalcModel TICALL ticalcs_remap_model_from_usb(CableModel cable, CalcModel calc) |
| cable : |
a cable model model taken in #CableModel.
|
| cable : |
a calc model model taken in #CalcModel.
|
| Return value : |
the new calculator model, which can be the same as the passed one.
|
| TIEXPORT3 CalcModel TICALL ticalcs_remap_model_to_usb(CableModel cable, CalcModel calc) |
| cable : |
a cable model model taken in #CableModel.
|
| cable : |
a calc model model taken in #CalcModel.
|
| Return value : |
the new calculator model, which can be the same as the passed one.
|