Solvline Eddy DK Ver 2.20 User Manual
Page 46

Chapter 6. Library
Function
Reads model type of Eddy.
Format int
SB_GetModel
(Void));
Parameter None
Returns
0x00 ~ 0x1f
Eddy’s model number
0x1f
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0a
0x0b
0x0c
0x0d
0x1e
EDDY_CPU
EDDY_S1_PIN
EDDY_S1_PIN_C
EDDY_S1_DB9
EDDY_S1_DB9_C
EDDY_S1_POE
EDDY_S1_POE_C
EDDY_S2_M
EDDY_S2_M
EDDY_WS1_TTL
EDDY_WS1_TTL_C
EDDY_WS1_PIN
EDDY_WS1_PIN_C
EDDY_WS1_DB9
EDDY_WS1_DB9_C
EDDY_DK
Notice
Eddy provides various models with CPU module. It returns 0x1f when the
user id developing hardware to mount Eddy-CPU, whereas it returns model
number when the user is using model provided by SystemBase.
(Please refer to src/include/sb_define.h)
SB_GetVersion
Function
Reads version of O/S, file system, and bootloader ported to Eddy in string
type.
Format
void SB_GetVersion (int type, char *version);
Parameter
type
Specifies version the function will read.
‘B’: Eddy’s bootloader version
‘K’: Eddy’s O/S version
‘F’: Eddy’s file system version
Version
Pointer where version information string will be stored.
Returns None
Notice
Version information will be read like “1.0a.”
BootLoader and O/S will be provided by SystemBase; therefore these cannot
be changed. In case file system is programmed by the user, the version can
be set by the user.
6-3