|
Re: Callback on DNS added/removed
Hello All,
What I have found is that the event handler will only let you register similar events. Only IF_UP/IF_DOWN can be registered to one callback function.
For IPV4 events, you must register a
Hello All,
What I have found is that the event handler will only let you register similar events. Only IF_UP/IF_DOWN can be registered to one callback function.
For IPV4 events, you must register a
|
By
Ryan Erickson <Ryan.Erickson@...>
·
#6047
·
|
|
Re: Callback on DNS added/removed
Hi Jukka,
That seems to fix it for (NET_EVENT_IPV4_ADDR_ADD | NET_EVENT_IPV4_CMD_ROUTER_ADD) but (NET_EVENT_IF_UP | NET_EVENT_IPV4_ADDR_ADD | NET_EVENT_IPV4_CMD_ROUTER_ADD) prevents any events
Hi Jukka,
That seems to fix it for (NET_EVENT_IPV4_ADDR_ADD | NET_EVENT_IPV4_CMD_ROUTER_ADD) but (NET_EVENT_IF_UP | NET_EVENT_IPV4_ADDR_ADD | NET_EVENT_IPV4_CMD_ROUTER_ADD) prevents any events
|
By
lairdjm
·
#6046
·
|
|
Re: Callback on DNS added/removed
Hi Jamie,
note that in your callback, you need to check the exact value of the
event, so
if (mgmt_event == NET_EVENT_IPV6_ADDR_ADD) {}
instead of
if (mgmt_event & NET_EVENT_IPV6_ADDR_ADD)
Hi Jamie,
note that in your callback, you need to check the exact value of the
event, so
if (mgmt_event == NET_EVENT_IPV6_ADDR_ADD) {}
instead of
if (mgmt_event & NET_EVENT_IPV6_ADDR_ADD)
|
By
Jukka Rissanen
·
#6045
·
|
|
Re: Callback on DNS added/removed
Hi Jamie,
adding some net_mgmt events for DNS is certainly possible. Currently
there are none as you have noticed.
Could you create a github issue for this so it is not forgotten?
Cheers,
Jukka
Hi Jamie,
adding some net_mgmt events for DNS is certainly possible. Currently
there are none as you have noticed.
Could you create a github issue for this so it is not forgotten?
Cheers,
Jukka
|
By
Jukka Rissanen
·
#6044
·
|
|
counter.h API
Hi,
If anyone is interested in counter.h API there are two ongoing PR’s with proposed changes:
https://github.com/zephyrproject-rtos/zephyr/pull/16252 - extending API to support detection of
Hi,
If anyone is interested in counter.h API there are two ongoing PR’s with proposed changes:
https://github.com/zephyrproject-rtos/zephyr/pull/16252 - extending API to support detection of
|
By
Chruściński, Krzysztof
·
#6043
·
|
|
Upcoming Event: Zephyr Project: APIs - Tue, 06/18/2019 9:00am-10:00am, Please RSVP
#cal-reminder
Reminder: Zephyr Project: APIs
When: Tuesday, 18 June 2019, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/177647878
An RSVP is requested. Click here to
Reminder: Zephyr Project: APIs
When: Tuesday, 18 June 2019, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/177647878
An RSVP is requested. Click here to
|
By
devel@lists.zephyrproject.org Calendar <devel@...>
·
#6042
·
|
|
API meeting: Agenda
Agenda:
- New proposal: Video for Zephyr API
- Sensor API: Update on progress
- GPIO: Update on progress
Additional items in the "Triage" column in the GitHub project may be discussed if time
Agenda:
- New proposal: Video for Zephyr API
- Sensor API: Update on progress
- GPIO: Update on progress
Additional items in the "Triage" column in the GitHub project may be discussed if time
|
By
Carles Cufi
·
#6041
·
|
|
Re: Callback on DNS added/removed
Also I see onhttps://docs.zephyrproject.org/latest/reference/networking/net_mgmt.html?highlight=net_mgmt_init_event_callback thatnet_mgmt_init_event_callback() specifies it takes a bitmask of events
Also I see onhttps://docs.zephyrproject.org/latest/reference/networking/net_mgmt.html?highlight=net_mgmt_init_event_callback thatnet_mgmt_init_event_callback() specifies it takes a bitmask of events
|
By
lairdjm
·
#6040
·
|
|
Callback on DNS added/removed
Hi,
There currently doesn’t seem to be any hooks in Zephyr for getting acallback when a DNS server is added or removed which would be useful for on systems where setting up DNS takes longer than it
Hi,
There currently doesn’t seem to be any hooks in Zephyr for getting acallback when a DNS server is added or removed which would be useful for on systems where setting up DNS takes longer than it
|
By
lairdjm
·
#6039
·
|
|
I2C: Bitbang driver and clock stretching
Hi,
while playing with an BQ27421YZFR battery gauge, I noticed that the I²C
bitbang driver does not support clock stretching.
Easy enough to fix:
Hi,
while playing with an BQ27421YZFR battery gauge, I noticed that the I²C
bitbang driver does not support clock stretching.
Easy enough to fix:
|
By
Turbo J
·
#6038
·
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Hi,
I get it, thanks for your patience explain.
Hi,
I get it, thanks for your patience explain.
|
By
hotkernel@...
·
#6037
·
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Hi,
"hotkernel via Lists.Zephyrproject.Org"
<hotkernel=163.com@...> writes:
It doesn't matter how you get the source code; west will work too.
The important thing is that you
Hi,
"hotkernel via Lists.Zephyrproject.Org"
<hotkernel=163.com@...> writes:
It doesn't matter how you get the source code; west will work too.
The important thing is that you
|
By
Bolivar, Marti
·
#6036
·
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Hi Carles,
Thank you for reminding me that the guiconfig was introduced after the release of Zephyr 1.14 at master.
So if use the git clone to get the source code not by the west tool (git clone
Hi Carles,
Thank you for reminding me that the guiconfig was introduced after the release of Zephyr 1.14 at master.
So if use the git clone to get the source code not by the west tool (git clone
|
By
hotkernel@...
·
#6035
·
|
|
Zephyr SDK 0.10.1 available
Hi,
Latest version of the SDK can be found here:
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.10.1
Please download and try things out and report any issues.
Changes since the last
Hi,
Latest version of the SDK can be found here:
https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.10.1
Please download and try things out and report any issues.
Changes since the last
|
By
Kumar Gala
·
#6034
·
|
|
Re: is it possible to implement concurrent link with mutiple roles on nrf52832 with zephyr os ?
#nrf52832
#ble
I have got the answer at Nordic
I have got the answer at Nordic
|
By
hotkernel@...
·
#6033
·
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Hi there,
I can’t explain it unless you are not on the current master. guiconfig was introduced after the release of Zephyr 1.14, so if you are on 1.14 you won’t be able to use it.
Carles
Hi there,
I can’t explain it unless you are not on the current master. guiconfig was introduced after the release of Zephyr 1.14, so if you are on 1.14 you won’t be able to use it.
Carles
|
By
Carles Cufi
·
#6032
·
|
|
Upcoming Event: Zephyr Project: Dev Meeting - Thu, 06/13/2019 8:00am-9:00am, Please RSVP
#cal-reminder
Reminder: Zephyr Project: Dev Meeting
When: Thursday, 13 June 2019, 8:00am to 9:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/993312203
An RSVP is requested. Click here to
Reminder: Zephyr Project: Dev Meeting
When: Thursday, 13 June 2019, 8:00am to 9:00am, (GMT-07:00) America/Los Angeles
Where:https://zoom.us/j/993312203
An RSVP is requested. Click here to
|
By
devel@lists.zephyrproject.org Calendar <devel@...>
·
#6031
·
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Hi Carles,
Here is my detail steps to reproduce this fail:
OS version: Ubuntu 18.04.2 LTS 64 bits
install zephyr development environment:
1. sudo apt-get update
2. sudo apt-get upgrade
Hi Carles,
Here is my detail steps to reproduce this fail:
OS version: Ubuntu 18.04.2 LTS 64 bits
install zephyr development environment:
1. sudo apt-get update
2. sudo apt-get upgrade
|
By
hotkernel@...
·
#6030
·
|
|
Re: "net arp" command displays "ARP cache is empty" even after a series of arpings from peer devices
#nrf52840
Hi,
Thanks for your reply. I am sure that, I am getting ICMP reply correctly and there is no entry in the ARP cache. But, I need to tell you about a code change that I have made in the Zephyr drivers,
Hi,
Thanks for your reply. I am sure that, I am getting ICMP reply correctly and there is no entry in the ARP cache. But, I need to tell you about a code change that I have made in the Zephyr drivers,
|
By
giriprasad@...
·
#6029
·
|
|
Re: ninja guiconfig fail
#gettingstartedguide
Hi there,
Can you please let us know what error you get?
Also, can you give us more details including which Zephyr version (master, 1.14, etc), what Host OS (Linux, Windows, macOS) and which
Hi there,
Can you please let us know what error you get?
Also, can you give us more details including which Zephyr version (master, 1.14, etc), what Host OS (Linux, Windows, macOS) and which
|
By
Carles Cufi
·
#6028
·
|