hi,
I am trying to set a id for my esp8266... Is it possible to set my own chip id for my esp8266.....
thank you
hi,
I am trying to set a id for my esp8266... Is it possible to set my own chip id for my esp8266.....
thank you
No.
"I am trying to set a id for my esp8266... Is it possible to set my own chip id for my esp8266....."
You may be able to. Check the ESP documentation. I have a board that identified it self as something like ROBOBOT instead ESPxxx.
thanks for your replay bro.... i will check it in ESP documentation..
Just looking thru the documentation sites the below code snippets might be used in your code to change the WiFi.hostname that would be seen on a network. It might be used such that the esp8266 would be identified as robot1, robot2, or similar to make individual identification easier. This may have been in some example code I ran that appeared to have a different ID than ESPxxx.
You can use
WiFi.hostname(myHostname);
WiFi.begin ( ssid, password );
or use the SDK function directly (see CallSDKFunctions.ino):
// Expose Espressif SDK functionality - wrapped in ifdef so that it still
// compiles on other platforms
#ifdef ESP8266
extern "C" {
#include "user_interface.h"
}
#endif
...
#ifdef ESP8266
wifi_station_set_hostname(myHostname);
#endif
You can check it here http://esp8266.com/. Official esp8266 forum.
ok bro...thanks