Please Tell me Mobile Server protocol "Command Channel"

Hello.

I am troubled to analyze logs of web application by MIP SDK.

Whe I send to command request , it responsed error code.

what is mean this error code ?

“ErrorCode 20 for command RequestStream”

“ErrorCode 14 for command CloseStream”

“ErrorCode 2147483646 for command ChangeStream.”

and can you teach me Error code list?

In the MIP Documentation you find the documentation for Mobile Server protocols. There is an appendix in which you find error codes.

In the MIP Documentation in the top bar click Protocol Integration, in the left hand pane find:

Mobile Server protocol

Sample Request/Response

Decoding frames

Logon and Credentials

Video Push

Command Channel

Video Channel

Appendix

Thank you!

And sorry for troubling you.

I saw Appendix of Mobile Server protocol.

but , I could not find “ErrorCode 2147483646 for command ChangeStream.”

------

If not successful, command response will output subset of the following:

0 = OK

1 = Not implemented

2 = Not fully implemented

10 = Bad command type

11 = Bad command kind

12 = Wrong connection ID

13 = Missing input parameter

14 = Wrong input parameter

15 = Incorrect user password

16 = Incorrect public key

17 = Surveillance server down

18 = License not valid

19 = Security error

20 = Unknown camera ID

21 = Unknown item ID

22 = No presets available

23 = Not allowed in this state

24 = Feature is disabled

25 = Insufficient user rights

26 = User limitation reached

27 = New configuration not available

28 = Addresses not reachable

29 = Playback streams limit reached

30 = Redirection

31 = Temporary Unavailable

32 = No Recordings found

33 = No Recordings found in specified time interval

Unknown - 21 = Incorrect server response

Unknown - 20 = Sdk not connected

Unknown - 11 = Http response error

Unknown - 10 = Http request error

0x7FFFFFFF = Unknown

Unknown – 2 = Command timed out

Unknown – 1 = Internal Error

2147483646 is actually 0x7FFFFFFE.

Looking into the documentation:

0x7FFFFFFF = Unknown

Unknown – 1 = Internal Error

So you received “Internal Error”.

--

In general “Unknown error” and “Internal error” should never happen if everything is okay.

In order to debug this situation we will need know what command has been sent to the server (wireshark with all the parameters), plus the version of the Mobile server.

With this information we can investigate what happened.

You’re correct, 2147483646 is actually 0x7FFFFFFE. But note the last digit is “E” not “F”.

Thank you very much.

I will close this question for answers.

First of all, I will review my processing to see if an internal error has occurred.

If processing is correct, we will post it as a separate question in the forum.