jelledevleeschouwer / 6lowpan_log Goto Github PK
View Code? Open in Web Editor NEWLog of my progress on the development of a 6LoWPAN adaption layer
Log of my progress on the development of a 6LoWPAN adaption layer
pico_protocol
-interface for IEEE802.15.4 module (1/3 hour)pico_ll_mode
.(1/3 hour)int pico_ll_mac_header(uint8_t *pico_ll_security_header(struct pico_frame *f, struct pico_802154_addr src, struct pico_802154_addr dst, uint8_t *len);
uint8_t *pico_ll_mesh_header(struct pico_frame *f, struct pico_802154_addr src, struct pico_802154_addr dst, uint8_t *len);
uint8_t *pico_ll_security_header(struct pico_frame *f, struct pico_802154_addr src, struct pico_802154_addr dst, uint8_t *len);
discarded
, released
or kept
. Function also sets net_hdr
-pointer of the frame to the beginning of the MAC payload for 6LoWPAN. (3/4 hour)pico_protocol
-interface for 6LoWPAN module (1/3 hour)pico_6lowpan_receive(...);
(1/3 hour)lowpan_process_out(...);
(1/3 hour)fragmentation
, decompression
or both. (2/3 hour)IPHC
, NHC_EXT
and NHC_UDP
respectively. Afterwards it puts all the gathered inline buffers (+ 6LoWPAN Dispatch Headers) back in the frame and moves the rest of the frame at buf + original_len + PICO_UDPHDR_SIZE
to buf + inline_len + inline_len_udp
(1 hour)inline_buf
, inline_len
and original_len
. (2/3 hour)final_next_header
. (2/3 hour)inline_len_udp
. (2/3 hour)PICO_UDPHDR_SIZE + PICO_SIZE_IP6HDR
and sends the payload through decompression functions for IPHC
, NHC_EXT
and NHC_UDP
respectively. (1,5 hours) Afterwards it;buf + comp_ipv6_hdr_len + comp_ext_hdr_len + comp_udp_hdr_len
to buf + PICO_SIZE_IP6HDR + comp_ext_hdr_len + PICO_UDPHDR_SIZE
buf + PICO_SIZE_IP6HDR
decompressed_buf_udp
to buf + PICO_SIZE_IP6HDR + comp_ext_hdr_len
and also set transport_hdr
to this location.decompressed_buf_ipv6
to buf
.PICO_SIZE_IP6HDR
, decompresses all the fields into that buffer and eventually returns that buffer together with comp_ipv6_hdr_len
. (1 hour)comp_ext_hdr_len
+ the next header field of the last extension header. (2 hours)PICO_UDPHDR_SIZE
, decompresses all the UDP fields into that buffer and eventually returns that buffer together with comp_udp_hdr_len
.bytes_to_copy
(initial fragment size) and offset_for_next_fragment
(datagram offset). (1/2 hour)pico_frame
of certain size, tag, ... (1 hour)A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.