Search the Community

Showing results for tags 'http'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


  • Community Calendar

Found 6 results

  1. I am interfacing LM35 and SIM900 using MSP430F5529 board . For this purpose i am using Energia software . As we all know arduino code is compatible in Energia . Hence , I have used the same code that i used in Arduino Uno . The code works fine and i get my thingspeak channel updated with every HTTP request however , when i use Energia , it doesnt show any error , neither does it show/update my thingspeak channel . I had used Pin 7 and 8 for receiving and transmitting in Arduino . In Msp430 , I have used Pin P3.4 and P3.3 for receiving and transmitting . My Energia code is as follows - #include <SoftwareSerial.h> #include <String.h> SoftwareSerial mySerial(P3_4, P3_3); boolean pin2=LOW,pin3=LOW,pin4=LOW,pin5=LOW,pin6=LOW; float temp=0.0; void setup() { mySerial.begin(9600); // the GPRS baud rate Serial.begin(9600); // the GPRS baud rate pinMode(2,INPUT); pinMode(3,INPUT); pinMode(4,INPUT); pinMode(5,INPUT); pinMode(6,INPUT); delay(1000); } void loop() { temp=analogRead(A0); temp=temp*0.4887; delay(2); Send2Pachube(); if (mySerial.available()) Serial.write(; } void Send2Pachube() { mySerial.println("AT"); delay(1000); mySerial.println("AT+CPIN?"); delay(1000); mySerial.println("AT+CREG?"); delay(1000); mySerial.println("AT+CGATT?"); delay(1000); mySerial.println("AT+CIPSHUT"); delay(1000); mySerial.println("AT+CIPSTATUS"); delay(2000); mySerial.println("AT+CIPMUX=0"); delay(2000); ShowSerialData(); mySerial.println("AT+CSTT=\"aircelgprs\"");//start task and setting the APN, delay(1000); ShowSerialData(); mySerial.println("AT+CIICR");//bring up wireless connection delay(3000); ShowSerialData(); mySerial.println("AT+CIFSR");//get local IP adress delay(2000); ShowSerialData(); mySerial.println("AT+CIPSPRT=0"); delay(3000); ShowSerialData(); mySerial.println("AT+CIPSTART=\"TCP\",\"\",\"80\"");//start up the connection delay(6000); ShowSerialData(); mySerial.println("AT+CIPSEND");//begin send data to remote server delay(4000); ShowSerialData(); String str="GET" + String(temp); mySerial.println(str);//begin send data to remote server delay(4000); ShowSerialData(); mySerial.println((char)26);//sending delay(5000);//waitting for reply, important! the time is base on the condition of internet mySerial.println(); ShowSerialData(); mySerial.println("AT+CIPSHUT");//close the connection delay(100); ShowSerialData(); } void ShowSerialData() { while(mySerial.available()!=0) Serial.write(; }
  2. We are the creators of Mongoose - the most popular networking library. Mongoose supports HTTP, WebSocket, MQTT, CoAP, DNS, mDNS/DNS-SD (local device discovery) - both client and server mode. It works on top of SimpleLink and provides quite rich networking functionality. Together with the port, we provide a CCS example for MSP432 : We are looking for a feedback, and requests for ports to other devices.
  3. Hi, I am using the web client demo to send an HTTP GET request to a web server to read the data in json format. However the web server returns an error code 301 page moved error. How do I redirect my request to the new location? Does the ethernet library for TIVA support SSL HTTP GET requests?
  4. Hi there I have been testing CC3200 launchpad for IOT applications. Have been able to sucessfully post temperature data message using mqtt to and read on Bluemix. Having difficulties to post data to SAP hana cloud platform that accepts HTTP Push with authentication header in json format. Have made setting on SAP side and tested using Postman (Chrome) and Hurl to push HTTP messages. Does any one have an idea on the code using Energia. Thanks Sunny
  5. Below is a link to the port of the Arduino Library HTTPClient for Energia/MSP430. It works with the latest version of Energia with F5529LP + CC3000 BoosterPack. Simply download/clone the library into the hardware/msp430/libraries folder of Energia and the library will appear upon restart. The library makes it easy to interact with web servers using Energia/MSP430. The included example shows how to download a webpage (, check http response codes and display the content of the downloaded webpage. GitHub Link:
  6. I am not sure if i am doing something wrong or if i have my environment setup wrong.. I have just pulled down and done a build of energia ( git clone /opt/ && cd /opt/ && ant linux64-build && ant linux64-run) It seemed to work fine when my daughter and I wrote her little whiskerbot, when I try to load up the sample simpleWebServer prog, i get compile errors. Here is what i have worked through so far - but now my limited C++ skills are shining through.. $ diff /opt/ ~/sketchbook/simpleWebServerTEST/simpleWebServerTEST.ino 1,6c1 < // Enter here the name (=SSID) and password of your WiFi LAN < < #define WLAN_SSID "energia" // cannot be longer than 32 characters! < #define WLAN_PASS "supersecret" < < /* --- > /* 24c19,22 < #include "WiFi.h" --- > //#include "WiFi.h" > #include "/opt/" > #include "/opt/" > #include "/opt/" // TROUBLESHOOT - dont know if i need this. 26,27c24,25 < char ssid[] = WLAN_SSID; // your network SSID (name) < char pass[] = WLAN_PASS; // your network SSID (name) --- > char ssid[] = "mah-ssid"; // your network SSID (name) > char pass[] = "mah-passphrase"; // your WPA passphrase 36,39c34,39 < WiFi.setCSpin(18); // 18: P2_2 @ F5529, PE_0 @ LM4F/TM4C < WiFi.setENpin(2); // 2: P6_5 @ F5529, PB_5 @ LM4F/TM4C < WiFi.setIRQpin(19); // 19: P2_0 @ F5529, PB_2 @ LM4F/TM4C < --- > // WiFi.setCSpin(P2_2); // changing these to match up with the cc3000BOOST pinout > // WiFi.setENpin(P6_5); > // WiFi.setIRQpin(P2_0); > WiFi.setCSpin(PE_0); > WiFi.setENpin(PB_5); > WiFi.setIRQpin(PB_2); here are my compile errors: simpleWebServer.cpp.o: In function `printWifiData()': /opt/ undefined reference to `WiFiClass::localIP()' /opt/ undefined reference to `WiFiClass::macAddress(unsigned char*)' /opt/ undefined reference to `WiFiClass::firmwareVersion()' /opt/ undefined reference to `WiFiClass::subnetMask()' /opt/ undefined reference to `WiFiClass::gatewayIP()' /opt/ undefined reference to `WiFiClass::SSID()' /opt/ undefined reference to `WiFiClass::hostByName(char const*, IPAddress&)' /opt/ undefined reference to `WiFi' simpleWebServer.cpp.o: In function `setup': /opt/ undefined reference to `WiFiClass::setCSpin(unsigned char)' /opt/ undefined reference to `WiFiClass::setENpin(unsigned char)' /opt/ undefined reference to `WiFiClass::setIRQpin(unsigned char)' /opt/ undefined reference to `WiFiClass::begin(char*, char const*)' /opt/ undefined reference to `WiFiServer::begin()' /opt/ undefined reference to `WiFi' simpleWebServer.cpp.o: In function `__static_initialization_and_destruction_0': /opt/ undefined reference to `WiFiServer::WiFiServer(unsigned short)' /opt/ undefined reference to `WiFiClient::WiFiClient()' simpleWebServer.cpp.o: In function `loop': /opt/ undefined reference to `WiFiServer::available()' /opt/ undefined reference to `WiFiClient::operator bool()' /opt/ undefined reference to `WiFiClient::connected()' /opt/ undefined reference to `WiFiClient::available()' /opt/ undefined reference to `WiFiClient::read()' /opt/ undefined reference to `WiFiClient::stop()' collect2: error: ld returned 1 exit status Is my environment misconfigured or am i just jumping the gun with the SimpleLink stuff and should cool down while you guys work on it? edited for typos.