Mistake on this page?
Report an issue in GitHub or email us
test_params.h
1 /*
2  * Copyright (c) 2018, ARM Limited, All Rights Reserved
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License"); you may
6  * not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef TEST_PARAMS_H
19 #define TEST_PARAMS_H
20 
21 #ifndef MBED_CONF_APP_ECHO_SERVER_ADDR
22 #define ECHO_SERVER_ADDR "echo.mbedcloudtesting.com"
23 #else
24 #define ECHO_SERVER_ADDR MBED_CONF_APP_ECHO_SERVER_ADDR
25 #endif
26 
27 #ifndef MBED_CONF_APP_ECHO_SERVER_PORT
28 #define ECHO_SERVER_PORT 7
29 #else
30 #define ECHO_SERVER_PORT MBED_CONF_APP_ECHO_SERVER_PORT
31 #endif
32 
33 #ifndef MBED_CONF_APP_ECHO_SERVER_DISCARD_PORT
34 #define ECHO_SERVER_DISCARD_PORT 9
35 #else
36 #define ECHO_SERVER_DISCARD_PORT MBED_CONF_APP_ECHO_SERVER_DISCARD_PORT
37 #endif
38 
39 #ifndef MBED_CONF_APP_ECHO_SERVER_PORT_TLS
40 #define ECHO_SERVER_PORT_TLS 2007
41 #else
42 #define ECHO_SERVER_PORT_TLS MBED_CONF_APP_ECHO_SERVER_PORT_TLS
43 #endif
44 
45 #ifndef MBED_CONF_APP_ECHO_SERVER_DISCARD_PORT_TLS
46 #define ECHO_SERVER_DISCARD_PORT_TLS 2009
47 #else
48 #define ECHO_SERVER_DISCARD_PORT_TLS MBED_CONF_APP_ECHO_SERVER_DISCARD_PORT_TLS
49 #endif
50 
51 #endif //TEST_PARAMS_H
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.