The input configuration of avServStartEx
- Parameters
-
| cb | [in] The check byte of this structure. |
| iotc_session_id | [in] The session ID of the IOTC session to create AV server |
| iotc_channel_id | [in] The channel ID of the channel to create AV server |
| timeout_sec | [in] The timeout for this function in unit of second. Specify it as 0 will make AV server start process wait until an AV client connects successfully. |
| server_type | [in] The user-defined service type. An AV client will get this value when it invokes avClientStart() successfully. |
| resend | [in] Enabling the Resend mechanism or not |
| security_mode | [in] Security mode with options |
| password_auth | [in] The function pointer of password authentication function |
| token_auth | [in] The function pointer of token authentication function |
| token_request | [in] The function pointer will be called if avClientRequestTokenWithIdentity is called in client side to request a token |
| token_delete | [in] The function pointer will be called if avClientRequestDeleteTokenWithIdentity is called in client side to delete a token |
| identity_array_request | [in] The function pointer will be called if avClientRequestIdentityArray is called in client side to request the identity list |
| ability_request | [in] The function pointer will be called if avClientRequestServerAbility is called in client side to request server ability |
| change_password_request | [in] The function pointer will be called if avClientRequestChangeServerPassword is called in client side to request server change password |
| dtls_cipher_suites | [in] Setup DTLS cipher suites. Please use the name of cipher suites from OpenSSL and ":" to separate each cipher suite. If you are using mbedtls as 3rd party library, currently, we only support setting it as "PSK-AES128-CBC-SHA256". |