Search found 178 matches

by AgentSmithers
Sat May 11, 2019 6:19 am
Forum: ESP8266 SDK
Topic: can espconn_send transmit expand 1024Byte?
Replies: 2
Views: 1488

Re: can espconn_send transmit expand 1024Byte?

Yeah, depending on how your write your Global Heap Var's they can be a burden on your memory so if you need to send Buffers of some sort via TCP, You normally want to do something like this Char * MyFirstBuf Char * MySecBuf then in your function Malloc and free when needed. This is course better the...
by AgentSmithers
Wed May 08, 2019 12:48 am
Forum: ESP8266 SDK
Topic: Support for WPA2 Enterprise EAP-PWD
Replies: 4
Views: 3791

Re: Support for WPA2 Enterprise EAP-PWD

In order to implement EAP-PWD don't you need access to the 802.11 Frames. I guess so, yes. But since there are lots of projects like the wifi deather, I don't think sending raw frames / management frames is an issue... But I'm not sure. e.g. https://github.com/spacehuhn/esp8266_deauther I just trie...
by AgentSmithers
Tue May 07, 2019 2:33 pm
Forum: ESP8266 SDK
Topic: undefined reference to `wifi_set_event_hander_cb'
Replies: 0
Views: 3123

undefined reference to `wifi_set_event_hander_cb'

*Update* Hander was a typo of Handler. This issue is resolved. watch your copying and pasting out there kids! Has anyone gotten this code to work? Wifi_Set_Event_Hander_CB In file included from Main.c:3:0: /home/osboxes/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/osapi.h:65:6:...
by AgentSmithers
Wed Apr 17, 2019 1:51 am
Forum: ESP8266 SDK
Topic: ets_putc and VAlist with PrintF
Replies: 0
Views: 2692

ets_putc and VAlist with PrintF

Anyone know how to get vasprintF to operate? I am trying to hook os_printf() to allow it to pass through multiple functions however I can't seem to get the VA list to render correctly via passing as arg to a nested function.. For my function below I keep getting undefined but when I replace it with ...
by AgentSmithers
Mon Apr 08, 2019 7:26 am
Forum: ESP8266 SDK
Topic: dev 1153 ?
Replies: 8
Views: 3727

Re: dev 1153 ?

Well done! I think I've experienced this before so Ill note it.
by AgentSmithers
Tue Mar 19, 2019 7:14 am
Forum: ESP8266 SDK
Topic: Writing SPI data to Address 0x710fe
Replies: 2
Views: 1445

Re: Writing SPI data to Address 0x710fe

So after a bunch of reading of https://www.espressif.com/sites/default/files/documentation/2c-esp8266_non_os_sdk_api_reference_en.pdf and https://www.pjrc.com/teensy/W25Q128FV.pdf Along with debug testing it seems I can pretty much write anywhere I want with any length of bytes as long as its less t...
by AgentSmithers
Mon Mar 18, 2019 12:37 pm
Forum: ESP8266 SDK
Topic: Writing SPI data to Address 0x710fe
Replies: 2
Views: 1445

Re: Writing SPI data to Address 0x710fe

May need to adjust my code here but yea looks like there may be a 256 byte segment in the SPI flash? os_printf("stackptr is %x remainder is %u", SPIStackWritePtr, (SPIStackWritePtr % 0x100)); if (SPIStackWritePtr % 0x100 < 4 ) { os_printf("stackptr is %x setting to +%u\r\n", SPIS...
by AgentSmithers
Mon Mar 18, 2019 12:07 pm
Forum: ESP8266 SDK
Topic: Writing SPI data to Address 0x710fe
Replies: 2
Views: 1445

Writing SPI data to Address 0x710fe

Hey guys, I wanted to ping you.. I am currently optimizing my SPI write functions to handle writing data to the chip and am running into a snag. Is there a limitation of 4-byte alignment only when crossing a boundary of the memory of the value 0x100? Let me try to rephrase, If I write 6 bytes to the...
by AgentSmithers
Tue Mar 12, 2019 7:41 am
Forum: ESP8266 SDK
Topic: os_malloc and os_zallc HANGs forever and Triggers WDT
Replies: 1
Views: 1142

Re: os_malloc and os_zallc HANGs forever and Triggers WDT

I found the issue. After many burned hours I found that a buffer overflow was occurring.. To recreate the WDT issue, Alloc 8 bytes, write 9 then alloc again.. should hang indef due to a boundary pointer more than likely being overwritten.
:(
by AgentSmithers
Sun Mar 10, 2019 7:45 am
Forum: ESP8266 SDK
Topic: os_malloc and os_zallc HANGs forever and Triggers WDT
Replies: 1
Views: 1142

os_malloc and os_zallc HANGs forever and Triggers WDT

Hi Everyone, Anyone knows the underlying reason on why or how malloc and zalloc hang when exhausted out of memory vs. returning NULL or failure. It's hanging at that point then the WDT kicks off and if I disable the WDT both Software and Hardware it hangs forever and never returns. I was hoping it j...

Go to advanced search