Andrew Webster
4875c6bbe3
TCP: check for connection before deleting it
...
It is possible for a socket to have no connection, for example if a TCP
socket is waiting in accept. This checks for this condition in case the
socket is closed from a different thread.
2016-01-22 15:59:15 -06:00
Andrew Webster
f1ef2c6cde
TCP: attempt to flush the write buffers before closing
...
When a socket is closed, it should make sure that any pending write
data is sent before the FIN is sent. It already would wait for all
sent data to be acked, however it would discard any pending write
data that had not been sent at least once.
This change adds a check for pending write data in addition to unacked
data. However, to be able to actually send any new data, the send
callback must be left. The callback should be freed later when the socket
is actually destroyed.
2016-01-22 15:58:02 -06:00
Andrew Webster
cdd187a7f3
TCP: check for sndcb before using it
2016-01-22 15:54:45 -06:00
Andrew Webster
df211ee46a
TCP: add writable check during poll
...
When a poll requesting POLLOUT happens, the poll should return
immediately if a write will not block. This change adds that, as
opposed to the old behaviour of blocking until a timer from the
Ethernet driver eventually triggers the poll to complete.
This is only implemented for buffered TCP. Unbuffered TCP should
behave as before.
2016-01-22 15:52:14 -06:00
Andrew Webster
99f5fcda70
iTCP: use lowlevel syslog to avoid infinte recursion
...
If stdout is a socket (e.g. telnet), then the debug message will cause
more TCP data to be sent, which generates another message, and so on
2016-01-22 15:41:48 -06:00
Gregory Nutt
84d4cb007b
clock_systimer: 64-bit timer accesses are not atomic. Noted by Freddie Chopin.
2016-01-22 12:24:36 -06:00
Gregory Nutt
7ead6b4972
Update submodules
2016-01-22 10:46:43 -06:00
Gregory Nutt
2dcebe1e3d
Purely cosmetic changes from review of last commit
2016-01-22 07:11:29 -06:00
Stefan Kolb
2b05f3e830
I/O Expander: Fix some bad macros, make naming consisted
2016-01-22 07:08:59 -06:00
Gregory Nutt
2de5be34e5
Update ChangeLog
2016-01-21 19:29:43 -06:00
Gregory Nutt
d68d9cbd32
Fix typo introduced in the last commit
2016-01-21 16:51:28 -06:00
Gregory Nutt
032ad1b70b
Remove clock_systimer32 and clock_systimer64. There is now only clock_systimer
2016-01-21 16:49:24 -06:00
Gregory Nutt
b04e2ea021
Trivial improvement to comments
2016-01-21 16:28:36 -06:00
Gregory Nutt
72bd1e7634
Yet another error introduced with last clock_systimer changes
2016-01-21 14:12:52 -06:00
Gregory Nutt
19919d630b
Yet another error introduced with last clock_systimer changes
2016-01-21 14:09:06 -06:00
Gregory Nutt
c4e61a4761
Fix another error introduced with last clock_systimer changes
2016-01-21 14:05:50 -06:00
Gregory Nutt
7db9a952bc
Fix an error in conditional compilation introduced in the last set of changes
2016-01-21 13:42:34 -06:00
Gregory Nutt
a4f5254cbe
Fix a typo introduced into the last commit
2016-01-21 13:48:35 -06:00
Gregory Nutt
e001f37593
sched/clock/clock_timespec.c: Fix an error in the time conversion
2016-01-21 13:31:00 -06:00
Gregory Nutt
de995653fe
Fix a typo from the last big set of changes
2016-01-21 12:26:53 -06:00
Gregory Nutt
f348e68069
Update to use 64-bit timer when available
2016-01-21 11:54:26 -06:00
Gregory Nutt
cb7bbdfed4
Update submodules
2016-01-21 08:55:29 -06:00
Gregory Nutt
350890d598
Update submodule
2016-01-20 14:37:39 -06:00
Gregory Nutt
3986f6cdee
Part of last change was still in the editor
2016-01-20 13:09:03 -06:00
Gregory Nutt
3a59eb4340
Fix romdisk_register prototype. Most ROMFS images actually lie in RAM. If moved to FLASH with const storage class, then changes are required to avoid warnings
2016-01-20 13:04:07 -06:00
Gregory Nutt
2bd27c856c
Upate ChangeLog and README
2016-01-20 12:31:28 -06:00
Gregory Nutt
a60a822ef2
Separate TEA encryption and decryption to separate files
2016-01-19 16:46:25 -06:00
Gregory Nutt
f4f931c2a5
Update ChangeLog
2016-01-19 16:38:48 -06:00
Gregory Nutt
f849116a0b
Add implementatino of Tiny Encryption Algorithm
2016-01-19 16:37:45 -06:00
Gregory Nutt
e73ccd6638
Update some comments
2016-01-18 16:27:46 -06:00
Frank Benkert
da33ec6b2e
CAN: Add more extensive error reporting information
2016-01-18 12:22:27 -06:00
Gregory Nutt
7670936bbf
Update ChangeLog and submodule
2016-01-18 08:13:26 -06:00
Gregory Nutt
60bb90cded
Update README, Changelog, submodules
2016-01-18 08:04:25 -06:00
Gregory Nutt
b54cf004f3
Update ChangeLog
2016-01-17 15:15:01 -06:00
Gregory Nutt
9844036a74
Merged in paulpatience/nuttx/lsm9ds1 (pull request #48 )
...
Add LSM9DS1 accelerometer, gyroscope and magnetometer
2016-01-17 15:06:37 -06:00
Paul A. Patience
57b8a9526d
Add LSM9DS1 accelerometer, gyroscope and magnetometer
2016-01-17 16:01:14 -05:00
Gregory Nutt
63301fe213
Cosmetic changes from review of last pull request
2016-01-17 14:52:11 -06:00
Gregory Nutt
81fe265502
Merged in offcode/nuttx/pn532 (pull request #47 )
...
add NXP pn532 NFC-chip support
2016-01-17 14:25:22 -06:00
Janne Rosberg
fb1bf10a3d
add pn532 support
...
Signed-off-by: Janne Rosberg <janne.rosberg@offcode.fi>
2016-01-17 22:17:49 +02:00
Gregory Nutt
f7b8069b07
Update submodules
2016-01-17 08:12:21 -06:00
Gregory Nutt
4a7896b553
tools/indent.sh: Add an option to reformat multiple files in-place
2016-01-16 12:22:54 -06:00
Gregory Nutt
1cddcc7bde
Duplicated line in README
2016-01-16 09:44:23 -06:00
Gregory Nutt
c6d967e632
OVR2640: Reverse frequency/address
2016-01-16 09:05:39 -06:00
Gregory Nutt
5da37ba164
Fix .gitignore
2016-01-15 13:40:52 -06:00
Gregory Nutt
19810eef6b
Update Changelog and README.txt
2016-01-15 13:14:07 -06:00
Gregory Nutt
ff7a9c2798
Trivial fix to ChangeLog
2016-01-15 08:35:50 -06:00
Gregory Nutt
8138a94748
Make sure all scripts are marked as executable
2016-01-15 07:38:01 -06:00
Alexander Entinger
75d6c4cee3
drivers/sensors/mcp9844: Driver for the MCP9844 I2C digital temperature sensor with a selectable resolution
2016-01-15 07:25:58 -06:00
Gregory Nutt
2a5c7e9a92
resolv.conf: Add support for OpenBSD style resolv.conf syntax where a non-standard DNS server port can be specified using a backet syntax.
2016-01-14 17:55:53 -06:00
Gregory Nutt
8a3033643e
Add cnvwindeps to .gitignore
2016-01-14 16:38:47 -06:00