]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Labs/Source/FreeRTOS-Plus-TCP/include/FreeRTOS_IP.h
Sync FreeRTOS-Labs -CLI -TCP -Trace with the version in FreeRTOS-Plus.
[freertos] / FreeRTOS-Labs / Source / FreeRTOS-Plus-TCP / include / FreeRTOS_IP.h
index f8019a779fcab54b3b093ed904647f54600a4a12..6bfb4ad423fab695f959f3a4bfa30251310a9a6d 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
- * FreeRTOS+TCP 191100 experimental\r
- * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
+ * FreeRTOS+TCP V2.2.0\r
+ * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
  * this software and associated documentation files (the "Software"), to deal in\r
@@ -275,6 +275,15 @@ void FreeRTOS_ClearARP( void );
 #endif /* ipconfigDHCP_REGISTER_HOSTNAME */\r
 \r
 \r
+/* This xApplicationGetRandomNumber() will set *pulNumber to a random number,\r
+and return pdTRUE. When the random number generator is broken, it shall return\r
+pdFALSE.\r
+The function is defined in 'iot_secure_sockets.c'.\r
+If that module is not included in the project, the application must provide an\r
+implementation of it.\r
+The macro's ipconfigRAND32() and configRAND32() are not in use anymore. */\r
+BaseType_t xApplicationGetRandomNumber( uint32_t *pulNumber );\r
+\r
 /* For backward compatibility define old structure names to the newer equivalent\r
 structure name. */\r
 #ifndef ipconfigENABLE_BACKWARD_COMPATIBILITY\r