Make zigbee client use OCDevAddr struct instead of a char string.
authorMandeep Shetty <mandeep.shetty@intel.com>
Tue, 22 Sep 2015 18:27:00 +0000 (11:27 -0700)
committerJon A. Cruz <jonc@osg.samsung.com>
Tue, 22 Sep 2015 22:18:18 +0000 (22:18 +0000)
commitd4253c1c48cf3f844811739cd48d1b80cf38df7f
tree32700275106750e18ae0dcb483c09f0a64c202d5
parent84a8188c7d02881a46dc1f682e046463fed74c14
Make zigbee client use OCDevAddr struct instead of a char string.

Sticking the ip and port into a char string with resource uri opens up
potential errors due to incorrect parsing. Use OCDevAddr struct instead
as it is meant to be used for cleaner and less fragile code.

Change-Id: I31eb7c4d39d55f7163cffbf85bc12ccb7cf77a0d
Signed-off-by: Mandeep Shetty <mandeep.shetty@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2939
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
plugins/samples/linux/IotivityandZigbeeClient.c