ST / X_NUCLEO_IDW01M1

Dependents:   SpwfInterface_NSAPI_Tests HelloWorld_IDW01M1

Fork of X_NUCLEO_IDW01M1 by ST Expansion SW Team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ItfTranslator.h Source File

ItfTranslator.h

Go to the documentation of this file.
00001 /* mbed Microcontroller Library
00002 * Copyright (c) 2006-2013 ARM Limited
00003 *
00004 * Licensed under the Apache License, Version 2.0 (the "License");
00005 * you may not use this file except in compliance with the License.
00006 * You may obtain a copy of the License at
00007 *
00008 *     http://www.apache.org/licenses/LICENSE-2.0
00009 *
00010 * Unless required by applicable law or agreed to in writing, software
00011 * distributed under the License is distributed on an "AS IS" BASIS,
00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013 * See the License for the specific language governing permissions and
00014 * limitations under the License.
00015 */
00016  
00017 /**
00018   ******************************************************************************
00019   * @file    ItfTranslator.h
00020   * @author  STMicroelectronics
00021   * @brief   Header file for wrapper Functions for access to SPWFSADevice class/vice-versa
00022   ******************************************************************************
00023   * @copy
00024   *
00025   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
00026   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
00027   * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
00028   * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
00029   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
00030   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
00031   *
00032   * <h2><center>&copy; COPYRIGHT 2016 STMicroelectronics</center></h2>
00033   ******************************************************************************
00034   */
00035 
00036 
00037 #ifndef __INTERMEDIATE_H__
00038 #define __INTERMEDIATE_H__
00039 
00040 
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044 
00045 void    callSpwfSADevice_init(void* object);
00046 char    callSpwfSADevice_getChar(void* object);
00047 int     callSpwfSADevice_write(void* object, const char * cmd, uint16_t size);
00048 void    callSpwfSADevice_wakeup(void* object, int wake);
00049 void    callSpwfSADevice_reset(void* object, int reset); 
00050 void    callSpwfSADevice_rts(void* object, int rts);
00051 void    callSpwfSADevice_attach(wifi_bool attach);
00052 void    callSpwfSADevice_debug(void* object, const char * string);
00053 void    destroySpwfSADevice(void);
00054 int     callSpwfSADevice_read_rts(void* object);
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059 
00060 
00061 #endif
00062