SMING is an open source framework for high efficiency native ESP8266 development.
Questions tagged [sming]
18 questions
1
vote
1 answer
Firmware download into ESP8266 with esptool
I am using ESP8266 Arduino with SPIFFS to store configuration settings.
This command is used for flashing the binary firmware.bin into ESP8266 for Arduino.
esptool.exe -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf firmware.bin
This command is…

guagay_wk
- 26,337
- 54
- 186
- 295
1
vote
1 answer
Equivalent of Arduino's yield(), delay() for ESP8266 with SMING framework
I am using SMING framework for ESP8266
yield(), delay() is used by ESP8266 Arduino to move processing to the CPU. THis reduces random resets when certain processes take too long. Does the SMING framework have equivalent functions for yield() and…
user6064424
1
vote
1 answer
Is there a way to use std::map in Sming IDE (ESP8266)?
I'm trying to use std::map in ESP8266 firmware developing with Sming 2.1.0 (on Windows 7 SP1) .
I've got following error:
undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
According to this…

Oleg
- 101
- 7
1
vote
1 answer
ESP8266 wireless sensor network with Sming framework
I am attempting to create a wireless sensor network using ESP8266 devices and the Sming framework. Most of the code I have currently got comes from the basic WiFi example. I have been able to establish connections between up to 3 devices and do not…

Thijs Riezebeek
- 1,762
- 1
- 15
- 22
1
vote
2 answers
Set ESP8266 Soft-AP signal strength
I am using ESP8266 SMING framework.
I would like to adjust the signal strength of the soft-ap. Are there any APIs to do this?

guagay_wk
- 26,337
- 54
- 186
- 295
1
vote
1 answer
Set global object from variable stored in SPIFFS in ESP8266
This is how I set this global object in the past.
MqttClient mqtt("192.168.1.8", 1883, msgRev);
I want to retrieve the IP address which is stored in spiffs and use it to declare this global object.
MqttClient mqtt(AppSettings.MQTTUWL, 1883,…

guagay_wk
- 26,337
- 54
- 186
- 295
1
vote
0 answers
Cannot enable AccessPoint with ESP8266
I am using ESP8266 with SMING ver2.1
To enable Access Point, I have the following code in init()
WifiAccessPoint.enable(true);
WifiAccessPoint.config("TestAP", "", AUTH_OPEN);
The above code works fine. However, when I run the code outside of…

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
Serial swap support in sming
Is serial swap supported in sming on esp8266? I looked through libraries but could not see any methods I thought was relevant.
If so are there any examples available?

Del
- 61
- 1
- 9
0
votes
1 answer
Keep TCP connection on permanently with ESP8266 TCP client
I am using the wifi chip ESP8266 with SMING framework.
I am able to establish a TCP connection as a client to a remote server. The code for initiating client connection to server is simple.
tcpClient.connect(SERVER_HOST,…

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
Get MQTT topics subscribed by ESP8266
I am using ESP8266 SMING framework as a MQTT client and using node.js mosca MQTT broker.
I noticed that sometimes, topics are not subscribed successfully. How can I get the list of topics that have been successfully subscribed to the mosca mqtt…

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
Maximum size of UART receive buffer for ESP8266
I am using SMING framework. What is the maximum size that the ESP8266 UART can receive at any one time? If I were to transmit a string of X bytes to ESP UART, what is the maximum size of X?

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
Difference between ESP8266 SMING TCP sendString() and writeString()
I am using ESP8266 with the SMING framework.
I found this sample code in the Telnet_TCPServer_TCPClient example.
bool tcpServerClientReceive (TcpClient& client, char *data, int size)
{
debugf("Application DataCallback : %s, %d bytes \r\n",…

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
Stop TCP server in ESP8266
I am using ESP8266 WiFi module with the SMING framework. I would like to stop a TCP server. This is how I started the TCP server;
tcpServer.listen(8018);
What is the code to stop it?

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
Resetting ESP8266 by software
I would like the ESP8266 WiFi module to reset itself after receiving a command via UART. Which code can one use to do that? Are there SDK functions like reset()?
I am using the SMING framework

guagay_wk
- 26,337
- 54
- 186
- 295
0
votes
1 answer
Make MQTT client connection to be always present
I am using ESP8266 chip and the SMING software framework MqttClient_Hello example.
I want the MQTT connection to always be present at all time. If for whatever reason the connection is broken, I would like a reconnection to take place. How can this…

guagay_wk
- 26,337
- 54
- 186
- 295