Jump to content
43oh

JINU

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by JINU

  1. Hi, In http client demo works fine ,when i POST data in https got 400 error,can any suggest How to POST data in HTTPS. https post method works fine in energia ,but not in CCS ide ,below i added functions in the code int connectToServer(HTTPCli_Handle httpClient) { long retVal=-1; unsigned long g_ulDestinationIp=0; struct sockaddr_in addr; int iAddrSize; if(cur_DestinationIP==0){ retVal=sl_NetAppDnsGetHostByName((signed char *)HOST_NAME, strlen((const char *)HOST_NAME), &cur_DestinationIP, SL_AF_INET); if(retVal<0){
  2. in energia 15 it worked //#include <stdlib.h> #include "inc/hw_types.h" #include "inc/hw_wdt.h" #include "driverlib/wdt.h" #include "driverlib/utils.h" #include "driverlib/prcm.h" #include "driverlib/interrupt.h" #include "inc/hw_ints.h" volatile unsigned long g_ulWatchdogCycles = 0; typedef void (*fAPPWDTDevCallbk)(); #define WD_PERIOD_MS 1000 #define SYS_CLK 80000000 #define MILLISECONDS_TO_TICKS(ms) ((SYS_CLK/1000) * (ms)) void WDT_IF_Init(fAPPWDTDevCallbk fpAppWDTCB, unsigned int uiReloadVal); void setup() { boolean bRetcode; Serial.begin(11520
  3. Above code works in energia version 18,but not in energia version 15. in energia 15 i am getting error sketch_oct26a.ino:1:20: fatal error: hw_wdt.h: No such file or directory compilation terminated.
  4. did anyone done watchdog program in energia for cc3200?please attach sample code
  5. Hi sir, multitask serial sample code in energia 17 is not working ,when serial0 changed to serial1.below i added code.please help me . void setup() { Serial1.begin(115200); } void loop() { Serial1.print("Task 1 millis: "); Serial1.println(millis()); delay(1000); } void setup2() { Serial1.begin(115200); } void loop2() { Serial1.print("Task 2 millis: "); Serial1.println(millis()); delay(500); }
  6. multi blink led sample code not running in energia17 ,but in energia 18 it compile successfully ,not worked in cc3200 launchpad. error energia 17 below E:\CC3200 SOFTWARE\energia-0101E0017\tools\common\bin\make --no-print-directory -C C:\Users\jinu\AppData\Local\Temp\build8061049072470418679.tmp\ -f E:\CC3200 SOFTWARE\energia-0101E0017\hardware\common\Makefile E:\CC3200 SOFTWARE\energia-0101E0017\hardware\common\Makefile:19: E:\CC3200: No such file or directory E:\CC3200 SOFTWARE\energia-0101E0017\hardware\common\Makefile:19: SOFTWARE\energia-0101E0017/hardware/cc3200emt/variant
×
×
  • Create New...