Yes, so that would be change 2252
https://gerrit.iotivity.org/gerrit/#/c/2252

Since the person who made the change has moved on, can someone who knows
the area please review things?

Thanks!

On 09/29/2015 03:26 PM, Schulhof, Gabriel wrote:
> Hey, all!
> 
> I did a bisect and it would appear that
> 61aebb520d1cf8fc250400e2d3fa3858c7ce8c24 is the one that breaks the
> observation. IOW, if I check out
> 2762e0becadbf35003fb829994120a9336f952f3 and build it like this:
> 
> ( git clean -x -d -f -f && git checkout . &&  patch -p1 <
> ../-g-Wall-O0.patch && git clone https://github.com/01org/tinycbor.git
> extlibs/tinycbor/tinycbor && git clone
> https://github.com/jbeder/yaml-cpp.git extlibs/yaml/yaml &&
> JAVA_HOME=/ scons VERBOSE=true -j9 liboctbstack samples && ( cd
> resource/csdk/doc; doxygen; )  && cc -g -Wall -O0 -DROUTING_EP
> -DTCP_ADAPTER -I$(pwd)/resource/csdk/logger/include
> -I$(pwd)/resource/oc_logger/include -I$(pwd)/resource/c_common
> -I$(pwd)/resource/csdk/stack/include -L$(pwd)/out/linux/x86/release/
> -Wl,-rpath $(pwd)/out/linux/x86/release -loctbstack `pkg-config
> --cflags --libs glib-2.0` ../client.c -o client && git checkout . ; )
>> /dev/null 2>&1 && ( killall -9 ocserver || true ) && ( killall -9
> client || true ) && (
> out/linux/x86/release/resource/csdk/stack/samples/linux/SimpleClientServer/ocserver
> -o 0 & ( sleep 5; ./client; ) )
> 
> where the contents of the source file client.c is [0] then the
> discovery and observation works and I'm periodically getting state
> from ocserver.
> 
> However, if I repeat the above steps with the next commit,
> 61aebb520d1cf8fc250400e2d3fa3858c7ce8c24, the discovery is greatly
> delayed and the observation fails because the ocserver returns 29
> (OC_STACK_COMM_ERROR) in the response to the observe request.
> 
> HTH,
> 
> 
> 
> Gabriel
> 
> [0] https://gist.github.com/gabrielschulhof/de8bdffb3120f5d61dba
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
> 

-- 
Jon A. Cruz - Senior Open Source Developer
Samsung Open Source Group
jonc at osg.samsung.com

Reply via email to