Search found 43 matches

by zekageri
Wed Sep 21, 2022 1:36 pm
Forum: Hardware
Topic: PS Ram Speed
Replies: 8
Views: 14606

Re: PS Ram Speed

So it took 1.8 sec to read 4mb?
by zekageri
Thu May 12, 2022 6:55 am
Forum: ESP32 Arduino
Topic: Dynamic class allocate on External RAM
Replies: 5
Views: 4920

Re: Dynamic class allocate on External RAM

I have a bunch of different classes. All of the different classes has it's own array. If i allocate them at the start of the program like this: void zSystem::allocateComponentArrays(){ *lightsArray = (lightSystem*)ps_malloc(MAX_LIGHTS * sizeof(lightSystem)); *shadersArray = (shaderSystem*)ps_malloc(...
by zekageri
Thu May 12, 2022 6:25 am
Forum: ESP32 Arduino
Topic: Dynamic class allocate on External RAM
Replies: 5
Views: 4920

Re: Dynamic class allocate on External RAM

Oh my latest example does not compile actually. xd Sorry for that.

How could i use your custom allocator for dynamic classes in dynamic arrays?
by zekageri
Thu May 12, 2022 6:14 am
Forum: ESP32 Arduino
Topic: Dynamic class allocate on External RAM
Replies: 5
Views: 4920

Re: Dynamic class allocate on External RAM

Thank you for your reply. If i understand you correctly, the compiler decides if my array is going to the PSram or not based on the size of the array? It's okay if my array of class pointers is in my internal ram, i want my class that my pointer is pointing to, to be in external ram. Because as i sa...
by zekageri
Wed May 11, 2022 2:16 pm
Forum: ESP32 Arduino
Topic: Dynamic class allocate on External RAM
Replies: 5
Views: 4920

Dynamic class allocate on External RAM

HI dear forumers! Is there some way that i could allocate my classes on external ram? Curerntly iam doing this: #define MAX_CLASSES 20 class exampleClass { public: void sayHello(){ Serial.println("Hello"); } }; exampleClass dynamicClass; exampleClassArr* exampleClasses[MAX_CLASSES] EXT_RAM_ATTR; voi...
by zekageri
Thu Oct 07, 2021 7:15 am
Forum: ESP32 Arduino
Topic: Native ESP32 MQTT library Secure connection error
Replies: 1
Views: 3961

Native ESP32 MQTT library Secure connection error

Hello everyone. I want to setup an MQTT client on my esp. I was able to do it without SSL, and it is working fine with cloud mqtt providers if it is not secure. I used it with https://www.emqx.com/en/cloud and it was good. Now i want to implement secure connection feature. For this, i pick https://...
by zekageri
Mon Sep 13, 2021 8:30 am
Forum: ESP IoT Solution
Topic: ESP32 + webRTC with ICE server
Replies: 0
Views: 11114

ESP32 + webRTC with ICE server

Hi! I was wondering if is it possible to implement a webRTC client to an ESP32 IDF or Arduino to connect to an ICE server
in order to reach the device remotelly from anywhere.

Does anyone thought this? I can't find anything on the web about this subject.
by zekageri
Mon Jan 18, 2021 5:49 pm
Forum: ESP32 Arduino
Topic: Question about a way to crack esp from a distance.
Replies: 1
Views: 2573

Question about a way to crack esp from a distance.

Hello everyone! I'm curious if someone knows a way to hack an esp32 webserver to serve a protected page. The scenario: Currently i'm using the async webserver by Me_no_Dev. If someone outside the network tries to reach the esp default path "/" it is sending a login page instead and not the index.ht...
by zekageri
Wed Nov 13, 2019 10:52 am
Forum: ESP32 Arduino
Topic: Blocking code to Non-Blocking help.
Replies: 3
Views: 7572

Re: Blocking code to Non-Blocking help.

Sorry i wasn't clear enough. I'am already using two task in my program. One of my task is running on core 0, and there are a bunch of things in it. A tft display handling, the above mentioned RFID handler and such things. On the other task wich is running on core 1, there is an ADC read that needs t...
by zekageri
Tue Nov 12, 2019 11:06 am
Forum: ESP32 Arduino
Topic: Blocking code to Non-Blocking help.
Replies: 3
Views: 7572

Blocking code to Non-Blocking help.

Hello guys! I have an RFID manchester code decoding code snippet. This code is a blocking code right now, it is using delays. I want it to port to a Non-Blocking code. How can i achive this? Should i use millis() for track the time between the impulses or should i attach an interrupt every time i n...