SeaTrac Serial Command Interface Reference
Page 55
6.4.7.
MACADDR_T (MAC Address)
Network MAC addresses normally only require 6-bytes of memory allocation. However, for
convenience the SeaTrac beacon treats MAC addresses as a UINT64 type, but uses a union to
allow overlaying with a 6-byte sequential array.
In C++, this definition could be represented as…
struct MacAddr_T {
union
{
uint64
Addr;
uint8
Bytes[6];
};
};
Parameter Type
Description
BYTES
UINT8[6]
The MAC address fields in reverse order to the
writing convention.
(i.e. “<byte5> - <byte4> - <byte3> - <byte2> -
<byte1> - <byte0>”)
Or (Union)…
ADDR
UINT64
Little Endian representation of the MAC address
fields stored in reverse order.
Содержание seatrac X100 Series
Страница 2: ......
Страница 6: ...SeaTrac Serial Command Interface Reference Page 6...
Страница 139: ......