EmbDev.net

Forum: µC & Digital Electronics Curl Arduino nano


Author: Arduino fan (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello,
I have connected an Arduino nano with a nRF24L01 module. Can I simply 
use the command  curl or which library I need to include in my c code 
for this command?


Thank

: Moved by Moderator
Author: Stefan Us (stefanus)
Posted on:

Rate this post
0 useful
not useful
Curl is one of many HTTP command line clients designed to be executed on 
a desktop computer operating system.

What do you want to do?

Are we talking about programming the Arduino nano or programming the 
Linux/Windows/Mac Computer?

Author: Arduino fan (Guest)
Posted on:

Rate this post
0 useful
not useful
I want to program the Arduino by getting temperature from an one wire 
temp element and then update a variable via curl on my smarthome system. 
That's why I need the curl

Author: Clueless (Guest)
Posted on:

Rate this post
0 useful
not useful
There are many, many, many Arduino examples doing just that: Read a 
DS18B20 One-Wire Sensor, store that information by HTTP-Put into the 
cloud/on a RasPi/HomeServer/NAS/...

However those examples tend to use a ESP8266 (or to run on the ESP8266 
entirely), because with that Wifi module TCP/IP is already taken care 
of.

Not sure how you want to use HTTP over nRF24, you have a second Arduino 
with another nRF24-Chip somewhere connected to the Network?

If TCP is taken care of: You can't use curl on the Arduino. Similar 
functionality is, for example, provided by the "HttpClient"-Arduino 
library.

https://github.com/amcewen/HttpClient

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig