bridge: default maclen 32bytes
This commit is contained in:
parent
e359032580
commit
50fd8a6613
|
@ -40,7 +40,7 @@ struct NRF_CFG config = {
|
||||||
.txmac= MAC,
|
.txmac= MAC,
|
||||||
.nrmacs=1,
|
.nrmacs=1,
|
||||||
.mac0= MAC,
|
.mac0= MAC,
|
||||||
.maclen ="\x10",
|
.maclen ="\x20",
|
||||||
};
|
};
|
||||||
|
|
||||||
uint8_t serialmsg_message[SERIAL_PACKETLEN];
|
uint8_t serialmsg_message[SERIAL_PACKETLEN];
|
||||||
|
@ -79,6 +79,7 @@ void main_schneider(void)
|
||||||
// can we loose packets here?
|
// can we loose packets here?
|
||||||
nrf_rcv_pkt_end();
|
nrf_rcv_pkt_end();
|
||||||
status=snd_pkt_no_crc(serialmsg_len, serialmsg_message);
|
status=snd_pkt_no_crc(serialmsg_len, serialmsg_message);
|
||||||
|
//status=nrf_snd_pkt_crc(serialmsg_len, serialmsg_message);
|
||||||
nrf_rcv_pkt_start();
|
nrf_rcv_pkt_start();
|
||||||
break;
|
break;
|
||||||
case '3':
|
case '3':
|
||||||
|
|
Loading…
Reference in New Issue