Need APIs to read file which is sent from android APP

ritesh
Posts: 29
Joined: Thu Nov 05, 2015 4:32 pm
Location: India
Contact:

Need APIs to read file which is sent from android APP

Postby ritesh » Mon Feb 22, 2016 12:13 pm

Hi,

I am using ESP8266 NONOS SDK 1.4.0 for my development purpose. My Project goal is to read file which is sent from android application and need to parse it and take LED ON/OFF action which are connected on different free GPIOs based on file content.

I understood that ESP8266 NONOS SDK is based on callback. I have also developed one dummy firmware to blink LEDs using software timer based on some perticular interval which works fine without any issue.

Now, I want to develop firmware as well as andoid app in such way that android app will connect with ESP8266 module and send one file to that ESP8266 module.

After that, Task of ESP8266 module is to read that file, parse that file and operate different LEDs which are connected on different GPIOs based on file content.

Does anyone has idea or information about how to read file and parse it into ESP8266 module?

Please let me know if anyone has any clue or information for that.

Regards,
Ritesh Prajapati
Regards,
Ritesh Prajapati

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Need APIs to read file which is sent from android APP

Postby ESP_Faye » Wed Mar 02, 2016 2:56 pm

Hi,

Can TCP connection help ?
Create a TCP connection between your android APP and ESP8266, send the data through WiFi.

ritesh
Posts: 29
Joined: Thu Nov 05, 2015 4:32 pm
Location: India
Contact:

Re: Need APIs to read file which is sent from android APP

Postby ritesh » Sat Aug 13, 2016 12:56 pm

Hi,

Thanks for Reply and sorry for late reply from myside.

I have did it successfully using TCP/IP connection in my project which works fine without any issue.

Regards,
Ritesh Prajapati
Regards,
Ritesh Prajapati

jannivial89
Posts: 1
Joined: Fri Mar 17, 2017 10:51 pm

Re: Need APIs to read file which is sent from android APP

Postby jannivial89 » Fri Mar 17, 2017 10:56 pm

I also did it successfully using TCP connections. Thanks for the wonderful project. I also used Wifi application on Vshare app (http://vshareappmarket.com) store Which works very well for me.

shawnm
Posts: 2
Joined: Fri Jun 04, 2021 1:08 pm

Re: Need APIs to read file which is sent from android APP

Postby shawnm » Fri Jun 04, 2021 1:14 pm

In this repository, you will find:

Azure samples for Espressif boards located in the samples folder.
Azure IoT SDK component for the ESP stable version located in the components folder. These components can be used in any ESP project which desires to connect to Azure IoT. Two versions of the component are provided within this repository:
Azure IoT SDK without PnP
Azure IoT SDK with PnP (preview)
If you are a beginner with Azure IoT or Espressif boards, please look at the Key Concepts section below.

In addition to the current ESP32 and ESP8266 hardware offerings, Espressif now offers the ESP32 Azure IoT Board, a development board that includes key sensors, OLED screen, and support for Wi-Fi & Bluetooth protocols. More information about this Azure certified board is available in the Azure IoT catalog.

For any questions or suggestions, please reply here i will assist you.

Source: Eden Der

Who is online

Users browsing this forum: No registered users and 186 guests