Skip to content

Commit

Permalink
Upload http-server 3.2.0.1837 [2644]
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlab-runner committed Aug 2, 2024
1 parent f185307 commit 354c306
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 36 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ It supports RESTful methods such as GET, PUT, and POST for the client to communi
* [XMC7200D-E272K8384 kit (KIT-XMC72-EVK)](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc72_evk/)
* [XMC7200D-E272K8384 kit (KIT_XMC72_EVK_MUR_43439M2)](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc72_evk/)
* [CYW955913EVK-01 Wi-Fi Bluetooth® Prototyping Kit (CYW955913EVK-01)](https://www.infineon.com/CYW955913EVK-01)
* [PSoC™ 62S2 evaluation kit (CY8CEVAL-062S2-CYW955513SDM2WLIPA)]( https://www.infineon.com/cms/en/product/evaluation-boards/cy8ceval-062s2/ )

## Supported Frameworks
This middleware library supports ModusToolbox™ framework:
Expand Down Expand Up @@ -59,7 +60,7 @@ To pull ethernet-core-freertos-lwip-mbedtls and http-server libraries create the

- A set of pre-defined configuration files have been bundled with the wifi-core-freertos-lwip-mbedtls library for FreeRTOS, lwIP, and mbed TLS. Review the configuration and make the required adjustments. See the "Quick Start" section in [README.md](https://github.com/Infineon/wifi-core-freertos-lwip-mbedtls/blob/master/README.md).
- If the application is using bundle library then the configuration files are in the bundle library. For example if the application is using Wi-Fi core freertos lwip mbedtls bundle library, the configuration files are in wifi-core-freertos-lwip-mbedtls/configs folder. Similarly if the application is using Ethernet Core FreeRTOS lwIP mbedtls library, the configuration files are in ethernet-core-freertos-lwip-mbedtls/configs folder.
- Define following COMPONENTS in the application's makefile for the HTTP Server Library.
- Define following COMPONENTS in the application's Makefile for the HTTP Server Library.
```
COMPONENTS=FREERTOS MBEDTLS LWIP SECURE_SOCKETS
```
Expand All @@ -69,10 +70,14 @@ To pull ethernet-core-freertos-lwip-mbedtls and http-server libraries create the
DEFINES+=ENABLE_HTTP_SERVER_LOGS
```
- Call the `cy_log_init()` function provided by the *cy-log* module. cy-log is part of the *connectivity-utilities* library. See [connectivity-utilities library API documentation](https://Infineon.github.io/connectivity-utilities/api_reference_manual/html/group__logging__utils.html) for cy-log details.
- Define the following macro in application's makefile to configure the maximum number of HTTP server resources to 'N':
- Define the following macro in application's Makefile to configure the maximum number of HTTP server resources to 'N':
```
DEFINES+=MAX_NUMBER_OF_HTTP_SERVER_RESOURCES=<N>
```
- Define the following macro in application's Makefile to configure the socket receive timeout in 'N' milliseconds. Default value is set to 10ms.
```
DEFINES+=HTTP_SERVER_SOCKET_RECEIVE_TIMEOUT=<N>
```
## Additional Information
* [HTTP Server RELEASE.md](./RELEASE.md)
Expand Down
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Refer to the [README.md](./README.md) for a complete description of the HTTP ser

## Changelog

### v3.2.0
* Added support for CY8CEVAL-062S2-CYW955513SDM2WLIPA kit

### v3.1.0
* Added support for CYW955913EVK-01 kit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@
<tr class="memitem:ga6e47b484776a72216039a2af358bcedc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__http__server__defines.html#ga6e47b484776a72216039a2af358bcedc">MAX_NUMBER_OF_HTTP_SERVER_RESOURCES</a>&#160;&#160;&#160;(10)</td></tr>
<tr class="memdesc:ga6e47b484776a72216039a2af358bcedc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max number of resources supported by the HTTP server. <a href="group__http__server__defines.html#ga6e47b484776a72216039a2af358bcedc">More...</a><br /></td></tr>
<tr class="separator:ga6e47b484776a72216039a2af358bcedc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41d2ebeee2e999e03d23b41df5635b64"><td class="memItemLeft" align="right" valign="top"><a id="ga41d2ebeee2e999e03d23b41df5635b64" name="ga41d2ebeee2e999e03d23b41df5635b64"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>HTTP_SERVER_SOCKET_RECEIVE_TIMEOUT</b>&#160;&#160;&#160;(10)</td></tr>
<tr class="memdesc:ga41d2ebeee2e999e03d23b41df5635b64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Socket receive timeout in milliseconds. <br /></td></tr>
<tr class="separator:ga41d2ebeee2e999e03d23b41df5635b64"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga7f11e40b478453160843230b18ee3857" name="ga7f11e40b478453160843230b18ee3857"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ var group__http__server__defines =
[ "CY_RSLT_HTTP_SERVER_ERROR_PARTIAL_RESULTS", "group__http__server__defines.html#ga7f11e40b478453160843230b18ee3857", null ],
[ "CY_RSLT_HTTP_SERVER_PAGE_DATABASE_FULL", "group__http__server__defines.html#ga9984e926fea988cbf4872348e2370c55", null ],
[ "CY_RSLT_ERROR", "group__http__server__defines.html#gaf18faa0179a6087e4b03d9a81d02010e", null ],
[ "MAX_NUMBER_OF_HTTP_SERVER_RESOURCES", "group__http__server__defines.html#ga6e47b484776a72216039a2af358bcedc", null ]
[ "MAX_NUMBER_OF_HTTP_SERVER_RESOURCES", "group__http__server__defines.html#ga6e47b484776a72216039a2af358bcedc", null ],
[ "HTTP_SERVER_SOCKET_RECEIVE_TIMEOUT", "group__http__server__defines.html#ga41d2ebeee2e999e03d23b41df5635b64", null ]
];
Loading

0 comments on commit 354c306

Please sign in to comment.