trendchaster wrote:Hello guys,
I am using MQTT. I want to convert MAC Address into string>I tried so many things but it wont work.Any suggestion or idea will be appreciated.I implemented this one but my esp crashes at this point and again restart.
os_sprintf(abc," rdaddr: %02x:%02x:%02x:%02x:%02x:%02x\r\n tsaddr: %02x:%02x:%02x:%02x:%02x:%02x\r\n",
MAC2STR(probe_request->rdaddr), MAC2STR(probe_request->tsaddr));
For starters, you are telling os_sprintf you are going to give him 12 integers, but you are giving him just two pointers...