Command list – IEI Integration AUPS UART Protocal SPC User Manual

Page 5

Advertising
background image

AUPS

IEI Technology Corp.

- 5 -

Command List

You can use following pre-defined commands un the application to communicate with

MCU and to receive data returned from MCU.



Command List:

Command

Description

Return bytes

0x01

Select Smart Battery A

None

0x02

Select Smart Battery B

None

0x22

Read Smart Battery Type ( LION: 4C and NIMH: 4E )

1 byte

0x09

Read Smart Battery Output Voltage ( mV )

2byte

0x0A

Read Smart Battery Electric Current ( mA )

2byte

0x08

Read Smart Battery Internal Temperature ( ºC )

2byte

0x0F

Read Smart Battery Capacity ( % )

2byte

0x11

Read Smart Battery Discharging Time ( Minute )

2byte

0x40

Read Smart Battery Status 1

2byte

0x41

Read Smart Battery Status 2

2byte

0x42

Read MCU Firmware Version

1byte

0x43

Enable Buzzer

None

0x44

Disable Buzzer

None

0x45

Turn On UPS Output

None

0x46

Turn Off UPS Output

None

0x47

Enable LAN

None

0x48

Disable LAN

None

0x50

Read IP Address

4byte

0x51

Write IP Address

4byte

0x52

Read Gateway

4byte

0x53

Write Gateway

4byte

0x54

Read Primary DNS

4byte

0x55

Write Primary DNS

4byte

0x56

Read Secondary DNS

4byte

0x57

Write Secondary DNS

4 bytes

Advertising