Search found 13 matches
- Mon Sep 23, 2019 7:55 pm
- Forum: ESP IoT Solution
- Topic: What can cause this "wifi: tx null, bss is null"
- Replies: 0
- Views: 3541
What can cause this "wifi: tx null, bss is null"
I am currently using an ESP32 WROVER chip, and periodically puts the chip to sleep (to save power) for about 10 mins. When it wakes up, it checks if an access point is within the vicinity and tries to connect to it. The weird part is that the chip can get into this state where it fails to connect to...
- Fri Sep 28, 2018 3:04 am
- Forum: General Discussion
- Topic: Missing function implementations: fstatat, openat, readlinkat, fdopendir, getpwuid_r, getgrgid_r
- Replies: 3
- Views: 4661
Re: Missing function implementations: fstatat, openat, readlinkat, fdopendir, getpwuid_r, getgrgid_r
@ESP_Sprite thanks for the reply. That's exactly what I am doing at the moment. I am trying to write the wrappers for some of the missing functions.
- Fri Sep 28, 2018 3:02 am
- Forum: General Discussion
- Topic: Missing function implementations: fstatat, openat, readlinkat, fdopendir, getpwuid_r, getgrgid_r
- Replies: 3
- Views: 4661
Re: Missing function implementations: fstatat, openat, readlinkat, fdopendir, getpwuid_r, getgrgid_r
Add getpwuid() to that list. pwd.h says it has an implementation, but during compile, it cannot like to the function implementation.
- Fri Sep 28, 2018 1:39 am
- Forum: General Discussion
- Topic: Error: implicit declaration of function 'siglongjmp'
- Replies: 2
- Views: 4504
Re: Error: implicit declaration of function 'siglongjmp'
thank you. will try it.
- Fri Sep 28, 2018 1:38 am
- Forum: General Discussion
- Topic: Missing function implementations: fstatat, openat, readlinkat, fdopendir, getpwuid_r, getgrgid_r
- Replies: 3
- Views: 4661
Missing function implementations: fstatat, openat, readlinkat, fdopendir, getpwuid_r, getgrgid_r
Is there a way to get the actual implementations of these function into the ESP library? I'm stumped.
- Fri Sep 28, 2018 1:32 am
- Forum: General Discussion
- Topic: Change stdin/stdout during runtime
- Replies: 9
- Views: 15631
Re: Change stdin/stdout during runtime
Here you go: const char* uart_dev = "/dev/uart/0" static new_transmit_fn(); /*! Switch the standard input/output streams to the * implementation in telnet. */ void switch_file_stream_to_telnet(void) { fflush(stdin); fclose(stdin); // Tell VFS to telnet's virtual tx/rx functions esp_vfs_dev_uart_use_...
- Thu Sep 13, 2018 11:12 pm
- Forum: General Discussion
- Topic: Error: implicit declaration of function 'siglongjmp'
- Replies: 2
- Views: 4504
Error: implicit declaration of function 'siglongjmp'
I am porting a function that calls siglongjmp(). I have included the <setjmp.h>, which includes the machine implementation of the <machine/setjmp.h>, which has the definition for the siglongjmp(). But for some reason it still just keeps throwing me that error.
Any ideas?
Any ideas?
- Mon Aug 20, 2018 3:53 am
- Forum: General Discussion
- Topic: Change stdin/stdout during runtime
- Replies: 9
- Views: 15631
Re: Change stdin/stdout during runtime
Solution, change the linenoise call to the blocking fgetc() to a non-blocking (with timeout) fread.
The fgetc() will persist even if I flushed and closed (and even tried relocating stdin) stdin, until an input is received from it.
The fgetc() will persist even if I flushed and closed (and even tried relocating stdin) stdin, until an input is received from it.
- Wed Aug 15, 2018 3:19 am
- Forum: General Discussion
- Topic: Change stdin/stdout during runtime
- Replies: 9
- Views: 15631
Re: Change stdin/stdout during runtime
Hi igrr, My telnet output (piped from the console unit) is currently like this: hash> hash> [6nlhash> p hash> It looks like what I am trying to do might not be compatible based on this link: https://dl.espressif.com/doc/esp-idf/latest/api-guides/console.html I am also seeing a loop between the stdin...
- Tue Aug 14, 2018 9:17 pm
- Forum: General Discussion
- Topic: Change stdin/stdout during runtime
- Replies: 9
- Views: 15631
Re: Change stdin/stdout during runtime
Scratch that, actually, I can send the console's output to the telnet session. But I could not get the telnet input to pass through to the console's input. Also, once the console output stream was piped to the telnet session, the telnet seemed to be getting random (unexpected) inputs.