Other Parts Discussed in Thread: CC3100, CC3200
I'm using CC3100MODBOOST boards in transceiver mode. When transmitting from one board, I don't receive the transmission on the other. The boards are aprox 6 inches apart.
ID(67108864) FW(31.1.5.0.10) PHY(1.0.3.37)
NWP(2.12.2.8) ROM(13107) HostDrv(1.0.1.11)
The socket is configured with these parameters on both ends:
#define RAW_CHANNEL (3)
#define RAW_RATE (RATE_11M)
#define RAW_POWER (1)
#define RAW_PREAMBLE (SL_SHORT_PREAMBLE)
Socket is allocated as follows:
socket( AF_RF,
SOCK_DGRAM,
0);
On one board I'm transmitting some custom bytes:
CC3100 0 Raw send result of 16 bytes: 16
0x2000ead0 - 16:
0000: 03 01 83 27 14 22 2d 03 02 12 00 3e 03 96 92 a7
On the other, I only occasionally receive some completely unrelated data:
CC3100 0 RX complete 91:
0x2000eaec - 91:
0000: 00 03 c0 00 40 3a 66 29 40 00 00 00 ff ff ff ff
0010: ff ff 58 e6 ba 45 1e 6f ff ff ff ff ff ff 40 58
0020: 00 00 01 04 02 04 0b 16 32 08 0c 12 18 24 30 48
0030: 60 6c 03 01 03 2d 1a 2d 40 17 ff 00 00 00 00 00
0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050: 00 7f 08 00 00 08 04 00 00 00 40
Jan 01 12:32:19.397 CC3100 0 RXHeader rate:0 channel:3 rssi:-64 timestamp 694565440
Can you help me understand why I'm not receiving the data that was transmitted? As far as I can tell the transmission is successful. There are no errors or events occurring. The receiving board is printing out ALL data that comes back from recv() on the raw socket.