2015-10-26 01:44 AM
Hi,
I am using SPWF01SC.11 wifi module.I have configured it as mini access pointI want the module to be in data mode on startup by default.AT+S.SOCKD=8825 ( I want this to be loaded automatically on startup)so when the module is reset i need to connect to it on the port 8825.Is it possible ? if not give me some idea friends !!!2015-10-26 02:18 AM
Hi John,
no external MCU...?2015-10-26 02:48 AM
Hi gerardo,
I did not understand your question but here is my entire setup.My wifi module is connected with an external MCU and when I send the command AT+S.SOCKD=8825 the port is opened . when the port is opened it is possible for me to connect any wifi device to the module but there is no data transfer happening.The data transfer is happening only when I do MCU reset but this time my MCU sends the same command again''AT+S.SOCKD=8825'' which is not good because wifi module is displaying 'error : already in data mode'.So I want to save the command on the wifi module like we configure the ip address, password in the command mode and the module will take it automatically all the times.sorry if I am explaining some irrelevant things... -;)2015-10-26 03:32 AM
Hi John,
>>> The data transfer is happening only when I do MCU resetWhy?>>> wifi module is displaying 'error : already in data mode'.I expect an ''error: Socket Server already up and running'' if trying to open an already opened sockd.Anyway, you can handle this exception. It's not a real problem for the module itself.>>> I want to save the command on the wifi moduleCurrently not available this feature.PS: what kind of MCU are you using. If your MCU allows it, you can use backup registers. After reset, check the content of this registers to know if the module has already an opened port. Backup registers are lost only when power supply is disconnected.2015-10-26 03:40 AM
Hi gerardo,
I dont know why data transfer is happening only on MCU reset !!!yes you are right the error is 'Socket Server already up and running'MCU - STM32F756NGI think the problem is with my skill on MCU management , I am new to MCU programming and I need to study and understand more.