6LoWPAN: Update README; fix duplicate and bad memcpy in loopback driver.

This commit is contained in:
Gregory Nutt 2017-06-26 10:53:57 -06:00
parent 233dfa4689
commit aa1708e7c0
3 changed files with 4 additions and 10 deletions

View File

@ -344,7 +344,7 @@
# define RCC_CFGR3_USART1SW_HSI (0 << RCC_CFGR3_USART1SW_SHIFT) /* HSI clock */
#define RCC_CFGR3_I2C1SW (1 << 4) /* Bit 4: I2C1 clock source selection */
#define RCC_CFGR3_TIM1SW (1 << 8) /* Bit 8: TIM1 clock source selection */
#define RCC_CFGR3_HRTIM1SW (1 << 12) /* Bit 12: HRTIM clock source selection */
#define RCC_CFGR3_HRTIM1SW (1 << 12) /* Bit 12: HRTIM clock source selection */
#define RCC_CFGR3_USART2SW_SHIFT (16) /* Bits 16-17: USART2 clock source selection */
#define RCC_CFGR3_USART2SW_MASK (3 << RCC_CFGR3_USART2SW_SHIFT)
# define RCC_CFGR3_USART2SW_PCLK (0 << RCC_CFGR3_USART2SW_SHIFT) /* PCLK */

View File

@ -514,13 +514,9 @@ Configurations
retransmissions, and to work with TCP dynamic windowing.
2017-05-25: After some rather extensive debug, the TCP test was made
to with (HC06 and short addressing). Initial testing with HC06
and extended addressing failed. Server reports
to with (HC06 and short addressing).
Binding to IPv6 Address: 0000:0000:0000:0000:0000:0000:0000:0000
server: Accepting connections on port 61616
But the client fails to connect.
2017-06-26: Verified with HC06 and extended addressing.
Test Matrix:
The following configurations have been tested:
@ -529,7 +525,7 @@ Configurations
COMPRESSION ADDRESSING UDP TCP
----------- ---------- ---- ----
hc06 short 6/21 6/25
extended 6/22 ---
extended 6/22 6/26
hc1 short 6/23 ---
extended 6/23 ---
ipv6 short --- ---

View File

@ -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[7] = (uint16_t)g_eaddr[6] << 8 | (uint16_t)g_eaddr[7];
dev->d_ipv6addr[4] ^= 0x200;
memcpy(dev->d_mac.ieee802154, g_eaddr, IEEE802154_EADDRSIZE);
}
#else
static void lo_addr2ip(FAR struct net_driver_s *dev)