- if there are so many sensors in the device, memory size 4096 is too
small to contain all of that sensor information. for example, Gear S3
has 43 sensors including virtual sensors. it needs 7000 byte for
information of all sensors.
- so message size should be resized from 4096(4kB) to 10240(10kB).
Change-Id: Ied553e260216258295d2337a6f0c468e4a2490cc
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
#include "sensor_info.h"
#define SENSOR_CHANNEL_PATH "/run/.sensord.socket"
-#define MAX_BUF_SIZE 4096
+#define MAX_BUF_SIZE 10240
/* TODO: OOP - create serializer interface */
enum cmd_type_e {
#include <stdlib.h> /* size_t */
#include <atomic>
-#define MAX_MSG_CAPACITY 4096
+#define MAX_MSG_CAPACITY 10240
#define MAX_HEADER_RESERVED 3
namespace ipc {