6LoWPAN: Update README; fix duplicate and bad memcpy in loopback driver.
This commit is contained in:
parent
233dfa4689
commit
aa1708e7c0
|
@ -514,13 +514,9 @@ Configurations
|
||||||
retransmissions, and to work with TCP dynamic windowing.
|
retransmissions, and to work with TCP dynamic windowing.
|
||||||
|
|
||||||
2017-05-25: After some rather extensive debug, the TCP test was made
|
2017-05-25: After some rather extensive debug, the TCP test was made
|
||||||
to with (HC06 and short addressing). Initial testing with HC06
|
to with (HC06 and short addressing).
|
||||||
and extended addressing failed. Server reports
|
|
||||||
|
|
||||||
Binding to IPv6 Address: 0000:0000:0000:0000:0000:0000:0000:0000
|
2017-06-26: Verified with HC06 and extended addressing.
|
||||||
server: Accepting connections on port 61616
|
|
||||||
|
|
||||||
But the client fails to connect.
|
|
||||||
|
|
||||||
Test Matrix:
|
Test Matrix:
|
||||||
The following configurations have been tested:
|
The following configurations have been tested:
|
||||||
|
@ -529,7 +525,7 @@ Configurations
|
||||||
COMPRESSION ADDRESSING UDP TCP
|
COMPRESSION ADDRESSING UDP TCP
|
||||||
----------- ---------- ---- ----
|
----------- ---------- ---- ----
|
||||||
hc06 short 6/21 6/25
|
hc06 short 6/21 6/25
|
||||||
extended 6/22 ---
|
extended 6/22 6/26
|
||||||
hc1 short 6/23 ---
|
hc1 short 6/23 ---
|
||||||
extended 6/23 ---
|
extended 6/23 ---
|
||||||
ipv6 short --- ---
|
ipv6 short --- ---
|
||||||
|
|
|
@ -205,8 +205,6 @@ static void lo_addr2ip(FAR struct net_driver_s *dev)
|
||||||
dev->d_ipv6addr[6] = (uint16_t)g_eaddr[4] << 8 | (uint16_t)g_eaddr[5];
|
dev->d_ipv6addr[6] = (uint16_t)g_eaddr[4] << 8 | (uint16_t)g_eaddr[5];
|
||||||
dev->d_ipv6addr[7] = (uint16_t)g_eaddr[6] << 8 | (uint16_t)g_eaddr[7];
|
dev->d_ipv6addr[7] = (uint16_t)g_eaddr[6] << 8 | (uint16_t)g_eaddr[7];
|
||||||
dev->d_ipv6addr[4] ^= 0x200;
|
dev->d_ipv6addr[4] ^= 0x200;
|
||||||
|
|
||||||
memcpy(dev->d_mac.ieee802154, g_eaddr, IEEE802154_EADDRSIZE);
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static void lo_addr2ip(FAR struct net_driver_s *dev)
|
static void lo_addr2ip(FAR struct net_driver_s *dev)
|
||||||
|
|
Loading…
Reference in New Issue