Search found 6 matches

by tangray
Sat Jan 06, 2018 12:48 pm
Forum: ESP-IDF
Topic: IP Adresses in AP/STA mode
Replies: 2
Views: 4578

Re: IP Adresses in AP/STA mode

Well I seem to have solved this. Basically one needs to maintain 2 Host IP address one for each interface. When the AP is configured it is assigned and IP address of ones choosing and the STA receives and IP adr by DHCP (normally). In AP/STA mode these need to be managed seperately. The LWIP stack t...
by tangray
Sat Jan 06, 2018 4:49 am
Forum: ESP-IDF
Topic: IP Adresses in AP/STA mode
Replies: 2
Views: 4578

IP Adresses in AP/STA mode

Does anybody know ? When working in AP/STA mode how do a force a socket to be connected on either the STA or the AP net. Does LWIP maintain a routing table for each interface. Even then how do I send a broadcast on one or the other . I seem to be missing somehing at the socket bind stage of the API,...
by tangray
Sun Aug 20, 2017 6:01 am
Forum: ESP-IDF
Topic: Can I run non freeRTOS code on one core
Replies: 6
Views: 12794

Re: Can I run non freeRTOS code on one core

Well after 30 years of never quite being a unix man I am not at home with make. But I have discovered the existing espressif make files support a hierachical project so I am now happy enough working with this and my favorite editor. I would like to know eventually how to spawn a make operation insid...
by tangray
Sat Aug 19, 2017 8:58 am
Forum: ESP-IDF
Topic: Can I run non freeRTOS code on one core
Replies: 6
Views: 12794

Re: Can I run non freeRTOS code on one core

Thanks for your answer. I understand. I will in fact carry on running inside freeRTOs as you say but just run my own timer interrupt. I will at some point want to access queues to communication tasks running on the other core to send and receive messages so I want as much as possible of the free RTO...
by tangray
Fri Aug 18, 2017 4:21 am
Forum: ESP-IDF
Topic: Can I run non freeRTOS code on one core
Replies: 6
Views: 12794

Re: Can I run non freeRTOS code on one core

Thanks for your idea. There are several other reasons why I dont want to run inside a task. I want to run my own hard real time RTOS that uses a 1 ms tick and provides its own event driven scheduling and declaratory FSM. Then I intend to access WIFI and other platform resources running on the other ...
by tangray
Tue Aug 15, 2017 8:19 am
Forum: ESP-IDF
Topic: Can I run non freeRTOS code on one core
Replies: 6
Views: 12794

Can I run non freeRTOS code on one core

I have seen in the examples how to activate single or dual core mode with Free RTOS and how to assign tasks to cores. What I would like to know is it possible to assign one core to running FreeRTOS tasks and then to use the other other core for running C CODE with no freeRTOS depencies just as its o...