Commit Graph

47 Commits

Author SHA1 Message Date
Gregory Nutt 4afe20c83f Fix naming of some enumeration types 2016-08-06 11:08:53 -06:00
Alan Carvalho de Assis bfac90f720 Add MFRC522 RFID ISO14443 and Mifare transceiver driver 2016-08-06 08:45:52 -06:00
Gregory Nutt 2a751068e6 Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -06:00
Gregory Nutt 43eb04bb8f Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info(). 2016-06-20 11:59:15 -06:00
Gregory Nutt 0c8c7fecf0 Add _ to the beginning of all debug macros to avoid name collisions 2016-06-16 12:33:32 -06:00
Gregory Nutt a1469a3e95 Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err() 2016-06-11 15:50:49 -06:00
Gregory Nutt e99301d7c2 Rename *lldbg to *llerr 2016-06-11 14:55:27 -06:00
Gregory Nutt fc3540cffe Replace all occurrences of vdbg with vinfo 2016-06-11 11:59:51 -06:00
Gregory Nutt fdddebbffd net/: Finish IEEE802154->6LOWPAN renaming; remove PF_IEEE804154; Move 6LoWPAN menu to inside Internet Protocol Menu 2016-02-27 07:26:20 -06:00
Sebastien Lorquet dc7adfa817 drivers/wireless/ieee802154/Kconfig
drivers/wireless/ieee802154/Make.defs
    Changes to the build infrastructure to include the mrf24j40 driver

include/nuttx/spi/spi.h
    Define a IEEE SPI device

include/nuttx/wireless/ieee802154/ieee802154_radio.h
    This file defines the API of a IEEE 802.15.4 radio device, to be used by the future common MAC 802.15.4 layer

drivers/wireless/ieee802154/mrf24j40.c
drivers/wireless/ieee802154/mrf24j40.h
    The main MRF24J40 IEEE 802.15.4 radio driver

include/nuttx/wireless/ieee802154/mrf24j40.h
    This file allows instanciation of the MRF24j40 driver from board configurations
2016-02-26 18:39:27 -06:00
Gregory Nutt d84fa1689a Add include/nuttx/wireless/ieee802154 directory (with dummy header file) 2016-02-26 17:32:37 -06:00
Gregory Nutt cfe018e991 Rename CONFIG_WIRELESS to CONFIG_DRIVERS_WIRELESS 2016-02-26 16:50:26 -06:00
Gregory Nutt 63301fe213 Cosmetic changes from review of last pull request 2016-01-17 14:52:11 -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 c955cdccd9 Move rivers/wireless/cc3000/security.c to crypto/aes.c; move include/nuttx/wireless/cc3000/security.h to include/nuttx/crypto/aes.h 2015-11-16 13:31:02 -06:00
Gregory Nutt 863ded3584 Standardize the width of all comment boxes in C header files 2015-10-03 07:45:15 -06:00
Pierre-noel Bouteville 8651e0f2ca CC3300: Add const to pointers in arguments to wlan_connect; remove an unused function prototype 2015-09-09 16:34:37 -06:00
Gregory Nutt b578c98fa9 Clean up and review of header files for conformance to standards 2015-06-12 19:26:01 -06:00
Gregory Nutt bf4db207ad Lincoln60: Add a network enabled NXH configuration (still does not yet build) 2015-06-03 18:48:08 -06:00
Gregory Nutt 855e40ee7d Make some file section headers more consistent with standard 2015-04-08 07:25:06 -06:00
Gregory Nutt d6704a1cd7 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
Gregory Nutt a1a2e53c3e Freedom KL25Z: Update the CC3000 support to use the current CC300 interfaces. From Alan Carvalho de Assis 2014-12-18 13:52:01 -06:00
Gregory Nutt e42f7b552f This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches:
03/11: CC3000 driver was getting stuck at recv() when remote host closed connection and application tried to read data from remotely shutdown socket. This patch adds proper handling for remotely closed socket event.

07/11: Socket state initialization was done in 'register', while it should be initialized in 'open' and deinitialized in 'close'. Old way caused problems when device is closed, power-cycled and then reopened as old socket state was left enabled.

08/11: Select thread was getting stuck after 'close, power-cycle, reopen', since selectsem was not properly setup and cleaned up.

09/11 'maxFD' was not properly reset in select worker and not checked for before calling cc3000_select().

10/11: After wlan_stop()/cc3000_close(), irqsem was left with count '-1'. Therefore on next wlan_start()/cc3000_open(), initial value for irqsem was wrong. Additional repeated wlan_start()/wlan_stop() decreased irqsem value further. Obviously this causes driver not to function correctly and freeze.

Patch moves initialization and destruction of waitsem, irqsem and readysem to cc3000_open/cc3000_close.

All are: Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:52:52 -06:00
Gregory Nutt e0fc5a86c8 Fixes for more complaints from cppcheck 2014-11-25 08:09:57 -06:00
Gregory Nutt b7227f0088 Cosmetic changes, mostly to comments 2014-07-29 12:49:40 -06:00
Gregory Nutt 2abe0dd6dd Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt b2d26436de Configuration has CC3000_SPI_MODE settings but source uses CONFIG_CC3000_SPIMODE. From Jussi Kivilinna 2014-05-21 07:20:09 -06:00
Gregory Nutt 3a1324741a More trailing whilespace removal 2014-04-13 14:32:20 -06:00
Gregory Nutt 6092b5813a Numerous updates to the CC3000 driver from David Sidrane 2014-02-18 14:16:51 -06:00
Gregory Nutt 85e90b0064 Updated CC3000 driver from David Sidrane 2013-10-30 14:37:13 -06:00
Gregory Nutt 6b8c1cc480 CC3000 driver updates from David Sidrane 2013-10-30 10:50:26 -06:00
Gregory Nutt 8c094aeda8 CC3000 driver update from David Sidrane (part 2 of 2) 2013-10-25 16:39:27 -06:00
Gregory Nutt d2ab68c76e More apps/examples/cc3000 changes from David Sidrane 2013-10-23 11:49:59 -06:00
Gregory Nutt 9d09dee7ba Part of last changes; file was left in editor 2013-10-23 09:14:31 -06:00
Gregory Nutt 5053d803e7 CC3000 driver updates from David Sidrane 2013-10-23 09:12:09 -06:00
Gregory Nutt 6fda497bc1 Updated Spark/cc3000 files from David Sidrane 2013-10-18 17:14:58 -06:00
Gregory Nutt 5a298893d6 CC3000-related typo fixes from the last bit checked. Thanks to David Sidrane 2013-10-16 18:23:42 -06:00
Gregory Nutt 8cd7eea7ad CC3000 driver changes from David Sidrane 2013-10-16 13:18:53 -06:00
Gregory Nutt 48a8364267 CC3000 driver changes from David Sidrane 2013-10-16 11:59:22 -06:00
Gregory Nutt e555cfaa5b Updated CC30000 example from David Sidrane 2013-10-16 07:29:25 -06:00
Gregory Nutt ce6368793a Some restructing of the CC3000 build 2013-09-04 16:40:57 -06:00
Gregory Nutt 09faaccc02 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt 0e37ec1bfc Add NSRF42L01 driver. From Laurent Latil 2013-06-01 08:03:55 -06:00
patacongo de0f788a05 Remove executable property from many files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3897 42af7a65-404d-4744-a932-0658087f49c3
2011-08-19 14:51:08 +00:00
patacongo 1ba2240762 Add initial CC1101 wireless logic from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3617 42af7a65-404d-4744-a932-0658087f49c3
2011-05-16 15:09:39 +00:00
patacongo 9a9ebcd417 Mostly cosmetic changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3575 42af7a65-404d-4744-a932-0658087f49c3
2011-05-07 19:22:15 +00:00
patacongo 8da8486fcb Updates from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3527 42af7a65-404d-4744-a932-0658087f49c3
2011-04-20 13:32:49 +00:00