Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
esp8266 wifi.getconfig not giving correct mac address

 
Post new topic   Reply to topic    Forum Index -> ZBasic for Generic Targets
Author Message
JimG



Joined: 24 Mar 2017
Posts: 17

Posted: 23 April 2017, 18:20 PM    Post subject: esp8266 wifi.getconfig not giving correct mac address Reply with quote

I'm not getting the correct mac address, am I doing this correctly?

Code:
dim curssid as string,curpw as string,b(6) as byte
call wifi.getconfig(@curssid,@curpw,@b)
debug.print curssid
debug.print curpw
debug.print cstrhex(b(0));":";cstrhex(b(1));":";cstrhex(b(2));":";cstrhex(b(3));":";cstrhex(b(4));":";cstrhex(b(5))


I'm getting 00:00:00:00:00:00 for the mac address, the ssid and pw print correctly.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic for Generic Targets Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2017 Elba Corp. All rights reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group