config-SimpleClient.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /* config-RTX-TCP-FS.h
  2. *
  3. * Copyright (C) 2006-2015 wolfSSL Inc.
  4. *
  5. * This file is part of wolfSSL. (formerly known as CyaSSL)
  6. *
  7. * wolfSSL is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * wolfSSL is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  20. */
  21. /**** CyaSSL for KEIL-RL Configuration ****/
  22. #define __CORTEX_M3__
  23. #define CYASSL_MDK_ARM
  24. #define NO_WRITEV
  25. #define NO_CYASSL_DIR
  26. #define NO_MAIN_DRIVER
  27. #define CYASSL_DER_LOAD
  28. #define HAVE_NULL_CIPHER
  29. #define HAVE_KEIL_RTX
  30. #define CYASSL_CMSIS_RTOS
  31. #define CYASSL_KEIL_TCP_NET
  32. // <<< Use Configuration Wizard in Context Menu >>>
  33. // <h> Build Target: Simple Client
  34. // <s.15>Callee IP Address
  35. // <i> Default: "192.168.1.100"
  36. #define CYASSL_CALLEE_IP "192.168.11.3"
  37. // <s.15>Callee Port Number
  38. // <i> Default: "443"
  39. #define CYASSL_CALLEE_PORT "443"
  40. // <o>HTTP GET Option <0=> HTTP Get <1=> SSL/TLS Message
  41. #define MDK_CONF_HTTP_GET 0
  42. #if MDK_CONF_HTTP_GET == 0
  43. #define CYASSL_HTTP_GET "-g"
  44. #define CYASSL_HTTP_GET_COUNT 1
  45. #elif MDK_CONF_HTTP_GET == 1
  46. #define CYASSL_HTTP_GET ""
  47. #define CYASSL_HTTP_GET_COUNT 0
  48. #endif
  49. // <o>SSL/TLS Version <0=> SSL3 <1=> TLS 1.0 <2=> TLS 1.1 <3=> TLS 1.2
  50. #define MDK_CONF_SSL_VERSION 3
  51. #if MDK_CONF_SSL_VERSION == 0
  52. #define CYASSL_SSL_VER "0"
  53. #elif MDK_CONF_SSL_VERSION == 1
  54. #define CYASSL_SSL_VER "1"
  55. #elif MDK_CONF_SSL_VERSION == 2
  56. #define CYASSL_SSL_VER "2"
  57. #elif MDK_CONF_SSL_VERSION == 3
  58. #define CYASSL_SSL_VER "3"
  59. #endif
  60. // </h>
  61. // <<< end of configuration section >>>