Description
Hi, this project i configured it for IoT-M487 kit from nuvoton in mbedapp.json but is throwing error for tlssocket as shown below
**"Compile [ 1.9%]: AWSClient.cpp
[Error] AWSClient.h@52,5: unknown type name 'TLSSocket'; did you mean 'TCPSocket'?
[Error] AWSClient.cpp@271,28: undeclared identifier 'TLSSocket' in destructor name
[Error] AWSClient.cpp@272,34: unknown type name 'TLSSocket'; did you mean 'TCPSocket'?
[Error] AWSClient.cpp@275,27: no member named 'set_hostname' in 'TCPSocket'
[Error] AWSClient.cpp@278,27: no member named 'set_client_cert_key' in 'TCPSocket'
[Error] AWSClient.cpp@284,27: no member named 'set_ca_chain' in 'TCPSocket'
[ERROR] In file included from .\mbed-client-for-aws\source\AWSClient.cpp:26:
./mbed-client-for-aws/include/AWSClient\AWSClient.h:52:5: error: unknown type name 'TLSSocket'; did you mean 'TCPSocket'?
TLSSocket socket;
^~~~~~~~~
TCPSocket
./mbed-os/connectivity/netsocket/include\netsocket/TCPSocket.h:33:7: note: 'TCPSocket' declared here
class TCPSocket : public InternetSocket {
^
.\mbed-client-for-aws\source\AWSClient.cpp:271:28: error: undeclared identifier 'TLSSocket' in destructor name
networkContext.socket.~TLSSocket();
^~~~~~~~~
TCPSocket
.\mbed-client-for-aws\source\AWSClient.cpp:272:34: error: unknown type name 'TLSSocket'; did you mean 'TCPSocket'?
new (&networkContext.socket) TLSSocket();
^~~~~~~~~
TCPSocket
./mbed-os/connectivity/netsocket/include\netsocket/TCPSocket.h:33:7: note: 'TCPSocket' declared here
class TCPSocket : public InternetSocket {
^
.\mbed-client-for-aws\source\AWSClient.cpp:275:27: error: no member named 'set_hostname' in 'TCPSocket'
networkContext.socket.set_hostname(hostname);
.\mbed-client-for-aws\source\AWSClient.cpp:278:27: error: no member named 'set_client_cert_key' in 'TCPSocket'
networkContext.socket.set_client_cert_key(creds.clientCrt,
~~~~~~~~~~~~~~~~~~~~~ ^
.\mbed-client-for-aws\source\AWSClient.cpp:284:27: error: no member named 'set_ca_chain' in 'TCPSocket'
networkContext.socket.set_ca_chain(&rootCA);
~~~~~~~~~~~~~~~~~~~~~ ^
6 errors generated."**
is this project support this target or how I can resolve this issue?