Download Developer Manual

Transcript
AsTeRICS
Developer Manual
6.3.3 Phone-CIM (Windows Phone OS)
CIM-ID
0x0301:
Phone
actuator,
version 1
Featureaddress
0x0000
0x0001
Access
Descritption
Data
r
w
Unique serial number
Phone Application
Configuration:
init
0x0002
w
Phone Application
Configuration:
close
0x0010
w
Phone Manager:
make call
4 bytes
request:
4 bytes (init)
reply:
4 bytes (error_code)
request:
4 bytes (close)
reply:
4 bytes (error_code)
request:
4 bytes: command (make call)
1 byte: phone_id_len
X bytes: phone_id
reply:
4 bytes (error_code)
0x0011
w
Phone Manager:
accept call
request:
4 bytes (accept)
reply:
4 bytes (error_code)
request:
4 bytes (drop)
reply:
4 bytes (error_code)
1 byte: phone_id_len
X bytes: phone_id
0x0012
w
Phone Manager:
drop call
0x0013
r
Phone Manager:
receive call event
0x0014
w
Phone Manager: get
phone state
request:
4 bytes (get phone state)
reply:
4 bytes (error_code)
1 byte (state_code)
0x0020
w
Message Manager:
send SMS
request:
1 byte: phone_id_len
X bytes: phone_id
2 bytes: message_len
Y bytes: message
reply:
4 bytes (error_code)
0x0021
r
Message Manager:
receive SMS event
1 byte: phone_id_len
X bytes: phone_id
2 bytes: message_len
Y bytes: message
Page 64