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.
Fork of NNN40_CLI by
CLI_Source/ble_cli.h@7:33214585c606, 2016-01-21 (annotated)
- Committer:
- gillwei7
- Date:
- Thu Jan 21 11:23:44 2016 +0000
- Revision:
- 7:33214585c606
- Parent:
- 4:b52035367aee
- Child:
- 17:03c8af30087a
Add data interrupt command: enable/disable remote write detection, when enable, give interrupt to Host
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| gillwei7 | 0:5c195ab2f696 | 1 | /* | 
| gillwei7 | 0:5c195ab2f696 | 2 | * ble-cli.h | 
| gillwei7 | 0:5c195ab2f696 | 3 | * Copyright 2014 by Delta Corporation. All rights reserved. | 
| gillwei7 | 0:5c195ab2f696 | 4 | */ | 
| gillwei7 | 7:33214585c606 | 5 | //#ifdef __cplusplus | 
| gillwei7 | 7:33214585c606 | 6 | //extern "C" { | 
| gillwei7 | 7:33214585c606 | 7 | //#endif | 
| gillwei7 | 7:33214585c606 | 8 | |
| gillwei7 | 7:33214585c606 | 9 | //#ifdef __cplusplus | 
| gillwei7 | 7:33214585c606 | 10 | //} | 
| gillwei7 | 7:33214585c606 | 11 | //#endif | 
| gillwei7 | 7:33214585c606 | 12 | |
| gillwei7 | 7:33214585c606 | 13 | #include <stdio.h> | 
| gillwei7 | 7:33214585c606 | 14 | #include <stdlib.h> | 
| gillwei7 | 7:33214585c606 | 15 | #include <stdint.h> | 
| gillwei7 | 7:33214585c606 | 16 | #include "mbed.h" | 
| gillwei7 | 7:33214585c606 | 17 | #include "BLE.h" | 
| gillwei7 | 7:33214585c606 | 18 | #include "Gap.h" | 
| gillwei7 | 7:33214585c606 | 19 | #include "nrf_gpio.h" | 
| gillwei7 | 7:33214585c606 | 20 | #include "nrf_soc.h" | 
| gillwei7 | 7:33214585c606 | 21 | //#include "ble_hci.h" | 
| gillwei7 | 7:33214585c606 | 22 | #include "app_error.h" | 
| gillwei7 | 7:33214585c606 | 23 | #include "PinNames.h" | 
| gillwei7 | 0:5c195ab2f696 | 24 | extern "C" { | 
| gillwei7 | 7:33214585c606 | 25 | #include "ble_advdata.h" | 
| gillwei7 | 7:33214585c606 | 26 | } | 
| gillwei7 | 7:33214585c606 | 27 | #include "ble/GattCharacteristic.h" | 
| gillwei7 | 7:33214585c606 | 28 | #include "ble/UUID.h" | 
| gillwei7 | 7:33214585c606 | 29 | #include "ble/DiscoveredCharacteristic.h" | 
| gillwei7 | 7:33214585c606 | 30 | #include "ble/DiscoveredService.h" | 
| gillwei7 | 0:5c195ab2f696 | 31 | #include "command-interpreter.h" | 
| gillwei7 | 7:33214585c606 | 32 | extern CyntecCommandEntry bleCommandSets[]; //for core_cli.cpp | 
| gillwei7 | 0:5c195ab2f696 | 33 | 
