Sample program that can send the recognition data from HVC-P2 to Fujitsu IoT Platform using REST (HTTP)

Dependencies:   AsciiFont GR-PEACH_video GraphicsFramework LCD_shield_config R_BSP USBHost_custom easy-connect-gr-peach mbed-http picojson

Information

Here are both English and Japanese description. First, English description is shown followed by Japanese one. 本ページには英語版と日本語版の説明があります。まず英語版、続いて日本語版の説明となります。

Overview

This sample program shows how to send the cognitive data gathered by Omron HVC-P2 (Human Vision Components B5T-007001) to IoT Platform managed by FUJITSU ( http://jp.fujitsu.com/solutions/cloud/k5/function/paas/iot-platform/ ).

Hardware Configuration

/media/uploads/dkato/composition_hvcp2_demo.jpg

When executing this sample program, please configure the above H/W as shown below:
/media/uploads/dkato/composition_hvcp2_demo_2.jpg

Also, please close JP3 of GR-PEACH as follows:
/media/uploads/RyoheiHagimoto/usb.jpg

Application Preconfiguration

Build Procedure

  • Import this sample program onto mbed Compiler
  • In GR-PEACH_HVC-P2_IoTPlatform_http/IoT_Platform/iot_platform.cpp, please replace <ACCESS CODE> with the access code you set up on IoT Platform. For details on how to set up Access Code, please refer to the above Application Setup. Then, please delete the line beginning with #error macro.

Access Code configuration

#define ACCESS_CODE <Access CODE>
#error "You need to replace <Access CODE for your resource> with yours"
  • In GR-PEACH_HVC-P2_IoTPlatform_http/IoT_Platform/iot_platform.cpp, please replace <Base URI>, <Tenant ID> and <Path-to-Resource> below with yours and delete the line beginning with #error macro. For details on <Base URI> and <Tenant ID>, please contact FUJITSU LIMITED. Also, for details on <Path-to-Resource>, please refer to the above Application Setup.

URI configuration

std::string put_uri_base("<Base URI>/v1/<Tenant ID>/<Path-to-Resource>.json");
#error "You need to replace <Base URI>, <Tenant ID> and <Path-to-Resource> with yours"
**snip**
std::string get_uri("<Base URI>/v1/<Tenant ID>/<Path-to-Resource>/_past.json");
#error "You need to replace <Base URI>, <Tenant ID> and <Path-to-Resource> with yours"
  • Compile the program. If compilation is successfully terminated, the binary should be downloaded on your PC.
  • Plug Ethernet cable into GR-PEACH
  • Plug micro-USB cable into the port which lies on the next to RESET button. If GR-PEACH is successfully recognized, it appears as the USB flash disk named mbed as show below:
    /media/uploads/HinoNaka/mbed_drive.png
  • Copy the downloaded binary to mbed drive
  • Press RESET button on GR-PEACH in order to run the program. If it's successfully run, you can see the following message on terminal:
    /media/uploads/HinoNaka/iotplatform_log.png

Format of Data to be sent to IoT Platform

In this program, the cognitive data sent from HVC-P2 is serialized in the following JSON format and send it to IoT Platform:

  • Face detection data

{
    "RecodeType": "HVC-P2(face)"
    "id": <GR-PEACH ID>-<Sensor ID>"
    "FaceRectangle": {
        "Height": xxxx,
        "Left": xxxx,
        "Top": xxxx,
        "Width": xxxx,
    },
    "Gender": "male" or "female",
    "Scores": {
        "Anger": zzz,
        "Hapiness": zzz,
        "Neutral": zzz,
        "Sadness": zzz,
        "Surprise": zzz
    }
}

xxxx: Top-left coordinate, width and height of the rectangle circumscribing the detected face in LCD display coordinate system
zzz: the value indicating the expression estimated from the detected face

//

  • Body detection data

{
    "RecodeType": "HVC-P2(body)"
    "id": <GR-PEACH ID>-<Sensor ID>"
    "BodyRectangle": {
        "Height": xxxx,
        "Left": xxxx,
        "Top": xxxx,
        "Width": xxxx,
    }
}

xxxx: Top-left coordinate, width and height of the rectangle circumscribing the detected body in LCD display coordinate system

概要

本プログラムは、オムロン社製HVC-P2 (Human Vision Components B5T-007001)で収集した各種認識データを、富士通社のIoT Platform ( http://jp.fujitsu.com/solutions/cloud/k5/function/paas/iot-platform/ ) に送信するサンプルプログラムです。

ハードウェア構成

/media/uploads/dkato/composition_hvcp2_demo.jpg

本プログラムを動作させる場合、上記H/Wを下図のように接続してください。 /media/uploads/dkato/composition_hvcp2_demo_2.jpg

また下図に示すGR-PEACHのJP3をショートしてください。 /media/uploads/RyoheiHagimoto/usb.jpg

アプリケーションの事前設定

ビルド手順

  • 本サンプルプログラムをmbed Compilerにインポートします
  • 下記に示すGR-PEACH_HVC-P2_IoTPlatform_http/IoT_Platform/iot_platform.cpp中の<ACCESS CODE> を、IoT Platform上で設定したアクセスコードで上書きしてください。<Access Code>の設定方法につきましては、上述のApplication Setupを参照願います。また #errorマクロで始まる行を削除してください。

Access Code configuration

#define ACCESS_CODE <Access CODE>
#error "You need to replace <Access CODE for your resource> with yours"
  • 下記に示すGR-PEACH_HVC-P2_IoTPlatform_http/IoT_Platform/iot_platform.cpp中の<Base URI><Tenant ID>、および<Path-to-Resource>>を適当な値に置換えるとともに、#errorマクロで始まる行を削除してください。ここで、<Base URI>、 <Tenant ID>の詳細につきましては富士通社へご確認願います。また<Path-to-Resource>>につきましては、Application Setupの項を参照ください。

URI configuration

std::string put_uri_base("<Base URI>/v1/<Tenant ID>/<Path-to-Resource>.json");
#error "You need to replace <Base URI>, <Tenant ID> and <Path-to-Resource> with yours"
(中略)
std::string get_uri("<Base URI>/v1/<Tenant ID>/<Path-to-Resource>/_past.json");
#error "You need to replace <Base URI>, <Tenant ID> and <Path-to-Resource> with yours"
  • プログラムをコンパイルします。コンパイルが正常終了すると、バイナリがお使いのPCにダウンロードされます。
  • GR-PEACHのRJ-45コネクタにEthernetケーブルを差し込んでください。
  • USBA - Micro USBケーブルを、GR-PEACHのRESETボタンの隣に配置されたMicro USBポートに差し込んでください。GR-PEACHが正常に認識されると、下図に示すようにGR-PEACHがmbedという名称のUSBドライブとして認識されます。
    /media/uploads/HinoNaka/mbed_drive.png
  • ダウンロードしたバイナリをmbedドライブにコピーします。
  • RESETボタンを押下してプログラムを実行します。正常に実行された場合、下記に示すメッセージがターミナル上に表示されます。
    /media/uploads/HinoNaka/iotplatform_log.png

送信データフォーマット

本プログラムでは、HVC-P2が収集した認識データを下記のJSONフォーマットにシリアライズし、IoT Platformへ送信します。

  • Face detection data

{
    "RecodeType": "HVC-P2(face)"
    "id": <GR-PEACH ID>-<Sensor ID>"
    "FaceRectangle": {
        "Height": xxxx,
        "Left": xxxx,
        "Top": xxxx,
        "Width": xxxx,
    },
    "Gender": "male" or "female",
    "Scores": {
        "Anger": zzz,
        "Hapiness": zzz,
        "Neutral": zzz,
        "Sadness": zzz,
        "Surprise": zzz
    }
}

xxxx: LCD表示座標系における検出した顔に外接する矩形の左上座標・幅・高さ
zzz: 検出した顔から推定した各種感情を示す数値

//

  • Body detection data

{
    "RecodeType": "HVC-P2(body)"
    "id": <GR-PEACH ID>-<Sensor ID>"
    "BodyRectangle": {
        "Height": xxxx,
        "Left": xxxx,
        "Top": xxxx,
        "Width": xxxx,
    }
}

xxxx: LCD表示座標系における検出した人体に外接する矩形の左上座標・幅・高さ
Committer:
Osamu Nakamura
Date:
Thu Sep 07 18:15:54 2017 +0900
Revision:
0:813a237f1c50
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Osamu Nakamura 0:813a237f1c50 1 /*---------------------------------------------------------------------------*/
Osamu Nakamura 0:813a237f1c50 2 /* Copyright(C) 2017 OMRON Corporation */
Osamu Nakamura 0:813a237f1c50 3 /* */
Osamu Nakamura 0:813a237f1c50 4 /* Licensed under the Apache License, Version 2.0 (the "License"); */
Osamu Nakamura 0:813a237f1c50 5 /* you may not use this file except in compliance with the License. */
Osamu Nakamura 0:813a237f1c50 6 /* You may obtain a copy of the License at */
Osamu Nakamura 0:813a237f1c50 7 /* */
Osamu Nakamura 0:813a237f1c50 8 /* http://www.apache.org/licenses/LICENSE-2.0 */
Osamu Nakamura 0:813a237f1c50 9 /* */
Osamu Nakamura 0:813a237f1c50 10 /* Unless required by applicable law or agreed to in writing, software */
Osamu Nakamura 0:813a237f1c50 11 /* distributed under the License is distributed on an "AS IS" BASIS, */
Osamu Nakamura 0:813a237f1c50 12 /* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
Osamu Nakamura 0:813a237f1c50 13 /* See the License for the specific language governing permissions and */
Osamu Nakamura 0:813a237f1c50 14 /* limitations under the License. */
Osamu Nakamura 0:813a237f1c50 15 /*---------------------------------------------------------------------------*/
Osamu Nakamura 0:813a237f1c50 16
Osamu Nakamura 0:813a237f1c50 17 /*
Osamu Nakamura 0:813a237f1c50 18 HVC Sample API
Osamu Nakamura 0:813a237f1c50 19 */
Osamu Nakamura 0:813a237f1c50 20
Osamu Nakamura 0:813a237f1c50 21 #ifndef HVCApi_H__
Osamu Nakamura 0:813a237f1c50 22 #define HVCApi_H__
Osamu Nakamura 0:813a237f1c50 23
Osamu Nakamura 0:813a237f1c50 24 #ifndef UINT8
Osamu Nakamura 0:813a237f1c50 25 typedef unsigned char UINT8; /* 8 bit Unsigned Integer */
Osamu Nakamura 0:813a237f1c50 26 #endif /* UINT8 */
Osamu Nakamura 0:813a237f1c50 27 #ifndef INT32
Osamu Nakamura 0:813a237f1c50 28 typedef int INT32; /* 32 bit Signed Integer */
Osamu Nakamura 0:813a237f1c50 29 #endif /* INT32 */
Osamu Nakamura 0:813a237f1c50 30 #ifndef NULL
Osamu Nakamura 0:813a237f1c50 31 #define NULL 0
Osamu Nakamura 0:813a237f1c50 32 #endif
Osamu Nakamura 0:813a237f1c50 33
Osamu Nakamura 0:813a237f1c50 34 #include "HVCDef.h"
Osamu Nakamura 0:813a237f1c50 35
Osamu Nakamura 0:813a237f1c50 36 #ifdef __cplusplus
Osamu Nakamura 0:813a237f1c50 37 extern "C" {
Osamu Nakamura 0:813a237f1c50 38 #endif
Osamu Nakamura 0:813a237f1c50 39
Osamu Nakamura 0:813a237f1c50 40 /* HVC_GetVersion */
Osamu Nakamura 0:813a237f1c50 41 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 42 /* : HVC_VERSION *outVersion version data */
Osamu Nakamura 0:813a237f1c50 43 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 44 INT32 HVC_GetVersion(INT32 inTimeOutTime, HVC_VERSION *outVersion, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 45
Osamu Nakamura 0:813a237f1c50 46 /* HVC_SetCameraAngle */
Osamu Nakamura 0:813a237f1c50 47 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 48 /* : INT32 inAngleNo camera angle number */
Osamu Nakamura 0:813a237f1c50 49 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 50 INT32 HVC_SetCameraAngle(INT32 inTimeOutTime, INT32 inAngleNo, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 51
Osamu Nakamura 0:813a237f1c50 52 /* HVC_GetCameraAngle */
Osamu Nakamura 0:813a237f1c50 53 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 54 /* : INT32 *outAngleNo camera angle number */
Osamu Nakamura 0:813a237f1c50 55 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 56 INT32 HVC_GetCameraAngle(INT32 inTimeOutTime, INT32 *outAngleNo, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 57
Osamu Nakamura 0:813a237f1c50 58 /* HVC_Execute */
Osamu Nakamura 0:813a237f1c50 59 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 60 /* : INT32 inExec executable function */
Osamu Nakamura 0:813a237f1c50 61 /* : INT32 inImage image output number */
Osamu Nakamura 0:813a237f1c50 62 /* : HVC_RESULT *outHVCResult result data */
Osamu Nakamura 0:813a237f1c50 63 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 64 INT32 HVC_Execute(INT32 inTimeOutTime, INT32 inExec, INT32 inImage, HVC_RESULT *outHVCResult, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 65
Osamu Nakamura 0:813a237f1c50 66 /* HVC_ExecuteEx */
Osamu Nakamura 0:813a237f1c50 67 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 68 /* : INT32 inExec executable function */
Osamu Nakamura 0:813a237f1c50 69 /* : INT32 inImage image output number */
Osamu Nakamura 0:813a237f1c50 70 /* : HVC_RESULT *outHVCResult result data */
Osamu Nakamura 0:813a237f1c50 71 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 72 INT32 HVC_ExecuteEx(INT32 inTimeOutTime, INT32 inExec, INT32 inImage, HVC_RESULT *outHVCResult, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 73
Osamu Nakamura 0:813a237f1c50 74 /* HVC_SetThreshold */
Osamu Nakamura 0:813a237f1c50 75 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 76 /* : HVC_THRESHOLD *inThreshold threshold values */
Osamu Nakamura 0:813a237f1c50 77 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 78 INT32 HVC_SetThreshold(INT32 inTimeOutTime, HVC_THRESHOLD *inThreshold, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 79
Osamu Nakamura 0:813a237f1c50 80 /* HVC_GetThreshold */
Osamu Nakamura 0:813a237f1c50 81 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 82 /* : HVC_THRESHOLD *outThreshold threshold values */
Osamu Nakamura 0:813a237f1c50 83 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 84 INT32 HVC_GetThreshold(INT32 inTimeOutTime, HVC_THRESHOLD *outThreshold, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 85
Osamu Nakamura 0:813a237f1c50 86 /* HVC_SetSizeRange */
Osamu Nakamura 0:813a237f1c50 87 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 88 /* : HVC_SIZERANGE *inSizeRange detection sizes */
Osamu Nakamura 0:813a237f1c50 89 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 90 INT32 HVC_SetSizeRange(INT32 inTimeOutTime, HVC_SIZERANGE *inSizeRange, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 91
Osamu Nakamura 0:813a237f1c50 92 /* HVC_GetSizeRange */
Osamu Nakamura 0:813a237f1c50 93 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 94 /* : HVC_SIZERANGE *outSizeRange detection sizes */
Osamu Nakamura 0:813a237f1c50 95 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 96 INT32 HVC_GetSizeRange(INT32 inTimeOutTime, HVC_SIZERANGE *outSizeRange, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 97
Osamu Nakamura 0:813a237f1c50 98 /* HVC_SetFaceDetectionAngle */
Osamu Nakamura 0:813a237f1c50 99 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 100 /* : INT32 inPose Yaw angle range */
Osamu Nakamura 0:813a237f1c50 101 /* : INT32 inAngle Roll angle range */
Osamu Nakamura 0:813a237f1c50 102 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 103 INT32 HVC_SetFaceDetectionAngle(INT32 inTimeOutTime, INT32 inPose, INT32 inAngle, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 104
Osamu Nakamura 0:813a237f1c50 105 /* HVC_GetFaceDetectionAngle */
Osamu Nakamura 0:813a237f1c50 106 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 107 /* : INT32 *outPose Yaw angle range */
Osamu Nakamura 0:813a237f1c50 108 /* : INT32 *outAngle Roll angle range */
Osamu Nakamura 0:813a237f1c50 109 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 110 INT32 HVC_GetFaceDetectionAngle(INT32 inTimeOutTime, INT32 *outPose, INT32 *outAngle, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 111
Osamu Nakamura 0:813a237f1c50 112 /* HVC_SetBaudRate */
Osamu Nakamura 0:813a237f1c50 113 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 114 /* : INT32 inRate Baudrate */
Osamu Nakamura 0:813a237f1c50 115 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 116 INT32 HVC_SetBaudRate(INT32 inTimeOutTime, INT32 inRate, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 117
Osamu Nakamura 0:813a237f1c50 118 /* HVC_Registration */
Osamu Nakamura 0:813a237f1c50 119 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 120 /* : INT32 inUserID User ID (0-499) */
Osamu Nakamura 0:813a237f1c50 121 /* : INT32 inDataID Data ID (0-9) */
Osamu Nakamura 0:813a237f1c50 122 /* : HVC_IMAGE *outImage image info */
Osamu Nakamura 0:813a237f1c50 123 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 124 INT32 HVC_Registration(INT32 inTimeOutTime, INT32 inUserID, INT32 inDataID, HVC_IMAGE *outImage, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 125
Osamu Nakamura 0:813a237f1c50 126 /* HVC_DeleteData */
Osamu Nakamura 0:813a237f1c50 127 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 128 /* : INT32 inUserID User ID (0-499) */
Osamu Nakamura 0:813a237f1c50 129 /* : INT32 inDataID Data ID (0-9) */
Osamu Nakamura 0:813a237f1c50 130 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 131 INT32 HVC_DeleteData(INT32 inTimeOutTime, INT32 inUserID, INT32 inDataID, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 132
Osamu Nakamura 0:813a237f1c50 133 /* HVC_DeleteUser */
Osamu Nakamura 0:813a237f1c50 134 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 135 /* : INT32 inUserID User ID (0-499) */
Osamu Nakamura 0:813a237f1c50 136 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 137 INT32 HVC_DeleteUser(INT32 inTimeOutTime, INT32 inUserID, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 138
Osamu Nakamura 0:813a237f1c50 139 /* HVC_DeleteAll */
Osamu Nakamura 0:813a237f1c50 140 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 141 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 142 INT32 HVC_DeleteAll(INT32 inTimeOutTime, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 143
Osamu Nakamura 0:813a237f1c50 144 /* HVC_GetUserData */
Osamu Nakamura 0:813a237f1c50 145 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 146 /* : INT32 inUserID User ID (0-499) */
Osamu Nakamura 0:813a237f1c50 147 /* : INT32 *outDataNo Registration Info */
Osamu Nakamura 0:813a237f1c50 148 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 149 INT32 HVC_GetUserData(INT32 inTimeOutTime, INT32 inUserID, INT32 *outDataNo, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 150
Osamu Nakamura 0:813a237f1c50 151 /* HVC_SaveAlbum */
Osamu Nakamura 0:813a237f1c50 152 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 153 /* : UINT8 *outAlbumData Album data */
Osamu Nakamura 0:813a237f1c50 154 /* : INT32 *outAlbumDataSize Album data size */
Osamu Nakamura 0:813a237f1c50 155 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 156 INT32 HVC_SaveAlbum(INT32 inTimeOutTime, UINT8 *outAlbumData, INT32 *outAlbumDataSize, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 157
Osamu Nakamura 0:813a237f1c50 158 /* HVC_LoadAlbum */
Osamu Nakamura 0:813a237f1c50 159 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 160 /* : UINT8 *inAlbumData Album data */
Osamu Nakamura 0:813a237f1c50 161 /* : INT32 inAlbumDataSize Album data size */
Osamu Nakamura 0:813a237f1c50 162 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 163 INT32 HVC_LoadAlbum(INT32 inTimeOutTime, UINT8 *inAlbumData, INT32 inAlbumDataSize, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 164
Osamu Nakamura 0:813a237f1c50 165 /* HVC_WriteAlbum */
Osamu Nakamura 0:813a237f1c50 166 /* param : INT32 inTimeOutTime timeout time (ms) */
Osamu Nakamura 0:813a237f1c50 167 /* : UINT8 *outStatus response code */
Osamu Nakamura 0:813a237f1c50 168 INT32 HVC_WriteAlbum(INT32 inTimeOutTime, UINT8 *outStatus);
Osamu Nakamura 0:813a237f1c50 169
Osamu Nakamura 0:813a237f1c50 170 #ifdef __cplusplus
Osamu Nakamura 0:813a237f1c50 171 }
Osamu Nakamura 0:813a237f1c50 172 #endif
Osamu Nakamura 0:813a237f1c50 173
Osamu Nakamura 0:813a237f1c50 174 #endif /* HVCApi_H__ */
Osamu Nakamura 0:813a237f1c50 175