Search found 5 matches
- Mon Feb 11, 2019 5:38 pm
- Forum: ESP8266 SDK
- Topic: ESP8266_RTOS_SDK_v2.x.x => Problem using configTime and getting time
- Replies: 4
- Views: 1293
Re: ESP8266_RTOS_SDK_v2.x.x => Problem using configTime and getting time
I initialize sntp like this #include "apps/sntp.h" #include "apps/sntp_time.h" #include "apps/time.h" . . . updateTime(60*60000); sntp_setoperatingmode(SNTP_OPMODE_POLL); sntp_setservername(0, "pool.ntp.org"); sntp_set_timezone(user_timezone); // user defined ...
- Mon Feb 11, 2019 1:50 am
- Forum: ESP8266 SDK
- Topic: LWIP connect/write/read stuck
- Replies: 0
- Views: 1523
LWIP connect/write/read stuck
Hello, I am using ESP8266_RTOS_SDK_v2.x.x LWIP library to connect to a remote server. I have a client task which calls a function to send some data to the server. The function is basically identical to the local_ota_begin() function which can be found in ota_demo example. It creates a socket, then c...
- Thu Apr 05, 2018 6:15 am
- Forum: ESP8266 SDK
- Topic: How to guard time critical sections from RTOS interrupts?
- Replies: 4
- Views: 2436
How to guard time critical sections from RTOS interrupts?
I'm using ESP8266_RTOS_SDK and the 1-Wire bus to connect with DS18B20 temperature sensors. When the wifi is in STATION_MODE there are occasional CRC errors when reading the temperature value from the sensors. When the wifi is turned off (i.e. in NULL_MODE) there are no errors at all. The 1-wire bus ...
- Mon May 15, 2017 4:29 am
- Forum: ESP8266 SDK
- Topic: How to configure spiffs in singleton mode
- Replies: 3
- Views: 1714
Re: How to configure spiffs in singleton mode
Thanks for the reply. The documentation on the SPIFFS filesystem I was talking about is on https://github.com/pellepl/spiffs . The provided test code works with 2 file systems simultaneously existing on the flash (FS1 and FS2), each of them having its own address and size. The test code was built ba...
- Thu May 04, 2017 7:38 pm
- Forum: ESP8266 SDK
- Topic: How to configure spiffs in singleton mode
- Replies: 3
- Views: 1714
How to configure spiffs in singleton mode
Hi, I'm trying to figure out how to use SPIFFS in the 'singletone' mode, as explained in spiffs_config.h: // Enable if only one spiffs instance with constant configuration will exist // on the target. This will reduce calculations, flash and memory accesses. // Parts of configuration must be defined...