Switch to IPv4 zeroconf, add test framework with discovery test, fix serial enumeration
This commit is contained in:
@@ -19,16 +19,11 @@ bool net_init() {
|
||||
info.mac[4] = uid.id[4];
|
||||
info.mac[5] = uid.id[5];
|
||||
|
||||
info.lla[0] = 0xfe;
|
||||
info.lla[1] = 0x80;
|
||||
info.lla[8] = info.mac[0] ^ 0x02;
|
||||
info.lla[9] = info.mac[1];
|
||||
info.lla[10] = info.mac[2];
|
||||
info.lla[11] = 0xff;
|
||||
info.lla[12] = 0xfe;
|
||||
info.lla[13] = info.mac[3];
|
||||
info.lla[14] = info.mac[4];
|
||||
info.lla[15] = info.mac[5];
|
||||
info.ip[0] = 169;
|
||||
info.ip[1] = 254;
|
||||
info.ip[2] = info.mac[4];
|
||||
info.ip[3] = info.mac[5];
|
||||
info.sn = {255, 255, 0, 0};
|
||||
|
||||
w6300::init_net(info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user