Fixed seg fault in simpleclient sample app (Bug IOT-130)
authorSachin Agrawal <sachin.agrawal@intel.com>
Mon, 5 Jan 2015 23:33:29 +0000 (15:33 -0800)
committerSachin Agrawal <sachin.agrawal@intel.com>
Mon, 5 Jan 2015 23:33:29 +0000 (15:33 -0800)
commit16aaed92f74fedf975a1631800200b8ffc526f7d
tree28e0ee492abf8b0958432d9f21aaa85d5f43d385
parentd6fcb302ee967fb569647605e464d687f4f74952
Fixed seg fault in simpleclient sample app (Bug IOT-130)

Arduino server sample uses light representation which is different
from what simpleclient expects. Updated simpleclient to catch
exception in this scenario.

Change-Id: I3d5d2e2f7785a9345655bc347662efb7fd0927a2
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/examples/simpleclient.cpp