Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Revision 158:3adf725c0804, committed 2019-09-07
- Comitter:
- andrewboyson
- Date:
- Sat Sep 07 18:57:57 2019 +0000
- Parent:
- 157:b0bdb77e27f3
- Child:
- 159:3ebef2d02f7f
- Commit message:
- Added main routine for use, ultimately, by TLS and asynchronous decryption.
Changed in this revision
--- a/net.c Sun Sep 01 18:14:13 2019 +0000
+++ b/net.c Sat Sep 07 18:57:57 2019 +0000
@@ -174,6 +174,7 @@
int lastRestartPoint = RestartPoint;
RestartPoint = FAULT_POINT_NetMain;
LinkMain();
+ TcpMain();
Ar4Main();
Ar6Main();
Nr4Main();
--- a/tcp/http/httpshim/httpshim.c Sun Sep 01 18:14:13 2019 +0000 +++ b/tcp/http/httpshim/httpshim.c Sat Sep 07 18:57:57 2019 +0000 @@ -4,6 +4,7 @@ #include "tcp.h" #include "tcpbuf.h" #include "tls.h" +#include "led.h" /* The shim acts as the switch between TCP, TLS and HTTP.
--- a/tcp/tcp.c Sun Sep 01 18:14:13 2019 +0000
+++ b/tcp/tcp.c Sat Sep 07 18:57:57 2019 +0000
@@ -6,6 +6,10 @@
bool TcpTrace = false;
+void TcpMain()
+{
+ TlsMain();
+}
void TcpInit()
{
TcbInit();
--- a/tcp/tcp.h Sun Sep 01 18:14:13 2019 +0000 +++ b/tcp/tcp.h Sat Sep 07 18:57:57 2019 +0000 @@ -3,4 +3,5 @@ extern bool TcpTrace; -extern void TcpInit(void); \ No newline at end of file +extern void TcpInit(void); +extern void TcpMain(void); \ No newline at end of file