中文简体 English
Definition
N |
Indicates that the current field is a number |
S |
Indicates that the current field is a string |
FI |
Support Foscam IPC |
FN |
Supoort Foscam NVR |
FB |
Support Foscam BPI |
IN |
Support the use of embedded SDK NVR |
II |
Support the use of embedded SDK IPC |
A |
Amba platform |
H |
Hisi platform |
Remark
All event data is in Json format. The first column indicates the Json data Key value. If FI FN FB is not used … specially indicates that a certain type of device is supported, indicating that the device supports it.
- Night vision IRCUT state changed
IVY_CTRL_MSG_DAY_NIGHT_MODE_CHG = 42022
mode |
0:Auto 1:Manual 2:Schedule |
N |
FI FB FN |
onoff |
0:off 1:on |
N |
FI FB FN |
ch |
Channel number |
N |
FB FN |
- Preset point changed
IVY_CTRL_MSG_PRESET_CHG = 42023
pointList |
Preset point name, An array of Json strings |
S |
curPoint |
Current preset name |
S |
- Cruise changed
IVY_CTRL_MSG_CRUISE_CHG = 42024
cruiseList |
Cruise name, An array of Json strings |
S |
curCruise |
Current cruise name |
S |
- Reach preset point
IVY_CTRL_MSG_PRESET_REACHED = 42025
- Current cruise state changed
IVY_CTRL_MSG_CURRENT_CRUISE_MAP_STATE_CHG = 42026
state |
state |
N |
name |
name |
S |
- Mirror flip
IVY_CTRL_MSG_MIRROR_FLIP_CHG = 42021
mirror |
0:normal 1:mirror |
N |
flip |
0:normal 1:flip |
N |
- Reach the edge
IVY_CTRL_MSG_EDGE_ARRIVED = 42027
- Event of open playback
IVY_CTRL_MSG_START_PLAY_RESULT = 42028
result |
result |
N |
totalTime |
Total time, unit is ms |
N |
totalFrame |
Total video frame |
N |
videoWidth |
width |
N |
videoHeight |
height |
N |
- Device information event
IVY_CTRL_MSG_GET_PRODUCT_ALL_INFO = 42029
model |
model number |
N |
modelName |
name |
S |
productAllVersion |
product version |
N |
ambarellaFlag |
amba flag |
N |
ambarellaFlag:
bit0:hdr
bit1: wdr
bit2:ept
- Device expansion status changed
IVY_CTRL_MSG_EXT_STATE_CHG = 42032
ch |
Channel number |
N |
powerStatus |
power state |
N |
batteryLv |
Battery level |
N |
wifiLv |
Wifi signal level |
N |
temperature |
temperature |
N |
- The device plays the time up to the maximum event
IVY_CTRL_MSG_EXT_STATE_CHG = 42031
- Main stream parameter changed
IVY_CTRL_MSG_STREAM_PARAM_CHG = 42033
mainStreamType |
The current main stream uses parameter index |
N |
subStreamType |
The current sub stream uses parameter index |
N |
param |
Json array, The array content is an array of video parameters |
S |
bitRate |
bitRate |
N |
frameRate |
frameRate |
N |
GOP |
GOP |
N |
isVBR |
0:No 1:Yes |
N |
resolution |
resolution |
N |
- Sub stream parameter changed
IVY_CTRL_MSG_SUB_STREAM_PARAM_CHG = 42034
mainStreamType |
The current main stream uses parameter index |
N |
subStreamType |
The current sub stream uses parameter index |
N |
param |
Json array, The array content is an array of video parameters |
S |
bitRate |
bitRate |
N |
frameRate |
frameRate |
N |
GOP |
GOP |
N |
isVBR |
0:No 1:Yes |
N |
resolution |
Resolution |
N |
- Sub stream type changed
IVY_CTRL_MSG_SUB_STREAM_TYPE_CHG = 42036
streamType |
The mode used by the current stream(0-3)Corresponding to the video parameters used by the current device(13/14 event param) |
N |
- Main stream type changed
IVY_CTRL_MSG_STREAM_TYPE_CHG = 42035
streamType |
The mode used by the current stream(0-3)Corresponding to the video parameters used by the current device(13/14 event param) |
N |
- The volume changes
IVY_CTRL_MSG_VOLUME_CHG = 42038
vol |
volume value 0 - 99 |
N |
mute |
0:No mute 1:Mute |
N |
- Channel device status changed
IVY_CTRL_MSG_IPCLIST_CHG = 42020
raws |
State data, json array |
S |
channel |
Channel number |
N |
FB / FN / IN |
isOnline |
0:offline 1:online |
N |
FB / FN / IN |
appVer |
application firmware version |
N |
FB / FN / IN |
sysVer |
system firmware version |
N |
FB / FN / IN |
name |
name(BASE64 encode) |
N |
FB / FN / IN |
macAddr |
MAC |
N |
FB / FN / IN |
workState |
0:Normal 1:Stand by |
N |
FB / FN |
powerStatus |
0:Not charged 1:Charging 2:Full charge 3:Only adapter, no battery |
N |
FB / FN / IN |
batteryLevel |
level 0:Power 10% 1:Power 20% 2:Power 50% 3:Power 80% 4:Power 100% |
N |
FB / FN |
wifiLevel |
WIFI signal level (0-4) |
N |
FB / FN |
temperature |
temperature 0:Low temperature warning 1:Low temperature 2:Normal temperature 3:high temperature 4:High temperature warning |
N |
FB / FN |
protocol |
Protocol version |
N |
FN / FB |
- Channel device capability changes
IVY_CTRL_MSG_ABILITY_CHG = 42037
channel |
Channel number |
N |
language |
language |
N |
sensorType |
sensor type |
N |
wifiType |
wifi type |
N |
appVer |
Application firmware version |
N |
sysVer |
System firmware version |
N |
mcuVer |
MCU version |
N |
modelName |
model name |
N |
ability |
Bitwise 0:No support 1:Support |
N |
model |
model number |
N |
bit0 |
sd |
bit1 |
outdoor |
bit2 |
pt |
bit3 |
zoom |
bit4 |
rs485 |
bit5 |
ioAlarm |
bit6 |
onvif |
bit7 |
p2p |
bit8 |
wps |
bit9 |
audio |
bit10 |
talk |
bit11 |
amba motion |
- Device state changed
IVY_CTRL_MSG_EXT_STATE_CHG = 42032
channel |
Channel number |
N |
powerStatus |
Power state |
N |
batteryLv |
Battery level |
N |
wifiLv |
Wifi level |
N |
temperature |
Temperature |
N |
powerStatus / batteryLv / wifiLv / temperature reference IVY_CTRL_MSG_IPCLIST_CHG definition
- Upgrade event
IVY_CTRL_MSG_ONLINE_UPGRADE_STATE = 42019
state |
0:ok 1:upgrading 2:fail 3:File check ok |
N |
progress |
0-100 |
N |
Errno |
0:normal 1:Net error 2:File error 255:Device internal error |
N |
channel |
Channel number |
N |
- Remark
If the device on the channel is upgraded, there will be this field (if the value is -1, it means that the SDK did not find the correct channel number)
If you are upgrading the base station, there will be no channel field
- Play music state changed
IVY_CTRL_MSG_MUSIC_STATE_CHG = 42044
state |
state |
N |
mode |
mode |
N |
path |
Path |
N |
minutes |
|
N |
- Diconnect event
NET_STATE_DISCONNECT = 88
- Reconnect event
NET_STATE_RECONNECT = 89
ret |
0:Success Other:Fail |
N |
- Binding B1 process state event
IVY_CTRL_MSG_BIND_DEVICE_STATE_CHG = 42045
state |
state |
N |
channel |
Channel Number |
N |
mac |
mac |
S |
0 |
Unknown |
1 |
Enter WPS |
2 |
WPS success |
3 |
WPS timeout |
4 |
WPS fail |
5 |
Successful authentication |
6 |
Authentication failed |
7 |
The binding is successful, the pairing ends |
8 |
Binding failed |
- Alarm
IVY_CTRL_MSG_ALARM_CHG = 42047
alarmType |
Alarm type |
N |
FI / FN |
isEnableLocalAlarmRecod |
Local alarm enabled |
N |
FI |
localAlarmRecordSecs |
Duration of local alarm recording |
N |
FI |
channels |
The channel that generated the alarm, expressed in bits |
N |
FN |
0 |
Motion Detect Alarm |
1 |
Sound Alarm |
2 |
IO Alarm |
3 |
TEMPERATURE Alarm |
4 |
HUMIDITY Alarm |
8 |
BELLKEY Alarm (DoorBell,Press and release immediately to trigger) |
10 |
Leave Message Alarm (DoorBell,Long press 3s) |
11 |
Face Alarm (DoorBell, detect any face will trigger) |
If an alarm occurs, FoscamIPC or the doorbell will operate according to the alarm linkage, such as recording, emailing, cloud recording, etc. For the linkage of alarms, please refer to the linkage in IVY_CTRL_MSG_SET_MOTION_DETECT_CONFIG = 24031
- PC alaram
IVY_CTRL_MSG_PC_ALARM_CHG = 42049
isAlarming |
Is alarming 0:No 1:Yes |
N |
alarmType |
type |
N |
isEnablePCAudioAlarm |
0:off 1:on |
N |
alarmSecs |
|
N |
reserve |
reserve |
N |
0 |
Motion Detect Alarm |
1 |
Sound Alarm |
2 |
IO Alarm |
3 |
TEMPERATURE Alarm |
4 |
HUMIDITY Alarm |
8 |
BELLKEY Alarm (DoorBell,Press and release immediately to trigger) |
10 |
Leave Message Alarm (DoorBell,Long press 3s) |
11 |
Face Alarm (DoorBell, detect any face will trigger) |
- Device image color change
IVY_CTRL_MSG_IMAGE_COLOR_CHG = 42050
hue |
(0-100) |
N |
brightness |
(0-100) |
N |
contrast |
(0-100) |
N |
saturation |
(0-100) |
N |
sharpness |
(0-100) |
N |
- WDR changed
IVY_CTRL_MSG_WDR_CHG = 42051
- Download video progress
IVY_CTRL_MSG_RECORD_DOWNLOAD_PROGRESS = 2063
- White light state changes
IVY_CTRL_MSG_WHITE_LIGHT_STATE_CHG = 42053
mode |
0:auto 1:manual 2:schedule |
N |
state |
0:off 1:on |
N |
- Change of video stream type (switching between H264/H265)
IVY_CTRL_MSG_STREAM_FMT_CHG = 42055
streamType |
0: Main stream 1: Sub stream |
N |
streamFmt |
0:H264 1:H265 |
N |
- The status of the SD card changes, such as the SD card becomes full and becomes read-only, etc.
IVY_CTRL_MSG_SDCARD_STATE_CHG = 42058
0x00 |
SD card normal |
0x01 |
SD card not inserted |
0x02 |
SD card not mounted |
0x03 |
SD card read only |
0x04 |
Insufficient SD card space |
0x05 |
SD card unknown status |
0x06 |
Abnormal SD card status |
- Battery power changes
IVY_CTRL_MSG_BATTERY_QUANTITY_CHG = 42059
quantity |
power value (0-100, if 30 means 30%, and so on) |
N |
ischarge |
0: Not charging 1: Charging |
N |
chargeType |
0: Adapter charging 1: Solar charging (this field may not exist) |
N |
- Automatic/full color/black and white night vision mode settings change (this event will only occur on devices supported by V3 BIT8 or BIT29)
IVY_CTRL_MSG_LIGHT_VISION_CHG = 42060
Field |
Meaning |
Type |
II |
FI |
whiteLight |
0: The white light is not turned on 1: The white light is turned on |
N |
√ |
× |
lightVisionState |
Night vision mode bit0: automatic mode, bit1: full-color night vision, bit2: infrared night vision; if V3 BIT29 is supported, this value is 0, indicating that it is in the mode of turning off automatic/full-color/infrared |
N |
√ |
√ |
- Video source changed
IVY_CTRL_MSG_VIDEO_STREAM_SOURCE_CHG = 42061
channel |
Device channel number, if it is IPC, it can be ignored |
N |
src |
Current video source index |
N |
- Two-way video status changes
IVY_CTRL_MSG_VIDEO_CALL_STATUS_CHG = 42062
channel |
Device channel number, if it is IPC, it can be ignored |
N |
stat |
0-make a call, 1-cancel the call, 2-answer, 3-reject, 4-hang up |
N |
- Format SD card result event
IVY_CTRL_MSG_SDCARD_FORMAT_RESULT_CHG = 42063
formatResult |
0: formatting successful, -1: formatting failed |
N |
- Turn on two-way video events
IVY_CTRL_MSG_OPEN_SEND_CALL_RESP = 2074
Although this value is not within the scope of the event, this value is the result of turning on two-way video, and we give the result as an event.
ret |
0: Success, -13: Intercom occupied |
N |
文档更新时间: 2024-01-12 09:59 作者:庄小婵