enable pppos in menuconfig
components -> lwip -> enable PPP support
also inside
do
notify call back
and
pap support
save build it will work
Search found 7 matches
- Tue Oct 15, 2019 4:30 am
- Forum: ESP-IDF
- Topic: PPPoS modem library
- Replies: 1
- Views: 5051
- Tue Sep 17, 2019 6:40 am
- Forum: Hardware
- Topic: sppiffs using up a lot of space
- Replies: 9
- Views: 13959
Re: sppiffs using up a lot of space
There does seem to be an issue with SPIFFS slowing down appending onto large files and ultimately failing. So maybe the thing to do is to have a series of files each capable of holding say 256 records. Indexing would still be pretty straightforward as the high byte of the index would select the fil...
- Tue Sep 17, 2019 6:18 am
- Forum: General Discussion
- Topic: SPIFFS fast enough for a one second data logger?
- Replies: 8
- Views: 13860
Re: SPIFFS fast enough for a one second data logger?
Hi ESP_Angus and ESP_igrr. Sorry to resurrect this thread, if possible could a simple example be shared of the correct way to initialize and do serial write to the internal flash device using the library. A simple example like writing a small string and reading it back from flash memory would do. SP...
- Fri Sep 13, 2019 7:14 am
- Forum: Hardware
- Topic: sppiffs using up a lot of space
- Replies: 9
- Views: 13959
Re: sppiffs using up a lot of space
Please try this code. main.c: #include <stdio.h> #include <string.h> #include <sys/unistd.h> #include <sys/stat.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "esp_system.h" #include "esp_err.h" #include "esp_log.h" #include "esp_spiffs.h" #i...
- Mon Sep 09, 2019 5:53 am
- Forum: Hardware
- Topic: sppiffs using up a lot of space
- Replies: 9
- Views: 13959
Re: sppiffs using up a lot of space
Why not use 1 file for all the records to maximise space efficiency? Decide on your maximum record size. Block in file is Length (4 bytes) + max size. Seek to record position (n x (4 + max Size) Read or write length + data Will try this method as well. Tried to put sixty records in a file and it wo...
- Fri Sep 06, 2019 3:52 am
- Forum: Hardware
- Topic: sppiffs using up a lot of space
- Replies: 9
- Views: 13959
Re: sppiffs using up a lot of space
Currently using default settings
SPIFFS_PAGE_SIZE = 256
SPIFFS_OBJ_NAME_LEN = 32
SPIFFS_MAX_PARTITIONS = 3
SPIFFS_CACHE enabled
SPIFFS_CACHE_WR enabled
SPIFFS_PAGE_SIZE = 256
SPIFFS_OBJ_NAME_LEN = 32
SPIFFS_MAX_PARTITIONS = 3
SPIFFS_CACHE enabled
SPIFFS_CACHE_WR enabled
- Thu Sep 05, 2019 6:48 am
- Forum: Hardware
- Topic: sppiffs using up a lot of space
- Replies: 9
- Views: 13959
sppiffs using up a lot of space
I want to write upto 8000 records into spiffs when there is no wifi and send the data when it connects to wifi. I have allocated 2 MB to SPIFSS, each record will be max of 256 bytes, it should support around 8192 records according to my calculations. I am creating a new file for each record like spi...