Date   

Re: RFC: Unified kernel

Benjamin Walsh <benjamin.walsh@...>
 

On Wed, Jun 15, 2016 at 05:22:39PM -0400, Benjamin Walsh wrote:
The new APIs return generic negative errnos on failure and 0 on success,
instead of the RC_ ones used by the microkernel.

The timeout values passed to APIs are in seconds and nanoseconds,
similar to :code:`struct timespec`, instead of ticks, to allow for a
future fully tickless kernel. The granularity is in ticks for now
however since the system clock is still tick-based.

[Q: do we want a struct like timespec or use an int64_t in nanoseconds ?]
I did not get any feedback w.r.t. this: I have been using the int64_t in
nanoseconds in the code I currently have, since it allows easily passing
a constant without creating a variable to hold a timespec. However, when
I started passing seemingly ridiculously huge numbers, I found that I
really had to double-check the values to make sure I had the correct
number of zeroes. :) (one second is 1000000000)

Also, it currently involves 64-bit math for converting to ticks and
back, since the kernel is still tick-based.
<taking out this thread from mothballs>

I won't take credit for this since it was not my idea. :)

Al had this interesting idea:

- use an int32_t with ms granularity. This gives a range of about 25
days (2^31 / 1000 / 3600 / 24) = 24.8 days.

- 0 is NO_WAIT.

- (-(2^31)) is FOREVER.

- Keep the other negative values for another (2^31) range of values that
are on a different scale if sub-ms granularity is needed and
supported. That gives ~2s of range if using us granularity.

i.e. -1 is 1us.

Comments ?


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 4
[ZEP-688] unify duplicated sections of arch linker scripts
https://jira.zephyrproject.org/browse/ZEP-688

[ZEP-685] many sample programs are not built by CI
https://jira.zephyrproject.org/browse/ZEP-685

[ZEP-686] docs: Info in "Application Development Primer" and "Developing an Application and the Build System" is largely duplicated
https://jira.zephyrproject.org/browse/ZEP-686

[ZEP-687] docs: Subsystems/Networking section is almost empty
https://jira.zephyrproject.org/browse/ZEP-687


UPDATED JIRA items within last 24 hours: 12
[ZEP-541] Integrate QMSI releases to Zephyr
https://jira.zephyrproject.org/browse/ZEP-541

[ZEP-654] QMSI shim driver: I2C: Implement suspend and resume callbacks
https://jira.zephyrproject.org/browse/ZEP-654

[ZEP-661] QMSI shim driver: SPI: Implement suspend and resume callbacks
https://jira.zephyrproject.org/browse/ZEP-661

[ZEP-632] MQTT fail to re-connect to the broker.
https://jira.zephyrproject.org/browse/ZEP-632

[ZEP-647] Power management state storage should use GPS1 instead of GPS0
https://jira.zephyrproject.org/browse/ZEP-647

[ZEP-199] Zephyr driver model is undocumented
https://jira.zephyrproject.org/browse/ZEP-199

[ZEP-428] Ethernet/IPv4/TCP net_send error
https://jira.zephyrproject.org/browse/ZEP-428

[ZEP-645] ARC QMSI ADC shim driver fails to read sample data
https://jira.zephyrproject.org/browse/ZEP-645

[ZEP-644] Zephyr SDK 0.8.2 newlib headers no longer provide gettimeofday() prototype by default
https://jira.zephyrproject.org/browse/ZEP-644

[ZEP-217] Galileo ADC/SPI initialization error
https://jira.zephyrproject.org/browse/ZEP-217

[ZEP-545] Wrong default value of CONFIG_ADC_QMSI_SAMPLE_WIDTH for x86 QMSI ADC
https://jira.zephyrproject.org/browse/ZEP-545

[ZEP-556] System hangs during I2C transfer
https://jira.zephyrproject.org/browse/ZEP-556


CLOSED JIRA items within last 24 hours: 17
[ZEP-441] (Fixed) Add driver API reentrancy support to GPIO shim drivers
https://jira.zephyrproject.org/browse/ZEP-441

[ZEP-430] (Fixed) Add driver API reentrancy support to PWM shim driver
https://jira.zephyrproject.org/browse/ZEP-430

[ZEP-225] (Fixed) Add kernel API to put SoC to Deep Sleep (DS) State
https://jira.zephyrproject.org/browse/ZEP-225

[ZEP-227] (Fixed) Add kernel API to put SoC to Low Power State (LPS)
https://jira.zephyrproject.org/browse/ZEP-227

[ZEP-67] (Fixed) building a Zephyr app out of tree puts some files in wrong place
https://jira.zephyrproject.org/browse/ZEP-67

[ZEP-525] (Fixed) srctree changes are breaking applications
https://jira.zephyrproject.org/browse/ZEP-525

[ZEP-633] (Fixed) samples/usb/cdc_acm: undefined reference to `uart_qmsi_pm_save_config'
https://jira.zephyrproject.org/browse/ZEP-633

[ZEP-185] (Fixed) Nanokernel FIFO does not handle timeouts correctly
https://jira.zephyrproject.org/browse/ZEP-185

[ZEP-142] (Fixed) can't include limits.h with newlib enabled
https://jira.zephyrproject.org/browse/ZEP-142

[ZEP-514] (Fixed) memory corruption in microkernel memory pool defrag()
https://jira.zephyrproject.org/browse/ZEP-514

[ZEP-676] (Duplicate) DNS client sometimes fail to receive data
https://jira.zephyrproject.org/browse/ZEP-676

[ZEP-582] (Cannot Reproduce) CI jobs appear to be forcing CONFIG_DEBUG=y
https://jira.zephyrproject.org/browse/ZEP-582

[ZEP-429] (Fixed) CONFIG_NEWLIB_LIBC unusable with Zephyr SDK 0.8
https://jira.zephyrproject.org/browse/ZEP-429

[ZEP-204] (Cannot Reproduce) GPIO sample refuses to compile
https://jira.zephyrproject.org/browse/ZEP-204

[ZEP-379] (Fixed) _k_command_stack may be improperly initialized when debugging
https://jira.zephyrproject.org/browse/ZEP-379

[ZEP-106] (Fixed) Atmel SAM3 options shown in menuconfig when other SOCs are selected
https://jira.zephyrproject.org/browse/ZEP-106

[ZEP-532] (Won't Do) Zephyr shell is too inflexible
https://jira.zephyrproject.org/browse/ZEP-532


RESOLVED JIRA items within last 24 hours: 4
[ZEP-650] (Fixed) Quark SE: Implement PM reference application
https://jira.zephyrproject.org/browse/ZEP-650

[ZEP-658] (Fixed) QMSI shim driver: GPIO: Implement suspend and resume callbacks
https://jira.zephyrproject.org/browse/ZEP-658

[ZEP-655] (Fixed) QMSI shim driver: PWM: Implement suspend and resume callbacks
https://jira.zephyrproject.org/browse/ZEP-655

[ZEP-659] (Fixed) QMSI shim driver: UART: Implement suspend and resume callbacks
https://jira.zephyrproject.org/browse/ZEP-659


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/3997 : Bluetooth: L2CAP: Implement connect command on BR/EDR
- https://gerrit.zephyrproject.org/r/3996 : Bluetooth: L2CAP: Fix BR/EDR connect & send internal API
- https://gerrit.zephyrproject.org/r/3995 : Bluetooth: Export USB HCI controller using RAW HCI channel
- https://gerrit.zephyrproject.org/r/3994 : Bluetooth: Add RAW interface to Bluetooth
- https://gerrit.zephyrproject.org/r/3992 : sensor: hmc5883l: fix data sample axis order
- https://gerrit.zephyrproject.org/r/3993 : Bluetooth: Simplify configuration and fix warnings
- https://gerrit.zephyrproject.org/r/3986 : Bluetooth: L2CAP: Make common RTX commands timer
- https://gerrit.zephyrproject.org/r/3990 : Bluetooth: L2CAP: Add RTX timer for 'disconnect' command
- https://gerrit.zephyrproject.org/r/3989 : Bluetooth: L2CAP: Add RTX timer for 'configuration' command
- https://gerrit.zephyrproject.org/r/3988 : Bluetooth: L2CAP: Add RTX timer for 'get info' command
- https://gerrit.zephyrproject.org/r/3987 : Bluetooth: L2CAP: Initialize & cleanup RTX timer on BR/EDR
- https://gerrit.zephyrproject.org/r/3983 : samples/net: Update README file w.r.t compiler warnings
- https://gerrit.zephyrproject.org/r/3980 : sanity: print SDK versions

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/3851 : samples/net: Add a sample for a CoAP server
- https://gerrit.zephyrproject.org/r/3849 : tests: Add simple CoAP tests
- https://gerrit.zephyrproject.org/r/3850 : samples/net: Add a sample for a CoAP client
- https://gerrit.zephyrproject.org/r/3848 : lib: Introduce the CoAP implementation for Zephyr
- https://gerrit.zephyrproject.org/r/3854 : tests: Support computing the result of tests
- https://gerrit.zephyrproject.org/r/3853 : MAINTAINERS: add Quapi section
- https://gerrit.zephyrproject.org/r/3966 : aonpt_qmsi: Implement suspend and resume functions
- https://gerrit.zephyrproject.org/r/3911 : i2c_qmsi: Implement suspend and resume functions
- https://gerrit.zephyrproject.org/r/3583 : net: yaip: Network interface needs own TX fiber stack
- https://gerrit.zephyrproject.org/r/3582 : net: yaip: Add net_send_data() that sends data to network
- https://gerrit.zephyrproject.org/r/3581 : net: yaip: Renamed network data receive function
- https://gerrit.zephyrproject.org/r/3580 : net: yaip: Network interface sets default IPv6 hop limit
- https://gerrit.zephyrproject.org/r/3579 : net: yaip: Move IP address print funcs to separate file
- https://gerrit.zephyrproject.org/r/3578 : net: yaip: Add ICMP protocol header struct
- https://gerrit.zephyrproject.org/r/3577 : net: yaip: Added API documentation to IP address check functions
- https://gerrit.zephyrproject.org/r/3576 : net: yaip: Receive IPv4 packet
- https://gerrit.zephyrproject.org/r/3575 : net: yaip: Network interface code compiles ok for IPv4 and IPv6
- https://gerrit.zephyrproject.org/r/3574 : net: tests: Add more IPv6 address getters unit tests
- https://gerrit.zephyrproject.org/r/3573 : net: yaip: IPv6 address utility funcs for network interface
- https://gerrit.zephyrproject.org/r/3572 : net: tests: Add IPv4 address unit tests
- https://gerrit.zephyrproject.org/r/3571 : net: yaip: Add IPv4 addresses to network interface
- https://gerrit.zephyrproject.org/r/3570 : net: tests: Add IPv6 address manipulation unit tests
- https://gerrit.zephyrproject.org/r/3569 : net: yaip: Utilities to set and lookup interface IPv6 addresses
- https://gerrit.zephyrproject.org/r/3568 : net: yaip: Add utility functions to check IPv6 addresses
- https://gerrit.zephyrproject.org/r/3567 : net: yaip: Add utility func to return IP address type as a string
- https://gerrit.zephyrproject.org/r/3566 : net: yaip: Drop received source mcast IPv6 packets
- https://gerrit.zephyrproject.org/r/3565 : net: yaip: Receive IPv6 packet
- https://gerrit.zephyrproject.org/r/3564 : net: tests: Add unit test for IP and MAC address printing
- https://gerrit.zephyrproject.org/r/3563 : net: yaip: Add debug function to print IP address
- https://gerrit.zephyrproject.org/r/3562 : net: yaip: Add debug function to print MAC address
- https://gerrit.zephyrproject.org/r/3561 : net: yaip: Add statistics gathering support
- https://gerrit.zephyrproject.org/r/3560 : net: yaip: Add net_context to compilation
- https://gerrit.zephyrproject.org/r/3559 : net: yaip: Start to receive network packets
- https://gerrit.zephyrproject.org/r/3558 : net: tests: Temporarily remove nbuf unit test
- https://gerrit.zephyrproject.org/r/3557 : net: yaip: Enable compilation of net_if.c
- https://gerrit.zephyrproject.org/r/3556 : net: yaip: Refactor debug printing in net_if
- https://gerrit.zephyrproject.org/r/3555 : net: yaip: Start to use logging macros from sys_log.h
- https://gerrit.zephyrproject.org/r/3554 : net: yaip: Add send() to net_if API
- https://gerrit.zephyrproject.org/r/3553 : net: yaip: Add Kconfig option for compiling IPv4 support
- https://gerrit.zephyrproject.org/r/3552 : net: yaip: Add net_if_get_by_link_addr() util function
- https://gerrit.zephyrproject.org/r/3551 : net: yaip: Execute net_init() automatically
- https://gerrit.zephyrproject.org/r/3550 : net: yaip: Add Kconfig option for compiling IPv6 support
- https://gerrit.zephyrproject.org/r/3549 : net: yaip: Add net_analyze_stack() macro
- https://gerrit.zephyrproject.org/r/3548 : net: yaip: Fix compilation error in net_if.h
- https://gerrit.zephyrproject.org/r/3547 : slip: Add driver for host to qemu connectivity
- https://gerrit.zephyrproject.org/r/3546 : net: yaip: Add nbuf buffer API
- https://gerrit.zephyrproject.org/r/3545 : net: yaip: Compile IPv6 and IPv4 address conditionally
- https://gerrit.zephyrproject.org/r/3544 : net: yaip: Add function that feeds data to RX fifo
- https://gerrit.zephyrproject.org/r/3543 : net: yaip: Refactored RX fiber init
- https://gerrit.zephyrproject.org/r/3542 : net: yaip: Add TX fifo to network interface
- https://gerrit.zephyrproject.org/r/3541 : net: yaip: Add IPv6 prefixes to network interface
- https://gerrit.zephyrproject.org/r/3540 : net: yaip: Add multicast address to network interface
- https://gerrit.zephyrproject.org/r/3539 : net: yaip: Add network address information to interface
- https://gerrit.zephyrproject.org/r/3538 : net: yaip: apps: Create a skeleton echo-server for new IP stack
- https://gerrit.zephyrproject.org/r/3537 : net: Add generic network interface header
- https://gerrit.zephyrproject.org/r/3536 : net: yaip: Compile new stack if enabled
- https://gerrit.zephyrproject.org/r/3535 : net: yaip: Use same prefix in new IP stack Kconfig
- https://gerrit.zephyrproject.org/r/3534 : net: yaip: Add ntohl() and related macros
- https://gerrit.zephyrproject.org/r/3533 : net: yaip: Add defines for various IP protocol header lengths
- https://gerrit.zephyrproject.org/r/3532 : net: yaip: Initial commit for the new IP stack
- https://gerrit.zephyrproject.org/r/3873 : net: tests: Fix the context unit test
- https://gerrit.zephyrproject.org/r/3839 : net: yaip: Modify NET6LO_ defines to NET_6LO
- https://gerrit.zephyrproject.org/r/3838 : net: tests: Add fragmentation unit tests
- https://gerrit.zephyrproject.org/r/3837 : net: yaip: Add support for IEEE 802.15.4 reassembly
- https://gerrit.zephyrproject.org/r/3836 : net: yaip: Integrate 6lowpan and 802.15.4 fragmentation
- https://gerrit.zephyrproject.org/r/3835 : net: yaip: Add support for IEEE 802.15.4 fragmentation
- https://gerrit.zephyrproject.org/r/3834 : net: tests: Add unit tests for 6lo IPv6 dispatch support
- https://gerrit.zephyrproject.org/r/3833 : net: yaip: Fix wrong UDP length calculation in 6lo compression
- https://gerrit.zephyrproject.org/r/3832 : net: yaip: Add 6lowpan without compression header support
- https://gerrit.zephyrproject.org/r/3831 : net: yaip: Change 6lo api's returned parameter
- https://gerrit.zephyrproject.org/r/3830 : net: tests: Fix 6lo tests
- https://gerrit.zephyrproject.org/r/3829 : net: yaip: Fix typo and alignment in 6lo
- https://gerrit.zephyrproject.org/r/3828 : net: yaip: Do not access IPv6 neighbor cache directly
- https://gerrit.zephyrproject.org/r/3827 : net: yaip: Neighbor cache table was incorrectly accessed
- https://gerrit.zephyrproject.org/r/3826 : net: yaip: Add support for IPv6 prefix lifetime
- https://gerrit.zephyrproject.org/r/3825 : net: yaip: Use target address in IPv6 NS to lookup neighbor
- https://gerrit.zephyrproject.org/r/3824 : net: yaip: Send available pending data after receiving IPv6 NA
- https://gerrit.zephyrproject.org/r/3823 : net: yaip: Add IPv6 ND reachability support
- https://gerrit.zephyrproject.org/r/3822 : net: yaip: Add neighbor free function in IPv6 cache
- https://gerrit.zephyrproject.org/r/3821 : net: yaip: Add network interface to neighbor creation call
- https://gerrit.zephyrproject.org/r/3820 : net: yaip: Add more debugging prints to IPv6 ND handling
- https://gerrit.zephyrproject.org/r/3819 : net: yaip: Add debug helper for neighbor tables
- https://gerrit.zephyrproject.org/r/3818 : net: yaip: Set initial neighbor value when IPv6 NS is received
- https://gerrit.zephyrproject.org/r/3817 : net: yaip: IPv6 ND fixes
- https://gerrit.zephyrproject.org/r/3816 : net: yaip: Timeout a pending NS
- https://gerrit.zephyrproject.org/r/3815 : net: yaip: Wrong pointer was used when setting router status
- https://gerrit.zephyrproject.org/r/3814 : net: yaip: Utility helper to access IPv6 ND cache data
- https://gerrit.zephyrproject.org/r/3813 : net: yaip: Print buffer usage after receiving or sending data
- https://gerrit.zephyrproject.org/r/3812 : net: yaip: Fix compilation warning
- https://gerrit.zephyrproject.org/r/3811 : net: yaip: Ethernet mac address length was incorrectly set
- https://gerrit.zephyrproject.org/r/3810 : net: yaip: Discard ethernet frame if it is not for us
- https://gerrit.zephyrproject.org/r/3809 : net: yaip: Add ll address checker function
- https://gerrit.zephyrproject.org/r/3808 : net: yaip: Fix compilation if IPv4 is disabled
- https://gerrit.zephyrproject.org/r/3807 : net: yaip: Fix the debug prints in echo-server
- https://gerrit.zephyrproject.org/r/3806 : net: yaip: Sample code to play with ieee 802.15.4 stack
- https://gerrit.zephyrproject.org/r/3805 : boards: quark_se_devboard: Build cc2520 if YAIP IEEE 802.15.4 is in
- https://gerrit.zephyrproject.org/r/3804 : drivers: cc2520: Add a new IP stack ready adaptation of CC2520 driver
- https://gerrit.zephyrproject.org/r/3803 : drivers: cc2520: Make current driver for legacy stack only
- https://gerrit.zephyrproject.org/r/3802 : tests: net: Add a IEEE 802.15.4 ACK replies test
- https://gerrit.zephyrproject.org/r/3801 : net: yaip: ieee802154: Support ACK replies
- https://gerrit.zephyrproject.org/r/3800 : tests: yaip: Add grounds for IEEE 802.15.4 stack tests.
- https://gerrit.zephyrproject.org/r/3799 : net: yaip: Add support for the IEEE 802.15.4 ORFD
- https://gerrit.zephyrproject.org/r/3798 : net: yaip: Adding ALOHA radio protocol to IEEE 802.15.4 L2 driver
- https://gerrit.zephyrproject.org/r/3797 : net: yaip: Add preliminary IEEE 802.15.4 L2 driver
- https://gerrit.zephyrproject.org/r/3796 : net: yaip: Add new IEEE 802.15.4 Radio API for device drivers
- https://gerrit.zephyrproject.org/r/3795 : net: yaip: L2 might need private data per-interface
- https://gerrit.zephyrproject.org/r/3794 : net: yaip: Fix tx fiber on net_if
- https://gerrit.zephyrproject.org/r/3793 : net: yaip: Add a function to lookup for an iface from a device
- https://gerrit.zephyrproject.org/r/3792 : net: yaip: Add some debug message on net_if
- https://gerrit.zephyrproject.org/r/3791 : net: yaip: Add documentation to net_l2 header file.
- https://gerrit.zephyrproject.org/r/3790 : net: yaip: l2 layer reserve size might need extra parameter
- https://gerrit.zephyrproject.org/r/3789 : net: yaip: Use generic memory alignement helper
- https://gerrit.zephyrproject.org/r/3788 : misc: Add an helper for memory alignement
- https://gerrit.zephyrproject.org/r/3787 : net: yaip: Sent NS was two bytes too long
- https://gerrit.zephyrproject.org/r/3786 : net: yaip: Check ICMPv6 options length correctly
- https://gerrit.zephyrproject.org/r/3785 : net: yaip: Change srctree to ZEPHYR_BASE in Makefiles
- https://gerrit.zephyrproject.org/r/3784 : net: yaip: Add a function to retrieve a neighbour from an IPv6 address
- https://gerrit.zephyrproject.org/r/3783 : net: yaip: Fix IPv6 NS packet size check
- https://gerrit.zephyrproject.org/r/3782 : net: yaip: Add IPv6 ND statistics when relevant
- https://gerrit.zephyrproject.org/r/3781 : net: yaip: RX fiber needs bigger stack
- https://gerrit.zephyrproject.org/r/3780 : net: yaip: Return NET_CONTINUE in L2 ethernet driver in send()
- https://gerrit.zephyrproject.org/r/3779 : net: yaip: Ethernet driver needs to set ll address
- https://gerrit.zephyrproject.org/r/3778 : net: yaip: IPv6 neighbor was not properly added to cache
- https://gerrit.zephyrproject.org/r/3777 : net: yaip: No need to swap ll address in IPv6 module
- https://gerrit.zephyrproject.org/r/3776 : net: yaip: Update UDP sent packet statistics
- https://gerrit.zephyrproject.org/r/3775 : net: yaip: nbuf variables needs clearing when allocating nbuf
- https://gerrit.zephyrproject.org/r/3774 : net: yaip: Check packet sending status correctly in arp.c
- https://gerrit.zephyrproject.org/r/3773 : net: yaip: Call net_context send callback when packet is sent
- https://gerrit.zephyrproject.org/r/3772 : net: yaip: Call send callback in net_context properly
- https://gerrit.zephyrproject.org/r/3771 : net: yaip: Add token to nbuf
- https://gerrit.zephyrproject.org/r/3770 : net: yaip: Check IPv6 NS, NA and RA messages for corruption
- https://gerrit.zephyrproject.org/r/3769 : net: yaip: Rename ip_protocol to net_ip_protocol
- https://gerrit.zephyrproject.org/r/3768 : net: apps: Fix echo-server to use the new user API
- https://gerrit.zephyrproject.org/r/3767 : net: yaip: Set reserve, context and iface properly in nbuf
- https://gerrit.zephyrproject.org/r/3766 : net: yaip: Add more debugging to nbuf
- https://gerrit.zephyrproject.org/r/3765 : net: yaip: Use proper ll header length when sending IPv6 NS
- https://gerrit.zephyrproject.org/r/3764 : net: yaip: Resolve LL address for IPv6 packet in ethernet L2 driver
- https://gerrit.zephyrproject.org/r/3763 : net: yaip: Do IPv6 ND if LL address is not known when sending
- https://gerrit.zephyrproject.org/r/3762 : net: yaip: Neighbor cache entry was not properly init
- https://gerrit.zephyrproject.org/r/3761 : net: yaip: Fix debug prints in net conn manager
- https://gerrit.zephyrproject.org/r/3760 : slip: Do not send ethernet header if mtu is large enough
- https://gerrit.zephyrproject.org/r/3759 : net: yaip: Set the protocol family and interface for net_buf
- https://gerrit.zephyrproject.org/r/3758 : net: tests: Unit tests for user space socket API
- https://gerrit.zephyrproject.org/r/3757 : net: yaip: Create IPv4, IPv6 and UDP packets when needed
- https://gerrit.zephyrproject.org/r/3756 : net: yaip: Utility function to append UDP packet into net_buf
- https://gerrit.zephyrproject.org/r/3755 : net: yaip: Add helper to create IPv4 packet
- https://gerrit.zephyrproject.org/r/3754 : net: yaip: Add helper to create IPv6 packet
- https://gerrit.zephyrproject.org/r/3753 : net: yaip: Add user space API to net_context
- https://gerrit.zephyrproject.org/r/3752 : net: yaip: Increasing the default IPv6 unicast addr count
- https://gerrit.zephyrproject.org/r/3751 : net: yaip: Add net_conn pointer to callback
- https://gerrit.zephyrproject.org/r/3750 : net: yaip: Convert network connection to use sockaddr
- https://gerrit.zephyrproject.org/r/3749 : net: yaip: Add helpers for getting protocol specific sockaddr
- https://gerrit.zephyrproject.org/r/3748 : net: yaip: Add sockaddr struct
- https://gerrit.zephyrproject.org/r/3747 : net: yaip: UDP checksum calculator
- https://gerrit.zephyrproject.org/r/3746 : net: yaip: Swap ll addresses when handling ICMPv6 Echo-Request
- https://gerrit.zephyrproject.org/r/3745 : net: yaip: net_hexdump_frags() is only available when debugging
- https://gerrit.zephyrproject.org/r/3744 : net: tests: UDP unit test had wrong ll address length
- https://gerrit.zephyrproject.org/r/3743 : net: yaip: Making IP address const in utility func
- https://gerrit.zephyrproject.org/r/3742 : net: yaip: Protocol family needs to be set for multicast address
- https://gerrit.zephyrproject.org/r/3741 : net: tests: udp: Print debug information only when activated
- https://gerrit.zephyrproject.org/r/3740 : net: yaip: Utility to get net_if according to index value
- https://gerrit.zephyrproject.org/r/3739 : net: yaip: IP address lookup functions return interface
- https://gerrit.zephyrproject.org/r/3738 : net: yaip: Do not include anything from net/ip directory
- https://gerrit.zephyrproject.org/r/3737 : net: yaip: Fix dedicated IPv4 function for net_if
- https://gerrit.zephyrproject.org/r/3736 : net: yaip: Simplify IPV<4/6> config management in net_if
- https://gerrit.zephyrproject.org/r/3735 : net: tests: Add unit tests for 6lowpan functionality
- https://gerrit.zephyrproject.org/r/3734 : net: yaip: Add initial 6lowpan IPHC compression support.
- https://gerrit.zephyrproject.org/r/3733 : net: yaip: Add utility to verify given addr based on ll
- https://gerrit.zephyrproject.org/r/3732 : net: yaip: Add support for 802.15.4 short address for iid creation
- https://gerrit.zephyrproject.org/r/3731 : net: yaip: Clear ipv6 addr parameter on create iid
- https://gerrit.zephyrproject.org/r/3730 : net: yaip: Fix net_ip.h documentation
- https://gerrit.zephyrproject.org/r/3729 : net: yaip: Cleanup net_if's documentation
- https://gerrit.zephyrproject.org/r/3728 : net: yaip: Let's use inline function for type checking for net_nbuf
- https://gerrit.zephyrproject.org/r/3727 : net: yaip: Moving header files to include/net/yaip
- https://gerrit.zephyrproject.org/r/3726 : net: Refine Kconfig to put NET_BUF appart
- https://gerrit.zephyrproject.org/r/3725 : samples: Fix echo_server for YAIP
- https://gerrit.zephyrproject.org/r/3724 : sanitycheck: Recognize YAIP specific sections
- https://gerrit.zephyrproject.org/r/3723 : sanitycheck: Fix YAIP testcase.ini files
- https://gerrit.zephyrproject.org/r/3722 : net: yaip: Debugging function to print fragment chain information
- https://gerrit.zephyrproject.org/r/3721 : net: yaip: Refactor nbuf.h and nbuf.c
- https://gerrit.zephyrproject.org/r/3720 : net: tests: Fix project file for IP address tests
- https://gerrit.zephyrproject.org/r/3719 : net: tests: Fix IP address test so that it will not crash
- https://gerrit.zephyrproject.org/r/3718 : net: tests: ICMPv6 test was missing random number config
- https://gerrit.zephyrproject.org/r/3717 : net: yaip: Fix compilation when IPv6 is disabled
- https://gerrit.zephyrproject.org/r/3716 : net: yaip: Refactored IPv6 DAD and ND activation
- https://gerrit.zephyrproject.org/r/3715 : net: tests: Turning off IPv6 for ARP tests
- https://gerrit.zephyrproject.org/r/3714 : net: tests: Unit tests for net_nbuf_push() function
- https://gerrit.zephyrproject.org/r/3713 : net: yaip: Utility that inserts free space to the fragment list
- https://gerrit.zephyrproject.org/r/3712 : net: yaip: Utility function to compact net_buf fragments
- https://gerrit.zephyrproject.org/r/3711 : net: tests: Fix ARP test so that it will not crash
- https://gerrit.zephyrproject.org/r/3710 : net: tests: Unit tests for UDP handler
- https://gerrit.zephyrproject.org/r/3709 : net: yaip: Catch UDP network traffic
- https://gerrit.zephyrproject.org/r/3708 : net: yaip: Initial UDP support
- https://gerrit.zephyrproject.org/r/3707 : net: yaip: Generic connection handler for UDP and TCP
- https://gerrit.zephyrproject.org/r/3706 : net: yaip: Add support for ICMPv4 error message
- https://gerrit.zephyrproject.org/r/3705 : net: yaip: Add support for ICMPv6 error message
- https://gerrit.zephyrproject.org/r/3704 : net: yaip: Add IPv6 minimum MTU value
- https://gerrit.zephyrproject.org/r/3703 : net: yaip: Make some IPv6 utility functions to use const addr
- https://gerrit.zephyrproject.org/r/3702 : net: yaip: Add TTL IPv4 option
- https://gerrit.zephyrproject.org/r/3701 : net: tests: Add unit tests for net_nbuf_copy()
- https://gerrit.zephyrproject.org/r/3700 : net: yaip: Add net_nbuf_copy() utility function
- https://gerrit.zephyrproject.org/r/3699 : net: Kconfig: Refactor Kconfig menus for better clarity
- https://gerrit.zephyrproject.org/r/3698 : net: yaip: Make IPv6 ND optional
- https://gerrit.zephyrproject.org/r/3697 : net: yaip: Initial router advertisement support
- https://gerrit.zephyrproject.org/r/3696 : net: yaip: Initial router solicitation support
- https://gerrit.zephyrproject.org/r/3695 : net: yaip: Initial IPv6 neighbor discovery support
- https://gerrit.zephyrproject.org/r/3694 : slip: Setup fragments properly if MTU is bigger than frag size
- https://gerrit.zephyrproject.org/r/3693 : slip: Do not try to unref a null pointer
- https://gerrit.zephyrproject.org/r/3692 : net: yaip: Start the network stack after device drivers
- https://gerrit.zephyrproject.org/r/3691 : slip: Network stack needs to be up before sending data to it
- https://gerrit.zephyrproject.org/r/3690 : net: yaip: Remove extra debug print in ethernet L2 driver
- https://gerrit.zephyrproject.org/r/3689 : net: yaip: Set multicast dst address in ethernet if missing
- https://gerrit.zephyrproject.org/r/3688 : net: yaip: Add a utility to hexdump all fragments
- https://gerrit.zephyrproject.org/r/3687 : net: yaip: Pointer to a ethernet header was incorrectly set
- https://gerrit.zephyrproject.org/r/3686 : net: yaip: ARP unit test needs to be run from fiber
- https://gerrit.zephyrproject.org/r/3685 : net: yaip: Refactored ARP packet header handling
- https://gerrit.zephyrproject.org/r/3684 : net: yaip: Add more checks when allocating nbuf
- https://gerrit.zephyrproject.org/r/3683 : net: yaip: Ethernet L2 TX side needs to setup fragments
- https://gerrit.zephyrproject.org/r/3682 : net: yaip: Add more debug print in ethernet RX side
- https://gerrit.zephyrproject.org/r/3681 : net: yaip: Add more debug checks when sending data in TX fiber
- https://gerrit.zephyrproject.org/r/3680 : net: yaip: Reserve ethernet ll header len in L2 ethernet driver
- https://gerrit.zephyrproject.org/r/3679 : net: yaip: IPv4 protocol type was not set to sent ARP packet
- https://gerrit.zephyrproject.org/r/3678 : net: yaip: Add more debugging to arp.c
- https://gerrit.zephyrproject.org/r/3677 : net: yaip: Both TX and RX fibers allow other fibers to run
- https://gerrit.zephyrproject.org/r/3676 : net: yaip: Add utility function to return eth broadcast addr
- https://gerrit.zephyrproject.org/r/3675 : net: yaip: Add debugging support to ethernet L2 driver
- https://gerrit.zephyrproject.org/r/3674 : net: yaip: Calling net_buf_put() instead of nano_fifo_put()
- https://gerrit.zephyrproject.org/r/3673 : net: yaip: ARP reply did not set the address family
- https://gerrit.zephyrproject.org/r/3672 : net: yaip: Initializing the ll src and dst addresses
- https://gerrit.zephyrproject.org/r/3671 : net: yaip: Add ll reserve information to l2 driver
- https://gerrit.zephyrproject.org/r/3670 : slip: Fix the debug print
- https://gerrit.zephyrproject.org/r/3669 : net: yaip: Write ethernet header when using slip and tap
- https://gerrit.zephyrproject.org/r/3668 : net: yaip: Make sure ethernet l2 sets src and dst addresses
- https://gerrit.zephyrproject.org/r/3667 : net: yaip: Set IP protocol type when sending ethernet packet
- https://gerrit.zephyrproject.org/r/3666 : net: yaip: Set the ll src and dst addresses in ethernet l2 driver
- https://gerrit.zephyrproject.org/r/3665 : net: yaip: Set the l2 src/dst addresses in nbuf
- https://gerrit.zephyrproject.org/r/3664 : net: yaip: Add ethernet address helpers
- https://gerrit.zephyrproject.org/r/3663 : net: yaip: Re-send ARP when needed
- https://gerrit.zephyrproject.org/r/3662 : net: yaip: Add utility to remove ipv4 address from iface
- https://gerrit.zephyrproject.org/r/3661 : net: yaip: Change how the L2 header space is reserved in net_buf
- https://gerrit.zephyrproject.org/r/3660 : net: yaip: Make sure that either IPv4 or IPv6 gets selected
- https://gerrit.zephyrproject.org/r/3659 : net: tests: Fix unit test for IP utils
- https://gerrit.zephyrproject.org/r/3658 : net: tests: Fix unit test for IP addresses
- https://gerrit.zephyrproject.org/r/3657 : net: yaip: Changed the IP and ll address debug prints
- https://gerrit.zephyrproject.org/r/3656 : net: tests: Fix unit test for ARP
- https://gerrit.zephyrproject.org/r/3655 : net: yaip: Fix arp.h so that net_arp_init() is found
- https://gerrit.zephyrproject.org/r/3654 : net: yaip: Depending on debug flags the stdio.h is not included
- https://gerrit.zephyrproject.org/r/3653 : net: yaip: Print statistics using SYS_LOG
- https://gerrit.zephyrproject.org/r/3652 : net: yaip: Network stack analyzer uses now the SYS_LOG sub-system
- https://gerrit.zephyrproject.org/r/3651 : net: yaip: Do not overwrite SYS_LOG_DOMAIN
- https://gerrit.zephyrproject.org/r/3650 : net: yaip: The NET_DEBUG symbol must not be set in header file
- https://gerrit.zephyrproject.org/r/3649 : net: yaip: Use debugging net_buf unref function
- https://gerrit.zephyrproject.org/r/3648 : net: yaip: Process ICMPv6 packets only if IPv6 is enabled
- https://gerrit.zephyrproject.org/r/3647 : net: yaip: Refactor various network init functions
- https://gerrit.zephyrproject.org/r/3646 : net: yaip: Buffer leak if net_if_send_data() returns NET_DROP
- https://gerrit.zephyrproject.org/r/3645 : net: yaip: No need to do ARP for IPv6 network packet
- https://gerrit.zephyrproject.org/r/3644 : net: yaip: The IP protocol type needs to be set in L2 layer
- https://gerrit.zephyrproject.org/r/3643 : net: tests: Add unit tests for neighbor cache
- https://gerrit.zephyrproject.org/r/3642 : net: yaip: Add a neighbor cache needed in IPv6
- https://gerrit.zephyrproject.org/r/3641 : net: yaip: Add IPv6 address network interface utilities
- https://gerrit.zephyrproject.org/r/3640 : net: yaip: Add IPv6 utilities for address manipulation
- https://gerrit.zephyrproject.org/r/3639 : net: yaip: Changing IPv4 address comparer to a function
- https://gerrit.zephyrproject.org/r/3638 : net: yaip: Use const for static pre-defined IPv6 addresses
- https://gerrit.zephyrproject.org/r/3637 : net: yaip: Add struct to store link layer address
- https://gerrit.zephyrproject.org/r/3636 : net: yaip: Print available DATA buffers during nbuf alloc
- https://gerrit.zephyrproject.org/r/3635 : net: yaip: Make sure that RX is started before TX
- https://gerrit.zephyrproject.org/r/3634 : net: yaip: Moved ARP helper macro to arp.h
- https://gerrit.zephyrproject.org/r/3633 : net: yaip: Add comment explaining net_core's verdict values
- https://gerrit.zephyrproject.org/r/3632 : net: yaip: Save some bytes on net_if logic
- https://gerrit.zephyrproject.org/r/3631 : net: yaip: Add NET_ASSERT() macro
- https://gerrit.zephyrproject.org/r/3630 : net: yaip: Tiny comment fix
- https://gerrit.zephyrproject.org/r/3629 : net: yaip: Removing capabilities() from net_if api
- https://gerrit.zephyrproject.org/r/3628 : net: yaip: Re-factor Kconfig and move ARP to a better place
- https://gerrit.zephyrproject.org/r/3627 : net: yaip: Add an L2 layer
- https://gerrit.zephyrproject.org/r/3626 : net: yaip: Make net_core.h include the least amount of necessary header
- https://gerrit.zephyrproject.org/r/3625 : net: yaip: Add an helper to queue a buffer in a net_if instance
- https://gerrit.zephyrproject.org/r/3624 : slip: Fix compiler warnings
- https://gerrit.zephyrproject.org/r/3623 : net: yaip: Shorten IPv4/6 config options
- https://gerrit.zephyrproject.org/r/3622 : net: yaip: The core initialize ARP layer relevantly
- https://gerrit.zephyrproject.org/r/3621 : net: debug: Indent properly some config options.
- https://gerrit.zephyrproject.org/r/3620 : net: yaip: Include toolchain related header for aliases
- https://gerrit.zephyrproject.org/r/3619 : net: yaip: Use generic wrapper for semaphore give operation
- https://gerrit.zephyrproject.org/r/3618 : net: yaip: Fix __packed attribute, use shorter alias
- https://gerrit.zephyrproject.org/r/3617 : net: yaip: Add UDP header
- https://gerrit.zephyrproject.org/r/3616 : net: yaip: Trivial comment fixes in header files
- https://gerrit.zephyrproject.org/r/3615 : net: yaip: Setting static IP addresses for echo-server
- https://gerrit.zephyrproject.org/r/3614 : net: yaip: Handle ARP messages
- https://gerrit.zephyrproject.org/r/3613 : net: tests: Additional tests for ICMPv4 checksum verification
- https://gerrit.zephyrproject.org/r/3612 : net: yaip: ICMPv4 checksum calculation fixed
- https://gerrit.zephyrproject.org/r/3611 : net: yaip: IP checksum calculation should ignore ll header
- https://gerrit.zephyrproject.org/r/3610 : net: yaip: Clarified the debug print about packet length
- https://gerrit.zephyrproject.org/r/3609 : net: tests: Fixed the ARP test
- https://gerrit.zephyrproject.org/r/3608 : net: yaip: Use net_nbuf_ll() macro to get into arp header
- https://gerrit.zephyrproject.org/r/3607 : net: yaip: Make echo-server to use documentation IPv4 addresses
- https://gerrit.zephyrproject.org/r/3606 : net: yaip: Only accept ARP reply if we requested data
- https://gerrit.zephyrproject.org/r/3605 : net: yaip: Setting preferred status to manually added IPv4 address
- https://gerrit.zephyrproject.org/r/3604 : slip: Support TAP functionality
- https://gerrit.zephyrproject.org/r/3603 : net: tests: Unit tests for IPv4 ARP code
- https://gerrit.zephyrproject.org/r/3602 : net: yaip: Added IPv4 ARP support
- https://gerrit.zephyrproject.org/r/3601 : net: tests: Add tests for IPv4 netmask, gw and subnet compare
- https://gerrit.zephyrproject.org/r/3600 : net: yaip: Add capabilities flag to net_if API
- https://gerrit.zephyrproject.org/r/3599 : net: yaip: Add util to check if IPv4 address is part of subnet
- https://gerrit.zephyrproject.org/r/3598 : net: yaip: Add utils to set IPv4 netmask and gateway in net_if
- https://gerrit.zephyrproject.org/r/3597 : net: yaip: Macro to compare two IPv4 addresses
- https://gerrit.zephyrproject.org/r/3596 : net: yaip: net_ipaddr_copy() macro was too fragile
- https://gerrit.zephyrproject.org/r/3595 : net: yaip: Add utility function returning IPv4 broadcast address
- https://gerrit.zephyrproject.org/r/3594 : net: yaip: Do not remove fragments if main buffer is not removed
- https://gerrit.zephyrproject.org/r/3593 : net: tests: Tweak the IP address test to use new net_if API
- https://gerrit.zephyrproject.org/r/3592 : net: yaip: Add utility function to return default network interface
- https://gerrit.zephyrproject.org/r/3591 : net: yaip: Process received ICMPv4 messages
- https://gerrit.zephyrproject.org/r/3590 : net: yaip: Process received ICMPv6 messages
- https://gerrit.zephyrproject.org/r/3589 : net: yaip: Add unit tests for ICMPv6 handler
- https://gerrit.zephyrproject.org/r/3588 : net: yaip: Add ICMPv6 handler
- https://gerrit.zephyrproject.org/r/3587 : net: tests: Unit tests for network utilities
- https://gerrit.zephyrproject.org/r/3586 : net: yaip: Add debugging option for network utilities
- https://gerrit.zephyrproject.org/r/3585 : net: yaip: Add IP packet checksum calculation utilities
- https://gerrit.zephyrproject.org/r/3584 : net: yaip: Add net_hexdump() utility to print network data
- https://gerrit.zephyrproject.org/r/3527 : console: shell: Shell enhancement - Support multiple modules
- https://gerrit.zephyrproject.org/r/3936 : net: samples: Fix Rx buffers count.
- https://gerrit.zephyrproject.org/r/3954 : em9d: em11d: fix broken build
- https://gerrit.zephyrproject.org/r/3956 : arc: unify copied linker script
- https://gerrit.zephyrproject.org/r/3948 : wdt_qmsi: Implement suspend and resume functions
- https://gerrit.zephyrproject.org/r/3894 : power_mgmt: Make device_pm_ops definition static
- https://gerrit.zephyrproject.org/r/3517 : arm: Add support for both floating point ABIs
- https://gerrit.zephyrproject.org/r/3929 : Bluetooth: Remove not needed BT_KEYS_BR_LEGACY flag
- https://gerrit.zephyrproject.org/r/3928 : Bluetooth: Remove redundant ifdefs from keys.h
- https://gerrit.zephyrproject.org/r/3927 : Bluetooth: Fix typos in code comments
- https://gerrit.zephyrproject.org/r/3972 : net: Initial trickle algorithm support for legacy IP stack
- https://gerrit.zephyrproject.org/r/3895 : tests/kernel/test_multilib: Test for proper multilib selection.
- https://gerrit.zephyrproject.org/r/3439 : spi_qmsi: Add suspend/resume

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/3979 : ext: qmsi: disable tx empty interrupt at the end of rx transfer
- https://gerrit.zephyrproject.org/r/3991 : Merge remote-tracking branch 'origin/master' into net
- https://gerrit.zephyrproject.org/r/3985 : Merge master branch into bluetooth
- https://gerrit.zephyrproject.org/r/3963 : drivers: adc: Correct an error in Kconfig
- https://gerrit.zephyrproject.org/r/3962 : event logger: reduce sample application's RAM footprint
- https://gerrit.zephyrproject.org/r/3960 : sanity: non utf-8 characters are tolerated
- https://gerrit.zephyrproject.org/r/3503 : sys_log: replace old debug macros at USB DFU sample
- https://gerrit.zephyrproject.org/r/3917 : doc: removed unneeded variable from guide
- https://gerrit.zephyrproject.org/r/3964 : tests/kernel/{test_task,test_sleep}: Less aggressive timer testing
- https://gerrit.zephyrproject.org/r/3965 : ext qmsi: Update to QMSI 1.1.0 release
- https://gerrit.zephyrproject.org/r/3970 : Bluetooth: SMP: Fix non-ASCII characters in comments
- https://gerrit.zephyrproject.org/r/3872 : Revert "Bluetooth: SMP: Workaround LE SC bug in iOS"
- https://gerrit.zephyrproject.org/r/3940 : usb: Fix compile error with debug enabled
- https://gerrit.zephyrproject.org/r/3942 : usb: Add error log to help debugging
- https://gerrit.zephyrproject.org/r/3939 : usb: Add Bluetooth class codes definitions
- https://gerrit.zephyrproject.org/r/3941 : usb: Fix incorrect macro assignment
- https://gerrit.zephyrproject.org/r/3967 : Bluetooth: trivial: Remove extra line
- https://gerrit.zephyrproject.org/r/3529 : net: contiki: Fix timer callback condition
- https://gerrit.zephyrproject.org/r/3935 : net: samples: Fix RFC3849 address config option.
- https://gerrit.zephyrproject.org/r/3952 : drivers: spi: Update comment for spi config parameter
- https://gerrit.zephyrproject.org/r/3913 : net: uip: Fix uip_udp_conns traverse loop in uip_process
- https://gerrit.zephyrproject.org/r/3919 : mqtt: fix: pinreq handler function exit condition
- https://gerrit.zephyrproject.org/r/3961 : mqtt: fix: Remove ping function call
- https://gerrit.zephyrproject.org/r/3920 : mqtt: fix: Eliminate redundant lines by using a common exit point
- https://gerrit.zephyrproject.org/r/3976 : checkpatch: add ignore for net/ip/contiki directory
- https://gerrit.zephyrproject.org/r/3909 : Bluetooth: tester: Fix extra new lines
- https://gerrit.zephyrproject.org/r/3910 : Bluetooth: tester: Use SYS_LOG_ERR instead of printk


Re: Some thoughts on Zephyr Console API

Flavio Santes <flavio.santes@...>
 

Hello Sergio,

Hi Flavio,

I wrote a shell based on the original one that uses a similar philosophy to what Paul is
describing.
This shell is for zephyr.js to be able to update the javascript code dynamically, execute
commands and run JS dynamically.

On this shell you can register callbacks to get the data in raw for later processing
Or just get the raw line so you can do any operation yourself.
https://github.com/jslaunchbox/ihex_uploader/

You can see our use case on this short video working on Arduino 101
https://www.youtube.com/watch?v=L2pF48BOPBc

In the video the shell on the right is the regular shell from Zephyr running in parallel
with the shell to run Javascript commands.
You can see how I evaluate Javascript and run commands on that terminal.
After a quick reading of the git hub repo, it seems you have a very good prototype with a lot of features. So, I wonder if this kind of applications could become a tool for more complex tasks. This use-case is new for me, so perhaps I am missing the big picture here.

The application can register a process to capture data streams and process them in
different ways.

My use case for this is:
Maybe you need a Intel HEX parser...
Maybe you need a JSON parser...
Maybe you want to talk to the Bluetooth interface...
...
So you can register dynamically the callbacks for the parser.

Sergio
Regards,
Flavio

-----Original Message-----
From: Flavio Santes [mailto:flavio.santes´╝áintel.com]
Sent: Wednesday, August 10, 2016 5:13 PM
To: devel(a)lists.zephyrproject.org
Subject: [devel] Re: Re: Re: Some thoughts on Zephyr Console API

Hello Paul,

I was thinking about this a few days ago. It seems fair to ask for that functionality
considering your view points. This feature could be very useful for rapid prototyping,
on-the-fly updates and debugging, as you comment. So, as soon the user base increases, I
think more developers will ask for something similar!

Regards,
Flavio


IPTABLES firewall Integration

Steven Anderson <wanfuse123@...>
 

Hi!

I realize that IoT devices have very little space 16k to 32k maybe less.

I have been thinking about the security issues associated with IoT devices
and the nightmare that will ensue in a few years time.

Let me start by saying I am not an IoT guy, but inspire to get there.


I was researching methods of securing Linux systems and one idea popped up
that required the use of IPTABLEs firewalls.

Without going into details on the method of securing the systems that use
IPTABLES firewalls (my cash cow) I wanted to put the feelers out there to
see if IPTABLES code will be added to the Zephyr project anytime soon?

I believe I have a way of protecting IoT devices effectively using a
gateway and only a few lines of IPTABLES firewall script on the IoT
devices. (It would also involve a remote web server as well [somewhere on
the internet] that the gateway would talk to )

Also secondly do most IoT devices include an accurate clock? Which is
another requirement of the protection mechanism!

Thanks,

Steven


Re: Building on ARM and ld error

Benjamin Walsh <benjamin.walsh@...>
 

On Wed, Aug 10, 2016 at 01:31:14PM -0500, Kumar Gala wrote:

On Aug 6, 2016, at 10:28 AM, Cufi, Carles <Carles.Cufi(a)nordicsemi.no> wrote:

Hi there,

Building a simple example on Linux with the latest 0.8.2 SDK:

$ make BOARD=nrf52_pca10040

I get the following error:

/home/cacu/prog/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-eabi/gcc/arm-poky-eabi/5.2.0/real-ld: cannot find -lgcc

Below is my zephyr.lnk contents:

-nostartfiles -nodefaultlibs -nostdlib -static -Wl,-X -Wl,-N -Wl,--gc-sections -Wl,--build-id=none
-Wl,-Map=zephyr.map
-L ./include/generated
-u _OffsetAbsSyms -u _ConfigAbsSyms
-e __start
-Wl,--start-group
-Wl,--whole-archive

src/built-in.o
libzephyr.a
-Wl,--no-whole-archive
./arch/arm/core/offsets/offsets.o
-Wl,--end-group
-L . -L ~/prog/zephyr-sdk/sysroots/armv5-poky-eabi/usr/lib/armv7e-m -lgcc


Thanks,

Carles
Any progress/luck with this?
We dicussed it on IRC: the SDK chokes if it is installed under a user's
home dir _and_ ZEPHYR_SDK_INSTALL_DIR is set to ~/path/to/sdk instead of
/home/<user>/path/to/sdk.

There should be a defect already open for this.


Re: Building on ARM and ld error

Kumar Gala
 

On Aug 6, 2016, at 10:28 AM, Cufi, Carles <Carles.Cufi(a)nordicsemi.no> wrote:

Hi there,

Building a simple example on Linux with the latest 0.8.2 SDK:

$ make BOARD=nrf52_pca10040

I get the following error:

/home/cacu/prog/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-eabi/gcc/arm-poky-eabi/5.2.0/real-ld: cannot find -lgcc

Below is my zephyr.lnk contents:

-nostartfiles -nodefaultlibs -nostdlib -static -Wl,-X -Wl,-N -Wl,--gc-sections -Wl,--build-id=none
-Wl,-Map=zephyr.map
-L ./include/generated
-u _OffsetAbsSyms -u _ConfigAbsSyms
-e __start
-Wl,--start-group
-Wl,--whole-archive

src/built-in.o
libzephyr.a
-Wl,--no-whole-archive
./arch/arm/core/offsets/offsets.o
-Wl,--end-group
-L . -L ~/prog/zephyr-sdk/sysroots/armv5-poky-eabi/usr/lib/armv7e-m -lgcc


Thanks,

Carles
Any progress/luck with this?

- k


Re: Some thoughts on Zephyr Console API

Martinez Rodriguez, Sergio <sergio.martinez.rodriguez@...>
 

Hi Flavio,

I wrote a shell based on the original one that uses a similar philosophy to what Paul is describing.
This shell is for zephyr.js to be able to update the javascript code dynamically, execute commands and run JS dynamically.

On this shell you can register callbacks to get the data in raw for later processing
Or just get the raw line so you can do any operation yourself.
https://github.com/jslaunchbox/ihex_uploader/

You can see our use case on this short video working on Arduino 101
https://www.youtube.com/watch?v=L2pF48BOPBc

In the video the shell on the right is the regular shell from Zephyr running in parallel with the shell to run Javascript commands.
You can see how I evaluate Javascript and run commands on that terminal.

The application can register a process to capture data streams and process them in different ways.

My use case for this is:
Maybe you need a Intel HEX parser...
Maybe you need a JSON parser...
Maybe you want to talk to the Bluetooth interface...
...
So you can register dynamically the callbacks for the parser.

Sergio

-----Original Message-----
From: Flavio Santes [mailto:flavio.santes(a)intel.com]
Sent: Wednesday, August 10, 2016 5:13 PM
To: devel(a)lists.zephyrproject.org
Subject: [devel] Re: Re: Re: Some thoughts on Zephyr Console API

Hello Paul,

I was thinking about this a few days ago. It seems fair to ask for that functionality considering your view points. This feature could be very useful for rapid prototyping, on-the-fly updates and debugging, as you comment. So, as soon the user base increases, I think more developers will ask for something similar!

Regards,
Flavio

Hello Flavio,

On Sun, 24 Jul 2016 00:58:45 -0000
"Flavio Santes" <flavio.santes(a)intel.com&gt; wrote:


Thanks for your reply, and sorry for dropping the ball from my side -
vacation time and other tasks. With all the arguments regarding Zephyr
shell, I agree that it's mistake to try to use for generic console
input, and going to close
https://jira.zephyrproject.org/browse/ZEP-532
as invalid.

I'm not sure what you mean by providing a use-case - in the original
mail, I gave 2 examples: porting JerryScript's and MicroPython's REPLs.
Perhaps, you mean why it's important to support REPL (interactive
prompt) for these systems? Well, JS/Lua/Python are interpreted
interactive languages (some less, some more, but every has basic REPL
for sure).

As long as you agree that prospect of running JS/Lua/Python in a
deeply embedded systems sounds interesting, trying to cut off REPL
functionality (and leave e.g. only precompiled bytecode execution)
means cutting off their functionality in half. Perhaps, REPL isn't
useful to ship finished products to classical end users (though
nowadays "makers" emerged as noticeable consumer group), but it's
definitely useful for development/debugging and initial acquaintance
with a system. And even the latter alone is very important - in the
current overcrowded landscape, making it easy for a customer to get
one's initial blinking-led demo up and running fast is what can
influence selection of one product over others.

Hope that wasn't too long and philosophical ;-). I figure, this is a
niche topic for now, and there're many more priority tasks to do in
Zephyr. So, I'm happy that I at least brought up this topic for future
consideration, though now it seems that some adhoc (but reusable)
out-of-tree solution is the way to go. I shaped that up in a github
repo: https://github.com/pfalcon/zephyr_console_helpers .


Thanks for the discussion!


Re: Some thoughts on Zephyr Console API

Flavio Santes <flavio.santes@...>
 

Hello Paul,

I was thinking about this a few days ago. It seems fair to ask for that functionality considering your view points. This feature could be very useful for rapid prototyping, on-the-fly updates and debugging, as you comment. So, as soon the user base increases, I think more developers will ask for something similar!

Regards,
Flavio

Hello Flavio,

On Sun, 24 Jul 2016 00:58:45 -0000
"Flavio Santes" <flavio.santes(a)intel.com&gt; wrote:


Thanks for your reply, and sorry for dropping the ball from my side -
vacation time and other tasks. With all the arguments regarding Zephyr
shell, I agree that it's mistake to try to use for generic console
input, and going to close https://jira.zephyrproject.org/browse/ZEP-532
as invalid.

I'm not sure what you mean by providing a use-case - in the original
mail, I gave 2 examples: porting JerryScript's and MicroPython's REPLs.
Perhaps, you mean why it's important to support REPL (interactive
prompt) for these systems? Well, JS/Lua/Python are interpreted
interactive languages (some less, some more, but every has basic REPL
for sure).

As long as you agree that prospect of running JS/Lua/Python in a deeply
embedded systems sounds interesting, trying to cut off REPL
functionality (and leave e.g. only precompiled bytecode execution)
means cutting off their functionality in half. Perhaps, REPL isn't
useful to ship finished products to classical end users (though
nowadays "makers" emerged as noticeable consumer group), but it's
definitely useful for development/debugging and initial acquaintance
with a system. And even the latter alone is very important - in the
current overcrowded landscape, making it easy for a customer to get
one's initial blinking-led demo up and running fast is what can
influence selection of one product over others.

Hope that wasn't too long and philosophical ;-). I figure, this is a
niche topic for now, and there're many more priority tasks to do in
Zephyr. So, I'm happy that I at least brought up this topic for future
consideration, though now it seems that some adhoc (but reusable)
out-of-tree solution is the way to go. I shaped that up in a
github repo: https://github.com/pfalcon/zephyr_console_helpers .


Thanks for the discussion!


RFC-IPTABLES Firewall

Steven Anderson <wanfuse123@...>
 

Hi!

I realize that IoT devices have very little space 16k to 32k maybe less.

I have been thinking about the security issues associated with IoT devices
and the nightmare that will ensue in a few years time.

Let me start by saying I am not an IoT guy, but inspire to get there.


I was researching methods of securing Linux systems and one idea popped up
that required the use of IPTABLEs firewalls.

Without going into details on the method of securing the systems that use
IPTABLES firewalls (my cash cow) I wanted to put the feelers out there to
see if IPTABLES code will be added to the Zephyr project anytime soon?

I believe I have a way of protecting IoT devices effectively using a
gateway and only a few lines of IPTABLES firewall script on the IoT
devices. (It would also involve a remote web server as well [somewhere on
the internet] that the gateway would talk to )

Also secondly do most IoT devices include an accurate clock? Which is
another requirement of the protection mechanism!

Thanks,

Steven


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 5
[ZEP-675] bluedroid port to Zephyr
https://jira.zephyrproject.org/browse/ZEP-675

[ZEP-676] DNS client sometimes fail to receive data
https://jira.zephyrproject.org/browse/ZEP-676

[ZEP-680] SDK cannot be built behind proxy
https://jira.zephyrproject.org/browse/ZEP-680

[ZEP-678] sporadic bad RAM pointer error under qemu_nios2
https://jira.zephyrproject.org/browse/ZEP-678

[ZEP-679] HMC5883L I2C Register Read Order
https://jira.zephyrproject.org/browse/ZEP-679


UPDATED JIRA items within last 24 hours: 8
[ZEP-245] Restructure Documentation content
https://jira.zephyrproject.org/browse/ZEP-245

[ZEP-546] UART interrupts not triggered on ARC
https://jira.zephyrproject.org/browse/ZEP-546

[ZEP-433] Unclear how to obtain Arduino 101 "original bootloader" for dfu-util operation
https://jira.zephyrproject.org/browse/ZEP-433

[ZEP-172] tests/kernel/test_task_priv/test FAILED in QEMU
https://jira.zephyrproject.org/browse/ZEP-172

[ZEP-526] build "kernel event logger" sample app failed for BOARD=quark_d2000_crb
https://jira.zephyrproject.org/browse/ZEP-526

[ZEP-528] ARC has 2 almost identical copies of the linker script
https://jira.zephyrproject.org/browse/ZEP-528

[ZEP-673] Sanity crashes and doesn't kill qemu upon timeout
https://jira.zephyrproject.org/browse/ZEP-673

[ZEP-423] Quark D2000 CRB documentation should include instructions to flash bootloader
https://jira.zephyrproject.org/browse/ZEP-423


CLOSED JIRA items within last 24 hours: 3
[ZEP-567] (Fixed) netz sample code
https://jira.zephyrproject.org/browse/ZEP-567

[ZEP-677] (Duplicate) Support for UART interrupt on ARC
https://jira.zephyrproject.org/browse/ZEP-677

[ZEP-500] (Fixed) Domain Name System client library
https://jira.zephyrproject.org/browse/ZEP-500


RESOLVED JIRA items within last 24 hours: 1
[ZEP-242] (Fixed) Collaboration Guidelines Restructure
https://jira.zephyrproject.org/browse/ZEP-242


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/3968 : Bluetooth: Add RAW interface to Bluetooth
- https://gerrit.zephyrproject.org/r/3967 : Bluetooth: trivial: Remove extra line
- https://gerrit.zephyrproject.org/r/3972 : net: Initial trickle algorithm support for legacy IP stack
- https://gerrit.zephyrproject.org/r/3964 : tests/kernel/{test_task,test_sleep}: Less aggressive timer testing
- https://gerrit.zephyrproject.org/r/3965 : ext qmsi: Update to QMSI 1.1.0 release
- https://gerrit.zephyrproject.org/r/3970 : Bluetooth: SMP: Fix non-ASCII characters in comments
- https://gerrit.zephyrproject.org/r/3975 : Bluetooth: Simplify configuration and fix warnings
- https://gerrit.zephyrproject.org/r/3971 : Bluetooth: SMP: Remove not needed stubs from NULL backend
- https://gerrit.zephyrproject.org/r/3974 : Bluetooth: Export USB HCI controller using RAW HCI channel
- https://gerrit.zephyrproject.org/r/3953 : sanitycheck: complain loudly about missing platforms
- https://gerrit.zephyrproject.org/r/3973 : net: apps: Example app for Trickle algorithm
- https://gerrit.zephyrproject.org/r/3966 : aonpt_qmsi: Implement suspend and resume functions
- https://gerrit.zephyrproject.org/r/3951 : Bluetooth: Set BR/EDR device name on init
- https://gerrit.zephyrproject.org/r/3963 : drivers: adc: Correct an error in Kconfig
- https://gerrit.zephyrproject.org/r/3955 : sanitycheck: arc.ini: add em_starterkit to sanity runs
- https://gerrit.zephyrproject.org/r/3957 : microkernel: remove deprecated task IRQs
- https://gerrit.zephyrproject.org/r/3954 : em9d: em11d: fix broken build
- https://gerrit.zephyrproject.org/r/3956 : arc: unify copied linker script

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/3529 : net: contiki: Fix timer callback condition
- https://gerrit.zephyrproject.org/r/3461 : bluetooth: adding Direct Test Mode support to shell application
- https://gerrit.zephyrproject.org/r/3853 : MAINTAINERS: add Quapi section
- https://gerrit.zephyrproject.org/r/3849 : tests: Add simple CoAP tests
- https://gerrit.zephyrproject.org/r/3854 : tests: Support computing the result of tests
- https://gerrit.zephyrproject.org/r/3850 : samples/net: Add a sample for a CoAP client
- https://gerrit.zephyrproject.org/r/3851 : samples/net: Add a sample for a CoAP server
- https://gerrit.zephyrproject.org/r/3926 : Bluetooth: RFCOMM: Implement incoming DLC
- https://gerrit.zephyrproject.org/r/3530 : Bluetooth: L2CAP: Make common RTX commands timer
- https://gerrit.zephyrproject.org/r/3879 : Bluetooth: L2CAP: Add RTX timer for 'configuration' command
- https://gerrit.zephyrproject.org/r/3527 : console: shell: Shell enhancement - Support multiple modules
- https://gerrit.zephyrproject.org/r/3880 : Bluetooth: L2CAP: Add RTX timer for 'disconnect' command
- https://gerrit.zephyrproject.org/r/3943 : Bluetooth: Split keys into LE and BR/EDR specific storage
- https://gerrit.zephyrproject.org/r/3878 : Bluetooth: L2CAP: Add RTX timer for 'get info' command
- https://gerrit.zephyrproject.org/r/3877 : Bluetooth: L2CAP: Initialize & cleanup RTX timer on BR/EDR
- https://gerrit.zephyrproject.org/r/3848 : lib: Introduce the CoAP implementation for Zephyr
- https://gerrit.zephyrproject.org/r/3400 : known issues: ignore testcases failures
- https://gerrit.zephyrproject.org/r/3904 : x86: don't report bogus spurious interrupt vectors
- https://gerrit.zephyrproject.org/r/3843 : zephyr: remove deprecated dynamic interrupt API
- https://gerrit.zephyrproject.org/r/3845 : x86: remove dynamic interrupts and exceptions
- https://gerrit.zephyrproject.org/r/3847 : arm: remove dynamic IRQs and exceptions
- https://gerrit.zephyrproject.org/r/3844 : test_context: don't test dynamic exceptions
- https://gerrit.zephyrproject.org/r/3846 : arc: remove deprecated dynamic interrupt implementation
- https://gerrit.zephyrproject.org/r/3753 : net: yaip: Add user space API to net_context
- https://gerrit.zephyrproject.org/r/3768 : net: apps: Fix echo-server to use the new user API
- https://gerrit.zephyrproject.org/r/3947 : sanitycheck: support for multiple toolchain
- https://gerrit.zephyrproject.org/r/3856 : x86: declare internal API for interrupt controllers
- https://gerrit.zephyrproject.org/r/3946 : testcases: filter cpp tests cases when using ISSM toolchain
- https://gerrit.zephyrproject.org/r/3945 : sanitycheck: filter: add support to use env variables

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/3976 : checkpatch: add ignore for net/ip/contiki directory
- https://gerrit.zephyrproject.org/r/3960 : sanity: non utf-8 characters are tolerated
- https://gerrit.zephyrproject.org/r/3952 : drivers: spi: Update comment for spi config parameter
- https://gerrit.zephyrproject.org/r/3962 : event logger: reduce sample application's RAM footprint
- https://gerrit.zephyrproject.org/r/3961 : mqtt: fix: Remove ping function call
- https://gerrit.zephyrproject.org/r/3969 : Merge master branch into net
- https://gerrit.zephyrproject.org/r/3913 : net: uip: Fix uip_udp_conns traverse loop in uip_process
- https://gerrit.zephyrproject.org/r/3910 : Bluetooth: tester: Use SYS_LOG_ERR instead of printk
- https://gerrit.zephyrproject.org/r/3909 : Bluetooth: tester: Fix extra new lines
- https://gerrit.zephyrproject.org/r/3919 : mqtt: fix: pinreq handler function exit condition
- https://gerrit.zephyrproject.org/r/3920 : mqtt: fix: Eliminate redundant lines by using a common exit point


Re: Some thoughts on Zephyr Console API

Paul Sokolovsky
 

Hello Flavio,

On Sun, 24 Jul 2016 00:58:45 -0000
"Flavio Santes" <flavio.santes(a)intel.com> wrote:

Hello Paul,

Zephyr shell is useful for writing sample code, and it works fine if
you just want to create prototypes. However, you are right, the shell
is not quite useful for general interactive input processing. Running
JS, Lua or Python code embedded into a Zephyr application sounds
great. Even so, I do not see why more interactive functionality is
required. Perhaps I am missing something, can you provide a use-case?
Thanks for your reply, and sorry for dropping the ball from my side -
vacation time and other tasks. With all the arguments regarding Zephyr
shell, I agree that it's mistake to try to use for generic console
input, and going to close https://jira.zephyrproject.org/browse/ZEP-532
as invalid.

I'm not sure what you mean by providing a use-case - in the original
mail, I gave 2 examples: porting JerryScript's and MicroPython's REPLs.
Perhaps, you mean why it's important to support REPL (interactive
prompt) for these systems? Well, JS/Lua/Python are interpreted
interactive languages (some less, some more, but every has basic REPL
for sure).

As long as you agree that prospect of running JS/Lua/Python in a deeply
embedded systems sounds interesting, trying to cut off REPL
functionality (and leave e.g. only precompiled bytecode execution)
means cutting off their functionality in half. Perhaps, REPL isn't
useful to ship finished products to classical end users (though
nowadays "makers" emerged as noticeable consumer group), but it's
definitely useful for development/debugging and initial acquaintance
with a system. And even the latter alone is very important - in the
current overcrowded landscape, making it easy for a customer to get
one's initial blinking-led demo up and running fast is what can
influence selection of one product over others.

Hope that wasn't too long and philosophical ;-). I figure, this is a
niche topic for now, and there're many more priority tasks to do in
Zephyr. So, I'm happy that I at least brought up this topic for future
consideration, though now it seems that some adhoc (but reusable)
out-of-tree solution is the way to go. I shaped that up in a
github repo: https://github.com/pfalcon/zephyr_console_helpers .


Thanks for the discussion!



Regards,
Flavio


--
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 1
[ZEP-673] Sanity crashes and doesn't kill qemu upon timeout
https://jira.zephyrproject.org/browse/ZEP-673


UPDATED JIRA items within last 24 hours: 4
[ZEP-358] Add support for TMP112 sensor
https://jira.zephyrproject.org/browse/ZEP-358

[ZEP-539] Jenkins marks patches -1 verified for style issues
https://jira.zephyrproject.org/browse/ZEP-539

[ZEP-616] OS X setup instructions not working on El Capitan
https://jira.zephyrproject.org/browse/ZEP-616

[ZEP-212] "~" not working in build env variables
https://jira.zephyrproject.org/browse/ZEP-212


CLOSED JIRA items within last 24 hours: 3
[ZEP-416] (Fixed) MQTT client capability: QoS1, QoS2
https://jira.zephyrproject.org/browse/ZEP-416

[ZEP-623] (Fixed) MQTT sample mqtt.h missing "mqtt_unsubscribe" function
https://jira.zephyrproject.org/browse/ZEP-623

[ZEP-477] (Won't Do) IPV6 reassembly of fragmented packets is not working
https://jira.zephyrproject.org/browse/ZEP-477


RESOLVED JIRA items within last 24 hours: 2
[ZEP-454] (Fixed) Add driver API reentrancy support to UART shim drivers
https://jira.zephyrproject.org/browse/ZEP-454

[ZEP-522] (Fixed) TCP/client-mode: disconnect
https://jira.zephyrproject.org/browse/ZEP-522


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/3951 : Bluetooth: Set BR/EDR device name on init
- https://gerrit.zephyrproject.org/r/3948 : wdt_qmsi: Implement suspend and resume functions
- https://gerrit.zephyrproject.org/r/3949 : test
- https://gerrit.zephyrproject.org/r/3944 : Bluetooth: HFP: HF role implementation
- https://gerrit.zephyrproject.org/r/3947 : sanitycheck: support for multiple toolchain
- https://gerrit.zephyrproject.org/r/3945 : sanitycheck: filter: add support to use env variables
- https://gerrit.zephyrproject.org/r/3946 : testcases: filter cpp tests cases when using ISSM toolchain

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/3943 : Bluetooth: Split keys into LE and BR/EDR specific storage
- https://gerrit.zephyrproject.org/r/3926 : Bluetooth: RFCOMM: Implement incoming DLC
- https://gerrit.zephyrproject.org/r/3936 : net: samples: Fix Rx buffers count.
- https://gerrit.zephyrproject.org/r/3934 : SDP Server
- https://gerrit.zephyrproject.org/r/3942 : usb: Add error log to help debugging
- https://gerrit.zephyrproject.org/r/3941 : usb: Fix incorrect macro assignment
- https://gerrit.zephyrproject.org/r/3939 : usb: Add Bluetooth class codes definitions
- https://gerrit.zephyrproject.org/r/3940 : usb: Fix compile error with debug enabled
- https://gerrit.zephyrproject.org/r/3909 : Bluetooth: tester: Fix extra new lines
- https://gerrit.zephyrproject.org/r/3929 : Bluetooth: Remove not needed BT_KEYS_BR_LEGACY flag
- https://gerrit.zephyrproject.org/r/3928 : Bluetooth: Remove redundant ifdefs from keys.h
- https://gerrit.zephyrproject.org/r/3927 : Bluetooth: Fix typos in code comments
- https://gerrit.zephyrproject.org/r/3872 : Revert "Bluetooth: SMP: Workaround LE SC bug in iOS"
- https://gerrit.zephyrproject.org/r/3911 : i2c_qmsi: Implement suspend and resume functions
- https://gerrit.zephyrproject.org/r/3919 : mqtt: fix: pinreq handler function exit condition
- https://gerrit.zephyrproject.org/r/3920 : mqtt: fix: Eliminate redundant lines by using a common exit point
- https://gerrit.zephyrproject.org/r/3913 : net: uip: Fix uip_udp_conns traverse loop in uip_process
- https://gerrit.zephyrproject.org/r/3848 : lib: Introduce the CoAP implementation for Zephyr
- https://gerrit.zephyrproject.org/r/3849 : tests: Add simple CoAP tests
- https://gerrit.zephyrproject.org/r/3850 : samples/net: Add a sample for a CoAP client
- https://gerrit.zephyrproject.org/r/3854 : tests: Support computing the result of tests
- https://gerrit.zephyrproject.org/r/3853 : MAINTAINERS: add Quapi section
- https://gerrit.zephyrproject.org/r/3851 : samples/net: Add a sample for a CoAP server

MERGED within last 24 hours:
- https://gerrit.zephyrproject.org/r/3925 : mailmap: Fix broken author information for Evan Couzens
- https://gerrit.zephyrproject.org/r/3921 : crypto/tinycrypt: Update README file
- https://gerrit.zephyrproject.org/r/3381 : net: net_context: Fix local ipv4 addr compare with INADDR_ANY


Daily Gerrit Digest

donotreply@...
 

NEW within last 24 hours:
- https://gerrit.zephyrproject.org/r/3935 : net: samples: Fix RFC3849 address config option.
- https://gerrit.zephyrproject.org/r/3936 : net: samples: Fix Rx buffers count.
- https://gerrit.zephyrproject.org/r/3943 : Bluetooth: Split keys into LE and BR/EDR specific storage
- https://gerrit.zephyrproject.org/r/3942 : usb: Add error log to help debugging
- https://gerrit.zephyrproject.org/r/3939 : usb: Add Bluetooth class codes definitions
- https://gerrit.zephyrproject.org/r/3926 : Bluetooth: RFCOMM: Implement incoming DLC
- https://gerrit.zephyrproject.org/r/3941 : usb: Fix incorrect macro assignment
- https://gerrit.zephyrproject.org/r/3940 : usb: Fix compile error with debug enabled
- https://gerrit.zephyrproject.org/r/3938 : Bluetooth: ATT: Make it safe to access the request list
- https://gerrit.zephyrproject.org/r/3934 : SDP Server
- https://gerrit.zephyrproject.org/r/3937 : Bluetooth: HFP: HF role implementation
- https://gerrit.zephyrproject.org/r/3928 : Bluetooth: Remove redundant ifdefs from keys.h
- https://gerrit.zephyrproject.org/r/3929 : Bluetooth: Remove not needed BT_KEYS_BR_LEGACY flag
- https://gerrit.zephyrproject.org/r/3927 : Bluetooth: Fix typos in code comments

UPDATED within last 24 hours:
- https://gerrit.zephyrproject.org/r/3910 : Bluetooth: tester: Use SYS_LOG_ERR instead of printk
- https://gerrit.zephyrproject.org/r/3439 : spi_qmsi: Add suspend/resume
- https://gerrit.zephyrproject.org/r/3911 : i2c_qmsi: Implement suspend and resume functions
- https://gerrit.zephyrproject.org/r/3510 : drivers/nble: Take semaphore in write without response
- https://gerrit.zephyrproject.org/r/3531 : Bluetooth: GATT: Add queuing support
- https://gerrit.zephyrproject.org/r/3878 : Bluetooth: L2CAP: Add RTX timer for 'get info' command
- https://gerrit.zephyrproject.org/r/3879 : Bluetooth: L2CAP: Add RTX timer for 'configuration' command
- https://gerrit.zephyrproject.org/r/3877 : Bluetooth: L2CAP: Initialize & cleanup RTX timer on BR/EDR
- https://gerrit.zephyrproject.org/r/3880 : Bluetooth: L2CAP: Add RTX timer for 'disconnect' command
- https://gerrit.zephyrproject.org/r/3530 : Bluetooth: L2CAP: Make common RTX commands timer
- https://gerrit.zephyrproject.org/r/3913 : net: uip: Fix uip_udp_conns traverse loop in uip_process

MERGED within last 24 hours:


Re: [RFC] Zephyr 1.6: HTTP support

Flavio Santes <flavio.santes@...>
 

Hello Oleg,

You are right, TCP and HTTP are not the best choices for the IoT ecosystem.

A few days ago, a CoAP native implementation was submitted:

https://gerrit.zephyrproject.org/r/#/q/topic:1.6-quapi

This RFC is just about integrating the http-parser from nodejs to Zephyr. Thanks to the build system, this feature will be only available if necessary.

I think this forum could guide us to take the right decision. So, please keep an eye on this thread and also on Gerrit.

Regards,
Flavio.


Re: [RFC] Zephyr 1.6: HTTP support

Oliver Hahm <oliver.hahm@...>
 

Hi!

On Sun, Aug 07, 2016 at 07:42:15PM -0000, Flavio Santes wrote:
This is a Request For Comments: HTTP support for Zephyr:
Maybe a stupid question from someone who follows this project only remotely,
but wouldn't a CoAP implementation make more sense for an IoT operating
system? HTTP and TCP don't seem to be a good choice for a constrained system.
If Zephyr already supports CoAP, wouldn't a simple HTTP-to-CoAP mapping do the
trick for you?

Cheers,
Oleg


[RFC] Zephyr 1.6: HTTP support

Flavio Santes <flavio.santes@...>
 


Daily JIRA Digest

donotreply@...
 

NEW JIRA items within last 24 hours: 0

UPDATED JIRA items within last 24 hours: 2
[ZEP-346] Provide a HTTP library within Zephyr
https://jira.zephyrproject.org/browse/ZEP-346

[ZEP-522] TCP/client-mode: disconnect
https://jira.zephyrproject.org/browse/ZEP-522


CLOSED JIRA items within last 24 hours: 0

RESOLVED JIRA items within last 24 hours: 3
[ZEP-623] (Fixed) MQTT sample mqtt.h missing "mqtt_unsubscribe" function
https://jira.zephyrproject.org/browse/ZEP-623

[ZEP-546] (Won't Do) UART interrupts not triggered on ARC
https://jira.zephyrproject.org/browse/ZEP-546

[ZEP-477] (Won't Do) IPV6 reassembly of fragmented packets is not working
https://jira.zephyrproject.org/browse/ZEP-477

6741 - 6760 of 7929