- Mon Aug 31, 2015 5:52 pm
#27499
Hi Martin, Well, maybe "connect to itself" was a bad choice of words... Let's try this (stop me when I stray off path)... I am assuming that both modules will need to acquire an IP via DHCP from an AP. Since I do not have an existing AP, one of the modules (#1 for example) will need to be both an AP and a STATION (because both modules will be sending and receiving data). Based on reading the sparse documentation, If I put module #1 in SOFTAP mode, it can only be an AP and cannot send/receive data streams. If I place module #1 in STATION mode, I can send/receive data streams but not provide AP services like DHCP. How does one get two 8266's to join a network created by one of the modules and have both be able to send and receive data to each other? Eventually, the project calls for one 8266 module to be the "control module" (the one that provides AP functions and has the GPIO input pin) and multiple "remote modules" that listen for the state change from the CM and responds with an ACK back to the CM to confirm receipt / heartbeat. Initially, I am keeping it simple with a CM and a single RM. I guess this would be a lot easier if the NodeMCU documentation and examples were a tad better. Again, thank you for your assistance. It is greatly appreciated. -JoeD