Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

BLE/inc/ble_main.h

Committer:
davidjhoward
Date:
2016-10-24
Revision:
259:341f04be325e
Parent:
249:68ed571e0002
Parent:
258:150f5a76162d

File content as of revision 259:341f04be325e:

/**
  ******************************************************************************
  * @file    ble_types.h
  * @author  Happiesstminds Firmware Team
  * @version v1.0
  * @date    4-Oct-2016
  * @brief   
  *
  ******************************************************************************
  * @attention
  *  
  *
  ******************************************************************************
  */

#ifndef _BLE_MAIN_H
#define _BLE_MAIN_H

class BLE_FILE
{
   public:
      // Member functions declaration
        uint8_t ConfigureBLEDevice(void);
        void SendFile(uint8_t* json_file,uint8_t len);
        bool GetBleConnectionState(void);
};


#define COMMAND_LENGTH  4
#define DATA_LENGTH     0
//#define SUCCESS 1
#define FAILURE 0
#define MAX_PAYLOAD_BYTES 20

#endif
/******************************************************************************/
/* END OF FILE                                                                */
/******************************************************************************/