mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-18 03:30:31 +00:00
added parsing of frame to get receiver address, etc
This commit is contained in:
parent
5da8a9261b
commit
3d388760c3
@ -111,6 +111,8 @@ slip_radio_cmd_handler(const uint8_t *data, int len)
|
|||||||
|
|
||||||
PRINTF("slip-radio: sending: %d\n", packetbuf_datalen());
|
PRINTF("slip-radio: sending: %d\n", packetbuf_datalen());
|
||||||
|
|
||||||
|
/* parse frame before sending to get addresses, etc. */
|
||||||
|
no_framer.parse();
|
||||||
NETSTACK_MAC.send(&packet_sent, &packet_ids[packet_pos]);
|
NETSTACK_MAC.send(&packet_sent, &packet_ids[packet_pos]);
|
||||||
|
|
||||||
packet_pos++;
|
packet_pos++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user