Comments (9)
13078 is 5683 in network byte order, I will look into whether this just a display problem (ie need to convert back)
from awalwm2m.
clicker_awa0.2.3_24Aug2016_1650.txt
clicker_awa0.2.1_24Aug2016_1650.txt
from awalwm2m.
Actually i was wrong, its not 8-10 attempts, but it has taken almost 36 attempts to bootstrap the clicker to Ci40. Attached the both the logs, one with clickers having awa-0.2.1, where bootstrapping happens almost immediately in 1st attempt. where as with awa-0.2.3 it has taken hell lot of time, almost 36 attempts (its not always 36, it can be more or less, but far more time).
all these observations are with cascoda boards., we have seen that with TI boards, it has not able to bootstrap at all. we can upload those logs as well.
from awalwm2m.
Attaching both the packet captures.
Ci40 running with awa-0.2.3 and clickers with awa-0.2.3 (where clickers bootstrapping to Ci40 taking lots of time and then sending notifications to 13078)
Ci40 running with awa-0.2.3 and clickers with awa-0.2.1 (where clickers bootstrapping to Ci40 is almost immediate and send notifications to 5683 , works fine)
from awalwm2m.
Another set of logs including awa_serverd and awa_bootstrapd logs with clicker(2.1/2.3), including matching pcaps.
awa_286_logs.tar.gz
from awalwm2m.
@abhijit-mahajani-imgtec thanks, we'll take a look soon.
from awalwm2m.
@abhijit-mahajani-imgtec confirmed that there's an issue with IPv6. We're looking into it.
from awalwm2m.
Hi @abhijit-mahajani-imgtec, in the main loop, have you changed PROCESS_WAIT_EVENT_UNTIL to PROCESS_YIELD?
Delme updated the docs when we switched to erbium:
diff --git a/doc/example_app_static_api.md b/doc/example_app_static_api.md
@@ -427,7 +425,7 @@ PROCESS_THREAD(lwm2m_client, ev, data)
AwaStaticClient_ResourceChanged(awaClient, 1000, 0, 104);
etimer_set(&et, (waitTime * CLOCK_SECOND) / 1000);
- PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&et));
+ PROCESS_YIELD();
waitTime = 0;
}
This allows the process to yield to the network stack for incoming packets, which was previously done in the contiki rest engine process.
from awalwm2m.
Thanks @datachi7d , yes we have already update the button-sensor application to add this PROCESS_YIELD, see CreatorKit/button-sensor@d272b9c
from awalwm2m.
Related Issues (20)
- Create porting guide for network abstraction and platform utils HOT 1
- Cannot bootstrap more than 5 clickers HOT 3
- Failed transactions cause a memory leak HOT 1
- Content type 11542 support HOT 5
- Static client fails on register if name uses '<' '>' characters. HOT 3
- update for lwm2m 1.0 specification
- API Client
- Awa notifications get resent constantly
- [Proposal] : Makefile re-design
- Contiki random port is not random
- awa_bootstrapd keeps crashing when multiple clients wants to connect
- Wakaama bootstrap fail HOT 1
- Not all libraries are installed during 'make install'
- How to initialize and persist client state
- When awa client with support for lwm2m 1.0 will be released (version 0.2.6)? HOT 2
- Building Docker image using instructions in docker.md does not work
- Range or Enumeration to resource
- Serdes fails to use JSON with Leshan
- Accept option (not Found) HOT 1
- Awa_clientd & Leshan Bootstrap Server & Leshan Server Get Failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awalwm2m.