Home > Software engineering >  Hikvision IVMS7000V4. 0 platform SDK external interface development kit?
Hikvision IVMS7000V4. 0 platform SDK external interface development kit?

Time:09-28

Software to butt, because of work requirements, hikvision camera streaming media broadcast live, hikvision manufacturer directly to a IVMS7000V4. 0 platform SDK external interface development kit, hikvision CMS platform has been set up good now, but when doing the development testing, find their own test program can not login, the following post login code, hope to have the development experience of a friend can help me with, thank you!


 Plat_Init ();//the return value of 0 

Int iUserhandle=Plat_LoginCMS (" 192.168.0.105 ", "admin", "12345", "80");//here can't get normal return value, leading to unable to login

Int nError=Plat_GetLastError ();

If (iUserhandle==1)
{
AfxMessageBox (_T (" user login fail "));
}

IUserhandle return to 1, normal should be above 0, Plat_GetLastError () returns a value of 0, says there are no mistakes, it is difficult to understand

CodePudding user response:

The following is a function that
Plat_Init
Function name intPlat_Init ()
Functional description initialized platform interface
Parameter specifies no
Return value successfully returns 0, error return 1
Note initialization interface call it only once, before calling any interface, you must call Plat_Init complete initialization,


User login
1.3 Plat_LoginCMS
Function name int Plat_LoginCMS (
Const char * cscmsURL,
Const char * csUserName,
Const char * csPSW,
Const char * csPort
Int iLoginType)
Functional description login to specify platform
Parameter specifies cscmsURL center management server address (e.g., "172.7.150.2")
CsUserName user name
CsPSW user password
CsPort login port (80)
ILoginType login type
The return value & gt; 0 is successful, returns a handle to a session, when the error return 1
Note the login type parameters as parameters, the default is 0

ILoginType defaults to 0

CodePudding user response:

You don't have to, ask manufacturer these internal thing not many people know

CodePudding user response:

Manufacturers have compiled exe file, have a try,

CodePudding user response:

The manufacturers, there are generally provide demo, you look at their demo how to fill out, and the right of the CMS configuration, if there is any license rights, etc.,
Best and hai kang developer communication, here it is hard to get concrete answers,
Security products, ah, it is a configuration is too much,, a configuration is wrong, have a problem,

CodePudding user response:

Reference the official SDK documentation, and sample programs

CodePudding user response:

Their own DEMO also not line, is to communicate with factory, with the development of sea kang communication more troublesome, must want to mail

CodePudding user response:

refer to 6th floor shmilyvly response:
their own DEMO also not line, is to communicate with manufacturer, to communicate with the development of the sea, more troublesome, must want to E-mail

This in addition to them, we basically no one knows, only push them more

CodePudding user response:

refer to 6th floor shmilyvly response:
their own DEMO also not line, is to communicate with manufacturer, to communicate with the development of the sea, more troublesome, must want to E-mail


The building Lord, you then can use? I also have this demand now, please give advice or comments!

CodePudding user response:

Best to find a way to have a phone, and I will there is a call for their research and development (罒 omega 罒)

CodePudding user response:

To the top! Also doing similar things

CodePudding user response:

Manufacturer's customer service telephone,

CodePudding user response:

The original poster is there, please the encapsulated SDK

CodePudding user response:

If the original poster with factory demo is an error, isn't it open port is wrong or not
  • Related