Oleg Hahm
d87d827d88
transceiver return signed values for sending
...
negative values indicate an error value
2013-12-18 18:22:59 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
3a04671912
replace 1 with EXIT_FAILURE in all err calls
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
709cc9c158
add toa to packets in nativenet
...
also change order of fields to reflect radio types header
2013-11-22 10:55:49 +01:00
Oleg Hahm
19f4f45445
added some debug output for the network stack
2013-11-14 10:46:21 +01:00
Ludwig Ortmann
1df56ed47b
cope with SIGIO behaviour
...
SIGIO appears to be edge triggered, therefore we need to read
continuously until no more data is available
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
7b9d199ec8
make system calls safer/clean up headers
...
wrap some libc functions that do system calls (terminal output)
wrap read/write with syscall guard
define real_read/write (next dynamic linker find for read/write)
guard system calls in remaining code
introduce native_internhal.h
throw out some debug statements that break things
clean up includes a bit
declare board_init in native_internhal.h
add -ldl to LINKFLAGS for cpu/syscalls
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
badcf390d1
initialize processing field in nativenet tap
2013-10-13 21:23:12 +02:00
Ludwig Ortmann
24b2cfd95a
general clean up
...
make some variables volatile
remove rx_buffer_next from header
more DEBUG output
fix warnings
coding conventions
change puts to DEBUG
rename end-context/stack
2013-09-30 18:03:53 +02:00
Ludwig Ortmann
9544f617c2
fix frame padding, refactor native tap
2013-09-18 10:13:39 +02:00
Ludwig Ortmann
b3a8fdc026
Fix uninitialized packet members
...
also cast packet data explicitly
2013-09-04 21:02:57 +02:00
Ludwig Ortmann
f8c3e02ae6
fix nativenet payload pointer
2013-09-04 20:39:56 +02:00
Ludwig Ortmann
b298ab33c5
initialize rx_buffer_next explicitly
2013-08-29 17:03:22 +02:00
Ludwig Ortmann
74b1a74525
documentation for nativenet interface
2013-08-29 16:16:47 +02:00
Ludwig Ortmann
37c3059e1c
clean up nativenet, add src addr
2013-08-29 16:16:46 +02:00
Ludwig Ortmann
846bcc01a8
Change interface cb parameter to function pointer
2013-08-21 15:13:23 +02:00
Ludwig Ortmann
1bed4e459a
Preliminary OSX support hack
2013-08-15 17:04:03 +02:00
Ludwig Ortmann
708ece68cc
cc1100 -> nativenet
2013-08-15 14:05:26 +02:00