CycloneSSL with FreeRTOS

Hi, I am new to FreeRTOS and I am currently working on an ATMEL SAMV71 Xplained Board using Atmel Studio 7. My code includes CycloneSSL opensource code which uses FreeRTOS. The CycloneSSL with FreeRTOS works fine “as is” which allows me to access SSL/TLS websites and display on my serial port screen (Using printf() or Puts() etc…) When I try to add code to input a character or string using my keyboard with gets() or getc(), the program compiles and runs but goes through it as it will not accept keyboard input and displays garbage like this: “You entered: ¬%@ “. Am I missing something? Basically, I would like to input some text using my keyboard and display it on my serial port screen. Below is my simple code:
printf( "Enter an INPUT value!!! :rn");
gets(SerialInBuffer);            //gets () function reads line from keyboard.

printf( "nYou entered:rn ");
puts(SerialInBuffer);           
Please help. Thank you, George

CycloneSSL with FreeRTOS

Am I missing something?
Gosh – you are using a lot of code that we have not provided so really I would not know where to begin answering that question. What makes you think the problem is related to CycloneSSL? Where did you get the implementation of gets() and getc()? They are not things we provide and presumably are extremely port dependent – for example IO may be from a keyboard, USB port, serial port, anywhere – I’m afraid there is really no way we can do anything but guess what your problem may be so I would suggest either debugging the code if you wrote it yourself or asked whoever supplied the code.

CycloneSSL with FreeRTOS

Richard, Thank you for responding so quickly. I am not sure, but I believe the problem is not related to CycloneSSL and possibly the FreeRTOS that is included in the cycloneSSL? What kind of code do you provide that works with FreeRTOS that will allow me to enter characters from my keyboard into the serial monitor line. Do you have an example for ATMEL arm7 or samv71 or similar. Thank you George

CycloneSSL with FreeRTOS

This is a very non-portable thing, so we just have a very simple CLI library to which you need to port the input and output functions. There are several examples in the FreeRTOS and FreeRTOS Labs downloads with standard templates for serial and UDP IO where you just need to write the low level (i.e. serial string out and serial char in) routines. http://www.FreeRTOS.org/cli