Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ICE-Application/src/add-ons/BLE/inc/ble_spi.h
- Committer:
- jmarkel44
- Date:
- 2017-01-24
- Revision:
- 0:61364762ee0e
File content as of revision 0:61364762ee0e:
/** ****************************************************************************** * @file ble_types.h * @author Happiesstminds Firmware Team * @version v1.0 * @date 4-Oct-2016 * @brief * ****************************************************************************** * @attention * * ****************************************************************************** */ #ifndef _BLE_SPI_H #define _BLE_TYPES_H #define BLE_SOF_CMD 0x01 #define BLE_EOT_CMD 0x04 #define BLE_INIT_CMD 0xA1 #define BLE_START_ADV_CMD 0xA2 #define BLE_CONNECTION_EVNT_CMD 0xA3 #define BLE_START_OF_FILE 0xA4 #define BLE_SEND_DATA_CMD 0xA5 #define BLE_END_OF_FILE 0xA6 #define BLE_REC_DATA_CMD 0xA7 #define BLE_DISCONNECTION_EVNT_CMD 0xA8 #define BLE_ACK_CMD 0xAA #include "ble_main.h" uint8_t WriteSpiData(uint8_t * p_buffer, uint16_t length); uint8_t InitSpiMaster(void); uint8_t ReadSpiData(uint8_t *); #endif /******************************************************************************/ /* END OF FILE */ /******************************************************************************/