Commit Graph

3089 Commits

Author SHA1 Message Date
Gregory Nutt
11ad71a2e6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-06 10:01:02 -06:00
Jussi Kivilinna
e3b3e57e56 RTC: add interface for check if RTC time has been set
New interface allows checking if RTC time has been set.  This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
2017-04-06 09:53:11 -06:00
Gregory Nutt
d0aa22fb80 6loWPAN: Costmetic changes. 2017-04-05 17:26:12 -06:00
Gregory Nutt
9893b7243b Trivial changes from review of last PR. 2017-04-05 13:28:35 -06:00
Gregory Nutt
cdd3cb2201 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-05 13:18:52 -06:00
Anthony Merlino
21673f942d Merged in merlin17/nuttx/ieee802154 (pull request #311)
Ieee802154

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-05 19:17:32 +00:00
Anthony Merlino
aada26f903 wireless/ieee802154: Defines more data types/macros. Some renaming and cleanup 2017-04-05 15:03:47 -04:00
Gregory Nutt
38eed0a847 6loWPAN: Various fixes for building with different configurations; Some minimal testing of HC06 2017-04-04 17:06:17 -06:00
Gregory Nutt
ca2c18c023 6loWPAN: Fix return value and other issues in sixlowpan_frame_process 2017-04-04 16:12:16 -06:00
Gregory Nutt
e7f9d14118 Merge branch 'master' of bitbucket.org:nuttx/nuttx into ieee802154 2017-04-04 14:29:00 -06:00
Juha Niskanen
d64d4e02b4 sensors: lis2dh: fix hardfault when reading from unconfigured sensor 2017-04-04 07:38:49 -06:00
Jussi Kivilinna
73056863ba Fix building without CONFIG_NET_6LOWPAN 2017-04-04 07:38:48 -06:00
Gregory Nutt
ca7040b7c1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 15:28:46 -06:00
Gregory Nutt
7cb34d969d 6loWPAN: More fixes from early debug. 2017-04-03 15:25:36 -06:00
Gregory Nutt
e9d831ac60 wireless/ieee802154: Add initialization logic for loopback driver; configs/sim: Add configuration for testing 6loWPAN; net/sixlowpan: Fix for compilation with debug output enabled. 2017-04-03 09:15:00 -06:00
Gregory Nutt
1b3cb3752a Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 08:12:04 -06:00
Juha Niskanen
dfe6a672c1 drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo Voutilainen <time.voutilainen@haltian.com> et al. 2017-04-03 07:28:22 -06:00
Gregory Nutt
0bf2931d5f Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-02 17:50:34 -06:00
Gregory Nutt
1b6630ee75 6loWPAN: Fix compile errors and warnings when building the complete 6loWPAN configuration. 2017-04-02 17:46:22 -06:00
Gregory Nutt
c8291a376e Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-02 14:39:45 -06:00
Gregory Nutt
ec3c40d99d 6loWPAN: Finishes port of Contiki HC06 compression logic 2017-04-02 10:06:31 -06:00
Gregory Nutt
d16fc98c74 6loWPAN: Add HC06 decompression logic; Remove outboard compressor hooks. 2017-04-02 08:08:35 -06:00
Gregory Nutt
6464ebbc7f Networking: Fix bad macro logic of recent commit. Macros were not being evaluating in the order and time that I thought. 2017-04-01 18:23:21 -06:00
Gregory Nutt
7a4af75fcf 6lowWPAN: Add frame decompression logic to IEEE802.15.4 input 2017-04-01 12:34:08 -06:00
Gregory Nutt
6d55ef0a08 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-01 09:08:35 -06:00
Gregory Nutt
52ead055fd 6loWPAN: Beginning of IEEE802.15.4 frame input logic. 2017-04-01 09:07:49 -06:00
Gregory Nutt
cccbb6c693 6loWPAN: Clean up some send logic; remove sniffer. 2017-03-31 16:33:21 -06:00
Gregory Nutt
503f3e5477 net/: Struggling with MSS definitions. 2017-03-31 15:54:12 -06:00
Gregory Nutt
732f0855c6 6loWPAN: Fleshes out framwork for IEEE802.15.4 send. But still has some gaping holes. 2017-03-31 15:09:07 -06:00
Gregory Nutt
85e1d15835 6loWPAN: Fix more configuration related issues detected by addition of 6loWPAN 2017-03-31 12:06:21 -06:00
Gregory Nutt
a771ec65d6 6loWPAN: Fix a spelling error in macro name. 2017-03-31 10:47:40 -06:00
Gregory Nutt
44f1326046 6loWPAN: Repartition device-specific vs. global data -- again. 2017-03-31 10:04:29 -06:00
Jussi Kivilinna
cd3c9634c8 Add user-space networking stack API (usrsock)
User-space networking stack API allows user-space daemon to
provide TCP/IP stack implementation for NuttX network.

Main use for this is to allow use and seamless integration of
HW-provided TCP/IP stacks to NuttX.

For example, user-space daemon can translate /dev/usrsock
API requests to HW TCP/IP API requests while rest of the
user-space can access standard socket API, with socket
descriptors that can be used with NuttX system calls.
2017-03-31 08:58:14 -06:00
Gregory Nutt
0427d6c726 6loWPAN: Replace frame buffer with a list of IOBs. 2017-03-31 07:54:58 -06:00
Gregory Nutt
a43c0c9efb Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-31 06:41:11 -06:00
Juha Niskanen
9d13a2463f drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C controller.
From Harri Luhtala <harri.luhtala@haltian.com>. Tested with earlier
version of NuttX; with current version checked that it compiles.
2017-03-31 06:35:36 -06:00
Juha Niskanen
b5b148fef8 drivers/sensors: Add driver for ST LPS25H pressure sensor 2017-03-31 05:53:43 -06:00
Gregory Nutt
916bd8a48f HTS221 driver: Modify to use new interrupt parameter passing hooks. 2017-03-31 05:31:35 -06:00
Gregory Nutt
1a12682f23 6loWPAN: Fix some MTU-related craziness. 2017-03-30 17:18:18 -06:00
Gregory Nutt
916bd80f9f Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-30 16:30:43 -06:00
Gregory Nutt
9aabb44118 6loWPAN: Add some comments, move a function 2017-03-30 16:30:04 -06:00
Gregory Nutt
2aca4d4ebd 6loWPAN: Add a little more send logic. 2017-03-30 15:38:56 -06:00
Juha Niskanen
9e2b3da3e8 drivers/sensors: Add driver for ST HTS221 humidity sensor 2017-03-30 12:17:23 -06:00
Jussi Kivilinna
dffb8a67e3 Add entropy pool and strong random number generator
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.

Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00
Gregory Nutt
b231379b3c Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-29 14:29:38 -06:00
Gregory Nutt
a6148cdb7c 6loWPAN: Adding more socket send-related logic. 2017-03-29 14:28:51 -06:00
Gregory Nutt
3a4e8a5946 Merge remote-tracking branch 'origin/master' into ieee802154 2017-03-29 10:57:04 -06:00
Anthony Merlino
8df78cc74b wireless/ieee802154: Adds MAC character driver structure. Nonfunctional 2017-03-29 12:51:01 -04:00
Anthony Merlino
8f67ec30a7 wireless/ieee802154: Removes ieee802154.h and makes other minor changes 2017-03-29 12:39:52 -04:00
Gregory Nutt
5fb222180c 6loWPAN: IEEE802.15.4 MAC driver will need a special form of the network device structure to manage fragmentation of the large packet into frames. 2017-03-29 10:17:34 -06:00