</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactName="position-finder-server" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1045789686" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">
+ <configuration artifactName="rcc" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1045789686" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">
<folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1045789686." name="/" resourcePath="">
<toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.294603308" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug">
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.1660201476" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
- <builder autoBuildTarget="all" buildPath="${workspace_loc:/position-finder-server}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.1226976345" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
+ <builder autoBuildTarget="all" buildPath="${workspace_loc:/rcc}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.1226976345" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
<tool command="arm-linux-gnueabi-ar.exe" id="org.tizen.nativecore.tool.sbi.gnu.archiver.1457470606" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
<tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.708136271" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.20646666" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactName="position-finder-server" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.179616114" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">
+ <configuration artifactName="rcc" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.179616114" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">
<folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.179616114." name="/" resourcePath="">
<toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.1960180000" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.release">
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.36335377" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
- <builder buildPath="${workspace_loc:/position-finder-server}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.170709597" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
+ <builder buildPath="${workspace_loc:/rcc}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.170709597" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
<tool command="arm-linux-gnueabi-ar.exe" id="org.tizen.nativecore.tool.sbi.gnu.archiver.483829480" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
<tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1154516438" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.230736465" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <project id="position-finder-server.org.tizen.nativecore.target.sbi.gcc45.app.2017096501" name="Tizen Native Application" projectType="org.tizen.nativecore.target.sbi.gcc45.app"/>
+ <project id="rcc.org.tizen.nativecore.target.sbi.gcc45.app.2017096501" name="Tizen Native Application" projectType="org.tizen.nativecore.target.sbi.gcc45.app"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
*/
-#ifndef __POSITION_FINDER_CONN_MGR_H__
-#define __POSITION_FINDER_CONN_MGR_H__
+#ifndef __RCC_CONN_MGR_H__
+#define __RCC_CONN_MGR_H__
int connection_manager_get_ip(const char **ip);
int connection_manager_init(void);
int connection_manager_fini(void);
-#endif /* __POSITION_FINDER_CONN_MGR_H__ */
+#endif /* __RCC_CONN_MGR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_CONNECTIVITY_H__
-#define __POSITION_FINDER_CONNECTIVITY_H__
+#ifndef __RCC_CONNECTIVITY_H__
+#define __RCC_CONNECTIVITY_H__
typedef struct _connectivity_resource connectivity_resource_s;
*/
extern int connectivity_attributes_remove_all(connectivity_resource_s *resource_info);
-#endif /* __POSITION_FINDER_CONNECTIVITY_H__ */
+#endif /* __RCC_CONNECTIVITY_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_CONTROLLER_H__
-#define __POSITION_FINDER_CONTROLLER_H__
+#ifndef __RCC_CONTROLLER_H__
+#define __RCC_CONTROLLER_H__
#include "controller_internal.h"
-#endif /* __POSITION_FINDER_CONTROLLER_H__ */
+#endif /* __RCC_CONTROLLER_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_CONTROLLER_INTERNAL_H__
-#define __POSITION_FINDER_CONTROLLER_INTERNAL_H__
+#ifndef __RCC_CONTROLLER_INTERNAL_H__
+#define __RCC_CONTROLLER_INTERNAL_H__
extern void controller_init_internal_functions(void);
extern void controller_fini_internal_functions(void);
-#endif /* __POSITION_FINDER_CONTROLLER_INTERNAL_H__ */
+#endif /* __RCC_CONTROLLER_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_CONTROLLER_UTIL_H__
-#define __POSITION_FINDER_CONTROLLER_UTIL_H__
+#ifndef __RCC_CONTROLLER_UTIL_H__
+#define __RCC_CONTROLLER_UTIL_H__
int controller_util_get_path(const char **path);
int controller_util_get_address(const char **address);
int controller_util_get_image_address(const char **image_upload);
void controller_util_free(void);
-#endif /* __POSITION_FINDER_CONTROLLER_UTIL_H__ */
+#endif /* __RCC_CONTROLLER_UTIL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_SERVER_H__
-#define __POSITION_FINDER_SERVER_H__
+#ifndef __RCC_LOG_H__
+#define __RCC_LOG_H__
#include <dlog.h>
-#endif /* __POSITION_FINDER_SERVER_H__ */
+#endif /* __RCC_LOG_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_H__
-#define __POSITION_FINDER_RESOURCE_H__
+#ifndef __RCC_RESOURCE_H__
+#define __RCC_RESOURCE_H__
#include <peripheral_io.h>
#include "resource/resource_gas_detection_sensor.h"
#include "resource/resource_sound_level_sensor.h"
-#endif /* __POSITION_FINDER_RESOURCE_H__ */
+#endif /* __RCC_RESOURCE_H__ */
* limitations under the License.
*/
-#ifndef __RESOURCE_PCA9685_H__
-#define __RESOURCE_PCA9685_H__
+#ifndef __RCC_RESOURCE_PCA9685_H__
+#define __RCC_RESOURCE_PCA9685_H__
#define PCA9685_CH_MAX 15
int resource_pca9685_set_frequency(unsigned int freq_hz);
int resource_pca9685_set_value_to_channel(unsigned int channel, int on, int off);
-#endif /* __RESOURCE_PCA9685_H__ */
+#endif /* __RCC_RESOURCE_PCA9685_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_ADC_MCP3008_H__
-#define __POSITION_FINDER_RESOURCE_ADC_MCP3008_H__
+#ifndef __RCC_RESOURCE_ADC_MCP3008_H__
+#define __RCC_RESOURCE_ADC_MCP3008_H__
int resource_adc_mcp3008_init(void);
int resource_read_adc_mcp3008(int ch_num, unsigned int *out_value);
void resource_adc_mcp3008_fini(void);
-#endif /* __POSITION_FINDER_RESOURCE_ADC_MCP3008_H__ */
+#endif /* __RCC_RESOURCE_ADC_MCP3008_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_FLAME_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_FLAME_SENSOR_H__
+#ifndef __RCC_RESOURCE_FLAME_SENSOR_H__
+#define __RCC_RESOURCE_FLAME_SENSOR_H__
/**
* @brief Reads the value of gpio connected flame sensor(NS-FDSM).
*/
extern int resource_read_flame_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_FLAME_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_FLAME_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_FLAME_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_FLAME_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_FLAME_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_FLAME_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_flame_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_FLAME_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_FLAME_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_GAS_DETECTION_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_GAS_DETECTION_SENSOR_H__
+#ifndef __RCC_RESOURCE_GAS_DETECTION_SENSOR_H__
+#define __RCC_RESOURCE_GAS_DETECTION_SENSOR_H__
/**
* @brief Reads the value of gpio connected to the gas detection sensor(fc-22).
*/
extern int resource_read_gas_detection_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_GAS_DETECTION_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_GAS_DETECTION_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_GAS_DETECTION_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_GAS_DETECTION_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_GAS_DETECTION_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_GAS_DETECTION_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_gas_detection_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_GAS_DETECTION_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_GAS_DETECTION_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_ILLUMINANCE_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_ILLUMINANCE_SENSOR_H__
+#ifndef __RCC_RESOURCE_ILLUMINANCE_SENSOR_H__
+#define __RCC_FINDER_RESOURCE_ILLUMINANCE_SENSOR_H__
/**
* @brief Reads the value of i2c bus connected illuminance sensor.
*/
extern int resource_read_illuminance_sensor(int i2c_bus, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_ILLUMINANCE_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_ILLUMINANCE_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_ILLUMINANCE_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_ILLUMINANCE_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_ILLUMINANCE_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_ILLUMINANCE_SENSOR_INTERNAL_H__
/**
* @brief Destory the i2c handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_illuminance_sensor(void);
-#endif /* __POSITION_FINDER_RESOURCE_ILLUMINANCE_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_ILLUMINANCE_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_INFRARED_MOTION_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_INFRARED_MOTION_SENSOR_H__
+#ifndef __RCC_RESOURCE_INFRARED_MOTION_SENSOR_H__
+#define __RCC_RESOURCE_INFRARED_MOTION_SENSOR_H__
/**
* @brief Reads the value of gpio connected infrared motion sensor(HC-SR501).
*/
extern int resource_read_infrared_motion_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_INFRARED_MOTION_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_INFRARED_MOTION_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_INFRARED_MOTION_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_INFRARED_MOTION_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_INFRARED_MOTION_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_INFRARED_MOTION_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_infrared_motion_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_INFRARED_MOTION_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_INFRARED_MOTION_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_H__
+#ifndef __RCC_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_H__
+#define __RCC_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_H__
/**
* @brief Reads the value of gpio connected infrared obstacle avoidance sensor.
*/
extern int resource_read_infrared_obstacle_avoidance_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_infrared_obstacle_avoidance_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_INFRARED_OBSTACLE_AVOIDANCE_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_LED_H__
-#define __POSITION_FINDER_RESOURCE_LED_H__
+#ifndef __RCC_RESOURCE_LED_H__
+#define __RCC_RESOURCE_LED_H__
extern int resource_write_led(int pin_num, int write_value);
-#endif /* __POSITION_FINDER_RESOURCE_LED_H__ */
+#endif /* __RCC_RESOURCE_LED_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_LED_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_LED_INTERNAL_H__
+#ifndef __RCC_RESOURCE_LED_INTERNAL_H__
+#define __RCC_RESOURCE_LED_INTERNAL_H__
extern void resource_close_led(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_LED_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_LED_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __RESOURCE_MOTOR_DRIVER_L298N_H__
-#define __RESOURCE_MOTOR_DRIVER_L298N_H__
+#ifndef __RCC_RESOURCE_MOTOR_DRIVER_L298N_H__
+#define __RCC_RESOURCE_MOTOR_DRIVER_L298N_H__
/**
* This module is sample codes to handling DC motors in Tizen platform.
*/
int resource_set_motor_driver_L298N_speed(motor_id_e id, int speed);
-#endif /* __RESOURCE_MOTOR_DRIVER_L298N_H__ */
+#endif /* __RCC_RESOURCE_MOTOR_DRIVER_L298N_H__ */
* limitations under the License.
*/
-#ifndef __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
-#define __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
+#ifndef __RCC_RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
+#define __RCC_RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__
void resource_close_motor_driver_L298N(motor_id_e id);
void resource_close_motor_driver_L298N_all(void);
-#endif /* __RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_MOTOR_DRIVER_L298N_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_RAIN_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_RAIN_SENSOR_H__
+#ifndef __RCC_RESOURCE_RAIN_SENSOR_H__
+#define __RCC_RESOURCE_RAIN_SENSOR_H__
/**
* @brief Reads the value of gpio connected rain sensor(FC-37 + YL-38).
*/
extern int resource_read_rain_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_RAIN_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_RAIN_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_RAIN_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_RAIN_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_RAIN_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_RAIN_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_rain_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_RAIN_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_RAIN_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __RESOURCE_SERVO_MOTOR_H__
-#define __RESOURCE_SERVO_MOTOR_H__
+#ifndef __RCC_RESOURCE_SERVO_MOTOR_H__
+#define __RCC_RESOURCE_SERVO_MOTOR_H__
/**
* This module is sample codes to handling Servo motors in Tizen platform.
*/
int resource_set_servo_motor_value(unsigned int motor_id, int value);
-#endif /* __RESOURCE_SERVO_MOTOR_H__ */
+#endif /* __RCC_RESOURCE_SERVO_MOTOR_H__ */
* limitations under the License.
*/
-#ifndef __RESOURCE_SERVO_MOTOR_INTERNAL_H__
-#define __RESOURCE_SERVO_MOTOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_SERVO_MOTOR_INTERNAL_H__
+#define __RCC_RESOURCE_SERVO_MOTOR_INTERNAL_H__
void resource_close_servo_motor(unsigned int ch);
void resource_close_servo_motor_all(void);
-#endif /* __RESOURCE_SERVO_MOTOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_SERVO_MOTOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_SOUND_DETECTION_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_SOUND_DETECTION_SENSOR_H__
+#ifndef __RCC_RESOURCE_SOUND_DETECTION_SENSOR_H__
+#define __RCC_RESOURCE_SOUND_DETECTION_SENSOR_H__
/**
* @brief Reads the value of gpio connected sound detection sensor(NS-SDSM).
*/
extern int resource_read_sound_detection_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_SOUND_DETECTION_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_SOUND_DETECTION_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_SOUND_DETECTION_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_SOUND_DETECTION_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_SOUND_DETECTION_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_SOUND_DETECTION_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_sound_detection_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_SOUND_DETECTION_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_SOUND_DETECTION_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_SOUND_LEVEL_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_SOUND_LEVEL_SENSOR_H__
+#ifndef __RCC_RESOURCE_SOUND_LEVEL_SENSOR_H__
+#define __RCC_RESOURCE_SOUND_LEVEL_SENSOR_H__
/**
* @brief Reads the value from sound level sensor through AD converter(MCP3008).
*/
extern int resource_read_sound_level_sensor(int ch_num, unsigned int *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_SOUND_LEVEL_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_SOUND_LEVEL_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_SOUND_LEVEL_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_SOUND_LEVEL_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_SOUND_LEVEL_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_SOUND_LEVEL_SENSOR_INTERNAL_H__
extern void resource_close_sound_level_sensor(void);
-#endif /* __POSITION_FINDER_RESOURCE_SOUND_LEVEL_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_SOUND_LEVEL_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_TILT_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_TILT_SENSOR_H__
+#ifndef __RCC_RESOURCE_TILT_SENSOR_H__
+#define __RCC_RESOURCE_TILT_SENSOR_H__
/**
* @brief Reads the value of gpio connected tilt sensor(SZH-EK084).
*/
extern int resource_read_tilt_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_TILT_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_TILT_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_TILT_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_TILT_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_TILT_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_TILT_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_tilt_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_TILT_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_TILT_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_TOUCH_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_TOUCH_SENSOR_H__
+#ifndef __RCC_RESOURCE_TOUCH_SENSOR_H__
+#define __RCC_RESOURCE_TOUCH_SENSOR_H__
/**
* @brief Reads the value of gpio connected touch sensor.
*/
extern int resource_read_touch_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_TOUCH_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_TOUCH_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_TOUCH_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_TOUCH_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_TOUCH_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_TOUCH_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_touch_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_TOUCH_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_TOUCH_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_ULTRASONIC_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_ULTRASONIC_SENSOR_H__
+#ifndef __RCC_RESOURCE_ULTRASONIC_SENSOR_H__
+#define __RCC_RESOURCE_ULTRASONIC_SENSOR_H__
/**
* @brief Reads the value of gpio connected ultrasonic sensor(HC-SR04).
*/
extern int resource_read_ultrasonic_sensor(int trig_pin_num, int echo_pin_num, resource_read_cb cb, void *data);
-#endif /* __POSITION_FINDER_RESOURCE_ULTRASONIC_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_ULTRASONIC_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_ULTRASONIC_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_ULTRASONIC_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_ULTRASONIC_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_ULTRASONIC_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
extern void resource_close_ultrasonic_sensor_trig(int trig_pin_num);
extern void resource_close_ultrasonic_sensor_echo(int echo_pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_ULTRASONIC_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_ULTRASONIC_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_VIBRATION_SENSOR_H__
-#define __POSITION_FINDER_RESOURCE_VIBRATION_SENSOR_H__
+#ifndef __RCC_RESOURCE_VIBRATION_SENSOR_H__
+#define __RCC_RESOURCE_VIBRATION_SENSOR_H__
/**
* @brief Reads the value of gpio connected vibration sensor(SZH-EKAD-131).
*/
extern int resource_read_vibration_sensor(int pin_num, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_VIBRATION_SENSOR_H__ */
+#endif /* __RCC_RESOURCE_VIBRATION_SENSOR_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_VIBRATION_SENSOR_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_VIBRATION_SENSOR_INTERNAL_H__
+#ifndef __RCC_RESOURCE_VIBRATION_SENSOR_INTERNAL_H__
+#define __RCC_RESOURCE_VIBRATION_SENSOR_INTERNAL_H__
/**
* @brief Releases the gpio handle and changes the gpio pin state to the close(0).
*/
extern void resource_close_vibration_sensor(int pin_num);
-#endif /* __POSITION_FINDER_RESOURCE_VIBRATION_SENSOR_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_VIBRATION_SENSOR_INTERNAL_H__ */
* limitations under the License.
*/
-#ifndef __POSITION_FINDER_RESOURCE_INTERNAL_H__
-#define __POSITION_FINDER_RESOURCE_INTERNAL_H__
+#ifndef __RCC_RESOURCE_INTERNAL_H__
+#define __RCC_RESOURCE_INTERNAL_H__
#include <peripheral_io.h>
extern resource_s *resource_get_info(int pin_num);
extern void resource_close_all(void);
-#endif /* __POSITION_FINDER_RESOURCE_INTERNAL_H__ */
+#endif /* __RCC_RESOURCE_INTERNAL_H__ */
*/
-#ifndef __POSITION_FINDER_WEBUTIL_H__
-#define __POSITION_FINDER_WEBUTIL_H__
+#ifndef __RCC_WEBUTIL_H__
+#define __RCC_WEBUTIL_H__
typedef enum {
WEB_UTIL_SENSOR_NONE = 0,
int web_util_json_add_sensor_data(const char* sensorpi_id, web_util_sensor_data_s *sensor_data);
char *web_util_get_json_string(void);
-#endif /* __POSITION_FINDER_WEBUTIL_H__ */
+#endif /* __RCC_WEBUTIL_H__ */