[dev] support of "char" datatype

2015-04-28 Thread Han-Lin Li
Current iotivity doesn't support char datatype which makes transmitting binary data difficult. Will char datatype be support in the future? diff --git a/resource/include/OCRepresentation.h b/resource/include/OCRepresentation.h index ef9d1a9..434286b 100644 --- a/resource/include/OCRepresentation.

[dev] response of android-api server is not correct

2015-04-11 Thread Han-Lin Li
Tim > > -Original Message- > From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev-bounces > at lists.iotivity.org] On Behalf Of Han-Lin Li > Sent: Thursday, April 9, 2015 9:01 PM > To: iotivity-dev at lists.iotivity.org > Subject: [dev] response of a

[dev] response of android-api server is not correct

2015-04-10 Thread Han-Lin Li
I use android/examples/simpleserver in android-api branch as server and found it won't send response correctly. It seems the COAP_OPTION_URI_PATH is a random string. Here is client debug log. Apr 09 20:43:56 DEBG set data to 0x7f6604011381 (pdu ends at 0x7f66040113be) v:1 t:1 tkl:8 c:64 id:17669

[dev] [API change info sharing request] RE: Change in iotivity[master]: Redefine and implement findResource API

2015-04-07 Thread Han-Lin Li
Current version still cannot be compiled examples/OICMiddle/LineInput.cpp: In member function 'int LineInput::run()': examples/OICMiddle/LineInput.cpp:55:35: error: no matching function for call to 'getline(char**, size_t*, FILE*)' getline(&line, &len, stdin);

[dev] compile CA branch error with Android ndk

2015-04-02 Thread Han-Lin Li
currently CA branch get compile error with Android ndk. The first problem is Android ndk didn't support stoi this can be fixed by remove "SConscript('compatibility/cpp11_compat.scons')" from build_common/android/SConscript The second problem is resource/csdk/connectivity/common/src/umutex.c:27:18

[dev] Will CA in 0.9.1 support Wifi direct search and BLE search?

2015-03-19 Thread Han-Lin Li
Need client connect to resource with BLE or Wifi direct before calling findResource()? If so, will findResource() automatically connect to resource with Wifi or BLE? --Han-Lin

[dev] segmentation fault while running simpleclient

2015-03-18 Thread Han-Lin Li
h/to/your/simpleclient/obj/local/target_abi/ > > > > > Charlie Lenahan >| Software Engineer | Intel Corporation | 322 West Main Street | > Louisville, KY 40202 | W - 502.963.0917 | 8-963.0917 > charlie.lenahan at intel.com | CDG ? WINS ? WSS EAST | > http://www.

[dev] What is the status of Notification Manager?

2015-03-09 Thread Han-Lin Li
I see Notification Manager is in the source tree, but the building script is commented out in service/SConscript. Is there any workable version of Notification Manager? --Han-Lin

[dev] segmentation fault while running simpleclient

2015-03-03 Thread Han-Lin Li
id? > > If so, support for Android on Master is pretty poor in the first place, > and even worse in 0.9.0. > > At the moment the Android-API branch is pretty good, but you'll have to > pull from git. > > On Fri, 2015-02-27 at 02:25 +0800, Han-Lin Li wrote: >> I used 0.9.

[dev] segmentation fault while running simpleclient

2015-02-27 Thread Han-Lin Li
connectivity abstraction? > > I just did a pull of that one, so I'll attempt to reproduce. > > In the mean time, the point of master and CA in the git repo > (https://gerrit.iotivity.org/gerrit/p/iotivity.git ) are reasonably > stable if you have access. > > On Fri, 2015-02

[dev] segmentation fault while running simpleclient

2015-02-27 Thread Han-Lin Li
I used 0.9.0 release. 2015-02-27 1:39 GMT+08:00 Keane, Erich : > I don't see anything that is obvious on this one. Can you tell me what > commit-id you are working off of? Perhaps I can see if I can reproduce > it. > > Thanks! > -Erich > > On Thu, 2015-02-26 at

[dev] segmentation fault while running simpleclient

2015-02-26 Thread Han-Lin Li
I run simpleclient and simpleserver by adb and get a segmentation fault Here is the debug message Getting Light Representation... v:1 t:1 tkl:8 c:1 id:65355 o: [ 7:'\xB5\x95', 11:'a', 11:'light' ] Jan 16 00:49:27 DEBG bytes_written 23 Jan 16 00:49:27 DEBG coap_read: discarded invalid frame