examples/mqtt_test: refactor for reducing complexity
authorWonsang Ryou <wonsang.yoo@samsung.com>
Fri, 14 Apr 2017 07:58:22 +0000 (16:58 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:22 +0000 (12:02 +0900)
commite4f75af036b34f1fdc761066450cadbd4ae509db
tree98a75923dfea50b38c6c9d13b54214d8dda9ee3a
parentdcc1ffc0c2cbb79ae2906e642ba70caab404b9d9
examples/mqtt_test: refactor for reducing complexity

This patch reduces complexity and improves readability by separating
the several functions from mqtt client tasks.

Change-Id: I2e8bda321136581788337b226056bd19e70b049d
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
apps/examples/mqtt_test/mqtt_client_pub.c
apps/examples/mqtt_test/mqtt_client_sub.c