This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: DK-TM4C129X
I am using the base code as an example provided in ti rtos (though it is for another board) for establishing a https client on my target.
When the board it connected to ethernet, and i run the code, i get the error that host is not resolved.
To test, I tried to connect curl to my cloud server, and got the same error host is not resolved. Then i set the proxy settings for curl and i am able to connect curl to cloud via proxy tunnel.
Now i want to do the same on my target, ie to set proxy.
I am not able to find much documents or example on this. Can you please help, and guide me in the right direction.
Thanks a lot
mcu : tm4c129xnczad
I was able to set the proxy settings on this board.
I was able to do http get command from the target successfully.
My next concern is regarding the httpS client. I understand that the wolfssl has to be downloaded separately, build and then linked to my project(pls correct if i'm wrong). But the wiki page doesn't mention my board in Supported targets and products section.
Is it possible to create a HTTPS client on dk-tm4c129x??
Please guide me on this
In reply to a.v:
Best Regards,Bob Crosby
In reply to Bob Crosby:
In reply to ToddMullanix:
I was trying to build the wolfssl as mentioned in the wiki page: http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS#Build_Instructions
my wolfssl version is 3.11.0
but when i build it i get the following error regarding aes file
i understand that i have to change the configuration in the settings.h.
can me you tell me what is the correct configuration that has to be changed for ti rtos
this is how my products.mak file looks
# ======== products.mak ========
# Read the http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS
# for instructions to download the software required.
# XDC_INSTALL_DIR is the path to XDCtools directory.
XDC_INSTALL_DIR = C:/ti/xdctools_3_32_00_06_core
# BIOS_INSTALL_DIR is the path to TI-RTOS Kernel (SYS/BIOS) directory. If you
# have installed TI-RTOS, it is located in the products/bios_* path.
BIOS_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31
# NDK_INSTALL_DIR is the path to TI-RTOS NDK directory. If you have
# installed TI-RTOS, it is located in the products/ndk_* path.
NDK_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09
# TIVAWARE_INSTALL_DIR is the path to Tivaware driverlib directory. If you have
# installed TI-RTOS, it is located in the products/TivaWare_* path.
TIVAWARE_INSTALL_DIR = C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-18.104.22.168b
export XDCTOOLS_JAVA_HOME = C:/ti/ccsv6/eclipse/jre
# Define the code generation tools path for TI, IAR and GCC ARM compilers.
# If you have installed Code Composer Studio, the TI and GCC compiler are
# located in the ccsv*/tools/compiler/* path.
# Leave assignment empty to disable any toolchain.
ti.targets.arm.elf.M4F = C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.6.0.STS
a.vmy wolfssl version is 3.11.0
Our WolfSSL support for Tiva is limited to WolfSSL v3.9.6w. You can download that version (GPL licensed) of WolfSSL from their github.
Hope this helps.
In reply to Vikram Adiga:
I am stiil facing the same error after trying with version 3.9.6.w of wolfssl.
Can u suggest the correct configuration of the products.mak file and the solution to overcome this error.
i was able build the wolfssl correctly following this link: https://github.com/wolfSSL/wolfssl-examples/tree/master/tirtos_ccs_examples
My board is DK-TM4C129X
there is no example which i can use directly from resource explorer.
i have followed the above link and was able to build a https get project for my board without error.
when i run this i get an error
httpsTask: TLS create failed
i understand while using wolfssl on this board needs the certificate to be saved as a string.
uint8_t ca ="line1" "line2" "line3" "and so on";
tlsParams.ca = ca;//storage;
tlsParams.calen = strlen((const char*)ca);//strlen(SL_SSL_CA_CERT_FILE_NAME);
tls = TLS_create(TLS_METHOD_CLIENT_TLSV1_2, &tlsParams, NULL);
UARTprintf("httpsTask: TLS create failed");
cli.tls = tls;
is this the right format??
i had entered the certificate as such: my certificate geo trust golbal ca
uint8_t ca ="MIIDVDCCAjygAwIBAgIDAjRWMA0GCSqGSIb3DQEBBQUAMEIxCzAJBgNVBAYTAlVT\
with back slash at the end
i have added start sntp function now, but it waits forever on the semhandle semaphore.
if i comment this semaphore pend out i get current time as Current time: Thu Jan 1 00:00:00 1970
later code crashes at tls create.
this is my code format
#define NTP_HOSTNAME "22.214.171.124"#define NTP_PORT "123"#define NTP_SERVERS 3#define NTP_SERVERS_SIZE (NTP_SERVERS * sizeof(struct sockaddr_in))
my final aim is to connect to google firebase cloud.
Any help is appreciated
thanks a lot
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.