Search found 13 matches

by magnomp
Wed Jun 05, 2019 5:48 pm
Forum: ESP-MDF
Topic: Authorization
Replies: 3
Views: 5713

Re: Authorization

Sorry for not being clear

I want a way to give a smartphone authorization to interact with the mesh network, so that unauthorized devices wont be able to do anything

And I must be able to revoke authorization too
by magnomp
Tue Jun 04, 2019 7:38 pm
Forum: ESP-MDF
Topic: Authorization
Replies: 3
Views: 5713

Authorization

Is there a recomended way to implement authorization for requests to the mesh devices?

Anyone connected to the same wifi network can discover the root node, query mesh information and start sending packets to the nodes
by magnomp
Wed May 29, 2019 6:27 pm
Forum: ESP-MDF
Topic: Cant compile using stl files
Replies: 3
Views: 6770

Re: Cant compile using stl files

Ok, just found out that I have to name the files as *.cpp if I want to use c++ stuff. This seems obvious, but I used to code on esp-idf on PlatformIO and I could use c++ libraries and language features on .c files. I thought esp-idf build system compiled everything as c++ by default. Also, it's woth...
by magnomp
Wed May 29, 2019 12:18 pm
Forum: ESP-MDF
Topic: Cant compile using stl files
Replies: 3
Views: 6770

Re: Cant compile using stl files

Just to make sure it's not an error on my project, I did a copy of the development_kit/light sample project and simply added a #include <map> to the light_example.c file, and then make -j4 flash, I got this output: $ make -j4 flash Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolc...
by magnomp
Tue May 28, 2019 9:34 pm
Forum: ESP-MDF
Topic: Cant compile using stl files
Replies: 3
Views: 6770

Cant compile using stl files

I'm trying to compile a code that uses stl <map> but I'm getting this error:
fatal error: map: No such file or directory

I'm using latest esp-mdf
by magnomp
Thu May 23, 2019 7:47 pm
Forum: ESP-IDF
Topic: Compile components selectively
Replies: 4
Views: 4967

Re: Compile components selectively

Will code from unused components be present on the final image?
For me it's ok if they're compiled but do not consume space on device.

Also, is this a good architecture? Would be better to have actual separated projects?
by magnomp
Wed May 22, 2019 8:10 pm
Forum: ESP-MDF
Topic: Stream from leaf node to internet
Replies: 1
Views: 3877

Stream from leaf node to internet

Does esp mesh support a leaf node to stream data to the internet?

Example: a leaf node to transmit live audio to a smartphone via internet?
by magnomp
Wed May 22, 2019 8:03 pm
Forum: ESP-IDF
Topic: Compile components selectively
Replies: 4
Views: 4967

Compile components selectively

My project will consist in a familly of many different device types for home automation based on esp mesh My idea is to have a single project where main app code will do the common things (set up esp mesh, etc), and the functionality for specific device type will be in components. Is this a good way...
by magnomp
Mon Oct 01, 2018 1:16 pm
Forum: ESP-MDF
Topic: How to interact with mesh devices from lan?
Replies: 1
Views: 5126

How to interact with mesh devices from lan?

Is there any sample code showing how to interact with mesh devices from outside?
by magnomp
Thu Sep 27, 2018 9:43 pm
Forum: ESP-MDF
Topic: Can we fake esp-mdf root to avoid using a router yet?
Replies: 7
Views: 13067

Re: Can we fake esp-mdf root to avoid using a router yet?

I'm newbie to esp32, but what you want is teoritically possible if (1) you could have low level access to android wifi interface and (2) you mimic esp-mesh protocol.

I don't think (1) is possible and (2) seems to be undocumented