Jump to content

Search the Community

Showing results for tags 'post'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 2 results

  1. Dear all, I would like to send over Wifi 350Kb of data using the "WiFiClient.print" API. Could you please let me know what is the maximum length of data I could send in every POST? Is it possible to increase it? Thanks in advance. Best, George
  2. offbeatmammal

    sending a POST message over SSL

    I am trying to talk to the Microsoft Azure Event Hub from Energia but I'm a little baffled! Using the WiFi library I seem to be getting a successful connect (returns true) but ... nothing seems to get posted... I am trying to build the message up as in this (javascript) example http://fabriccontroller.net/iot-with-azure-service-bus-event-hubs-authenticating-and-sending-from-any-type-of-device-net-and-js-samples/ but not seeing anything (even failed messages) reported in the event hub. I wanted to stick with Energia rather than switch to anything else, but after a couple of days banging my head on a wall I'm a little suck! Any ideas would be much appreciated (as I'm probably doing something dumb!) if there's a way to debug this / get error messages from the connection or the attempt to post that would be a huge help... Gotta use the Azure end point for this, so that's the one constant. char sas[] = "SharedAccessSignature {sig from the generation example}"; char serviceNamespace[] = "{ns}.servicebus.windows.net"; char hubName[] = "{hub}"; char deviceName[] = "device01"; void loop() { ////// WiFiClient client; float t = 10.1; client.stop(); // if there's a successful connection: if (client.connect(serviceNamespace, 443)) { Serial.println("connecting..."); // send the HTTP POST request: client.print("POST /"); client.print(hubName); client.print("/publishers/"); client.print(deviceName); client.println("/messages HTTP/1.1"); client.println("Host: www.arduino.cc"); client.println("Content-Type: application/atom+xml;type=entry;charset=utf-8"); client.print("Authorization: "); client.println(sas); client.println(); client.print("{ Temperature: "); client.print(t); client.println(" }"); client.println(); // note the time that the connection was made: delay(10000); } else { // if you couldn't make a connection: Serial.println("connection failed"); delay(1000000); } }
×