- Apr 01, 2018
-
-
Gregory Nutt authored
wireless/bluetooth: Buffer allocation was always allocationg a new buffer, even if one was provided.. causing data loss. Correct initialization of lengths: IOB lenth includes data offset. Bluetooth buffer length does not.
-
Gregory Nutt authored
wireless/bluetooth and net/bluetooth: Clean up some garbage left in Kconfig file that broke 'make menuconfig'. Clean up some craziness with Bluetooth frame length definitions.
-
Gregory Nutt authored
wireless/bluetooth: Adds most of the logic to get the Tx path working. Still missing the logic to recover the Bluetooth connection structure given the destination address in the socket address.
-
Gregory Nutt authored
wireless/bluetooth: This completes the basic logic path that gets frames from the Bluetooth stack and into the network layer. wireless/bluetooth: Fleshes out some of the network packet receive logic. wireless/bluetooth: Replace buffer allocated with primitive allocator from ieee 802.15.4. wireless/ieee802154: Fix a few typos. wireless/bluetooth: More renaming in preparation for some real work. wireless/bluetooth: Some trivial renaming; update comments
-
- Mar 31, 2018
-
-
Gregory Nutt authored
Bluetooth: Bring in some definitions from NetBSD. Update some usage and naming to be more consistent.
-
Gregory Nutt authored
This comment adds (1) basic support for AF_BLUETOOTH sockets. The logic compiles but is still incomplete. Support for Bluetooth is general is still dependent on CONFIG_EXPERMIMENTAL because it is not yet ready for used. Squashed commit of the following: wireless/bluetooth: Some small changes that gets to a clean compile by just eliminating some incorrect implementations (still with a lot of warnings. The logic is still incomplete but now not so lethal. wireless/bluetooth: Restructuring: Connection interfaces should internal to wireless/bluetooth. include/nuttx/wireless/bt_conn.h removed and merged with wireless/bluetooth/bt_conn.h. Several fix to get closer to bt_netdev.c compiling. Need to design some not interfaces and use some existing interfaces to send and receiv packets. wireless/bluetooth: Some organization with some network device compile errors fixed. Still not even close to compiling. net/bluetooth: Fix numerous compile issues; Still open design issues with regard to the interface with the Bluetooth stack. wireless/bluetooth: Create bt_netdev.c with a crude copy of mac802154_netdev.c. Does not not even compile yet. include/nuttx/net: Add bluetooth.h. Content is not yet correct. net/netpackets: Add bluetooth.h. Update net/bluetooth to use new socket address definition. net/bluetooth: Some fixes for initial build. net/bluetooth: Add initial support for Bluetooth sockets. The initial cut is just the a clone of the IEEE 802.15.4 socket support with name changes. net/ieee802154: Fix some typos noted when cloning to create net/bluetooth.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
- Mar 30, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
net/udp: Fix another related error in UDP condition compilatino (was actually using TCP setting, not UDP setting).
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
Adds re-architected Bluetooth UART driver from the Intel/Zephyr arduino101_firmware_source-v1.tar package. Squashed commit of the following: drivers/bluetooth: Re-architect Bluetooth UART driver to follow upper/lower half model. Completely untested. drivers/bluetooth: Grr.. Another band-aid commit to stay in sync with master. Why is this so difficult drivers/bluetooth: Band-aid commit to stay in sync with master. Lost it somehow. drivers/wireless/bluetooth: A few changes, mostly thought experiments. drivers/wireless/bluetooth: UART-based Bluetooth driver ported from the Intel/Zephyr arduino101_firmware_source-v1.tar package. This initial commit is the original files in the NuttX build environment with changes to conform with the coding standard. It should not even build.
-
- Mar 29, 2018
-
-
Gregory Nutt authored
wireless/bluetooth: Add driver object in all driver methods so that the driver has a way of maintaingin context.
-
Gregory Nutt authored
This commit brings in the Bluetooth stack from the Intel/Zephyr arduino101_firmware_source-v1.tar package. NOTE: This selection is marked EXPERIMENTAL. It is incomplete and, hence, untested. It still lacks any low-level Bluetooth drivers and is missing the network interface driver. Squashed commit of the following: wireless/bluetooth: Fixe last of compile issues. Now compiles without errors or warnings. wireless/blutooth: Add macros BT_GETUINT16() and BT_PUTUINT16(). Fix more compile errors. Only one file now generates compile errors. wireless/bluetooth: Add macros BT_LE162HOST() and BT_HOST2LE16(). wireless/bluetooth: Add bt_queue.c; begin fixing comple errors. Many more compile problems yet to resolve. Kconfig edited online with Bitbucket wireless/bluetooth: Struggling to remove nano_fifo logic: Replace buffer management with IOB allocate... this changes some logic and might have some side effects. Use messages queues instead of nano-fifos to inter-task communications. nano-fifos still used in 'frag' logic... whatever that is. wireless/bluetooth: Fix numerous typos introduced by an ill conceived search-and-replace. wireless/bluetooth: Add message queue support to manage interthread buffer transfers. wireless/bluetooth: Replace fibers with kernel threads. wireless/bluetooth: Fix a few initial compile errors. Just the tip of the iceberg. wireless/bluetooth: Complete leveage of the bluetooth stack including public header files. wireless/bluetooth: Complete leverage of all Bluetooth source files. Still missing header files that defines the driver interface. Also missing the network driver implementation. wireless/bluetooth: Fix some naming of static global variables. wireless/bluetooth: Adds three more files ported from the Intel/Zephyr arduino101_firmware_source-v1.tar package (plus two original files). wireless/bluetooth: Adds five more files ported from the Intel/Zephyr arduino101_firmware_source-v1.tar package. wireless/bluetooth: Adds three more files ported from the Intel/Zephyr arduino101_firmware_source-v1.tar package. wireless/bluetooth: First few files ported from the Intel/Zephyr arduino101_firmware_source-v1.tar package.
-
- Mar 28, 2018
-
-
Anthony Merlino authored
mac802154: Fixes bug where primitive was freed when it shouldn't have been, causing double free call Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Anthony Merlino authored
mac802154: Adds ackreq flag to TX descriptor for use by radio driver. The radio layer is responsible for a full "transaction". Because of differences in radio capabilites, the radio must be responsible for the handling of acks and retransmissions. This commit simply passes the ackreq meta-data flag along to the radio. Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Anthony Merlino authored
mac802154: Adds basic support for RX-ENABLE.request primitive Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
- Mar 27, 2018
-
-
Gregory Nutt authored
arch/arm/src/stm32: If Ethernet initialization failures (per previous commit), then do not register the uninitialized Ethernet device. Ths prevents any use of the badly initialized interface.
-
Sebastien Lorquet authored
On STM32, in case of PHY failure, usually because of the lack of 25/50 MHz REFCLK input, the Ethernet block would lock up in a while loop waiting for readiness, which will never happened. This prevented the board from starting at all in the case of a PHY failure. This commit adds a retry loop to avoid bricking the board if the Ethernet block is unable to start.
-
Janne Rosberg authored
-
Janne Rosberg authored
-
Masayuki Ishikawa authored
Fix some bugs in networking * netdb: Fix boundary conditions in dns_recv_response() Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> * Fix typos in include/nuttx/net/dns.h Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
- Mar 26, 2018
-
-
Gregory Nutt authored
Per Matias Edlund: I recently used the tcflush function and found that it failed with ENOTTY. The reason is that the TCFLSH case in the function uart_ioctl in the file drivers/serial/serial.c does not update the ret value." On success, the TCFLSH IOCTL logic needs to explicitly set the return value (ret) to zero.
-
Janne Rosberg authored
-
Janne Rosberg authored
-
- Mar 25, 2018
-
-
Gregory Nutt authored
-
- Mar 24, 2018
-
-
Gregory Nutt authored
tools/gencromfs.c: Was duplicating all mode bits in source directory in CROMFS directory. Some make no sense. In particular, all write-able bits are cleard unconditionally. Executable bits are still copying because there is really no way for the tool to know if the file is executable or not.
-
Gregory Nutt authored
fs/cromfs: Block length only needs to be uint16_t, not uint32_t. Add pading to node structure to assue that alignment is the same on all platforms. tools/gencromfs.c: Fix the target offset of the '.' hard link.
-
Gregory Nutt authored
-
Gregory Nutt authored
fs/cromfs: Fix a error in reading partial compressed blocks. The LZF decompressor does not support that operation. Instead we have to decompress full block into a temporary buffer and copy out the parts that we need. To compensate for the performance hit, a caching mechanism was added so that we do not have to read the same block repeatedly. Unrelated: Also updates some README files.
-
- Mar 23, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
configs/cc3200-launchpad: I don't think that there is any reason for BINFS to be enabled in the NSH configuration.
-
Juha Niskanen authored
STM32, STM32L4: add one bit read and write to 1-wire interface. This is needed for devices that require single bit timeslot generation and for 1-Wire search algorithm triplets.
-
Gregory Nutt authored
Remove configurations using canutils/libuavcan and examples/uavcan. libuavcan has not built for a year or so. The basic problem is that as NuttX advances, the old frozen versino of libuavcan has become absolute because it violates the portable POSIX OS interface. No one is maintaining the port so there is no alternative but to remove it.
-
- Mar 22, 2018
-
-
Gregory Nutt authored
Documentation/NuttxPortingGuide.html: Some updated wording of description of the directories need for a complete board configuration.
-