广州大彩串口屏论坛_大彩开发者交流论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 4189|回复: 3

How to get UID/MAC number?

[复制链接]

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
发表于 2022-8-8 05:58:38 | 显示全部楼层 |阅读模式
I will use DC80480PW in my product, probably without wifi. I need to delete from my slave device eeprom who have MAC number and wonder to know... maybe Dacai screen can give me this number?. If they have wifi, then I suppose that yes. But how about screen without wifi, they have also some unique ID?
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12527
发表于 2022-8-8 08:47:06 | 显示全部楼层
You can use this api to get the mac address of the screen, the details are in the link below
http://doc.gz-dc.com/LUA/000_lua%20api.html#16---网络相关

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

19

主题

52

帖子

261

积分

中级会员

Rank: 3Rank: 3

积分
261
 楼主| 发表于 2023-1-21 06:24:27 | 显示全部楼层
Hmm, with this function I get error "attemp to call a nil value". Works 'get_wifi_mac()'.  but is little bad because I need to order screen with wifi module who I no need.
Or I made something wrong?
回复

使用道具 举报

2

主题

1253

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
12527
发表于 2023-1-29 09:05:17 | 显示全部楼层
terefere 发表于 2023-1-21 06:24
Hmm, with this function I get error "attemp to call a nil value". Works 'get_wifi_mac()'.  but is li ...

You can use the physical screen to test
Easy doesn't enter into Grown-up life
成年人的生活里面没有“容易”二字
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|广州大彩串口屏论坛_大彩开发者交流论坛

GMT+8, 2024-3-29 22:18 , Processed in 0.046146 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表