|
展讯phonecommand动态链接库中的函数的详细说明谁有可以共享或者卖给我吗?谢谢!
- SP_EXPORT SP_HANDLE SP_API SP_CreatePhone (void *pLogUtil);
- SP_EXPORT void SP_API SP_ReleasePhone (SP_HANDLE hDiagPhone);
- // Property
- SP_EXPORT int SP_API SP_SetProperty (SP_HANDLE hDiagPhone, long lProperty, long lFlag, const void *lpValue);
- SP_EXPORT int SP_API SP_GetProperty (SP_HANDLE hDiagPhone, long lProperty, long lFlag, void *lpValue);
- // Open / Close Port
- SP_EXPORT int SP_API SP_BeginPhoneTest(SP_HANDLE hDiagPhone, PCCHANNEL_ATTRIBUTE pOpenArgument);
- SP_EXPORT int SP_API SP_EndPhoneTest (SP_HANDLE hDiagPhone);
- SP_EXPORT int SP_API SP_GetUsbPort (SP_HANDLE hDiagPhone);
- // Mode Operation
- SP_EXPORT int SP_API SP_EnterModeProcess (SP_HANDLE hDiagPhone,
- bool bUsbDevice,
- int nExpPort,
- RM_MODE_ENUM ePhoneMode,
- HANDLE hMonitorEvent,
- unsigned long ulTimeOut);
- SP_EXPORT int SP_API SP_ResetModeProcess (SP_HANDLE hDiagPhone,
- bool bUsbDevice,
- int nExpPort,
- RM_MODE_ENUM ePhoneMode,
- HANDLE hMonitorEvent,
- unsigned long ulTimeOut);
- SP_EXPORT int SP_API SP_StopModeProcess (SP_HANDLE hDiagPhone);
- SP_EXPORT int SP_API SP_RestartPhone (SP_HANDLE hDiagPhone, RM_MODE_ENUM ePhoneMode = RM_NORMAL_MODE);
- SP_EXPORT int SP_API SP_EnterDeepSleepMode(SP_HANDLE hDiagPhone);
- SP_EXPORT int SP_API SP_SetPhoneStartMode (SP_HANDLE hDiagPhone, RM_MODE_ENUM ePhoneMode);
- SP_EXPORT int SP_API SP_QueryCurrentMode(SP_HANDLE hDiagPhone, RM_MODE_ENUM *ePhoneMode);
- //
- SP_EXPORT int SP_API SP_PowerOff (SP_HANDLE hDiagPhone);
- SP_EXPORT int SP_API SP_ChangeModeNoReboot(SP_HANDLE hDiagPhone, RM_MODE_ENUM ePhoneMode);
- // Write / Read Operation
- SP_EXPORT int SP_API SP_Write(SP_HANDLE hDiagPhone, const void *lpValue, unsigned long nbrOfBytesToWrite);
- SP_EXPORT int SP_API SP_Read (SP_HANDLE hDiagPhone, void *lpValue, unsigned long nbrOfBytesToRead, unsigned long ulTimeOut);
复制代码 |
|