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.
Dependencies: Adafruit_GFX BLE_API mbed nRF51822 SemVer
main.cpp File Reference
Go to the source code of this file.
Functions | |
| void | buttonCallback (void) |
| Callback to write to connected client and display. | |
| void | connectionCallback (Gap::Handle_t tHandle, Gap::addr_type_t ePeerAddrType, const Gap::address_t c6PeerAddr, const Gap::ConnectionParams_t *params) |
| Callback when new client connects to device. | |
| void | disconnectionCallback (Gap::Handle_t handle, Gap::DisconnectionReason_t reason) |
| Callback called when a client disconnects. | |
| void | onDataWritten (const GattCharacteristicWriteCBParams *params) |
| Callback called when a client writes to this device. | |
Detailed Description
- Date:
- 30 March 2015
Definition in file main.cpp.
Function Documentation
| void buttonCallback | ( | void | ) |
| void connectionCallback | ( | Gap::Handle_t | tHandle, |
| Gap::addr_type_t | ePeerAddrType, | ||
| const Gap::address_t | c6PeerAddr, | ||
| const Gap::ConnectionParams_t * | params | ||
| ) |
| void disconnectionCallback | ( | Gap::Handle_t | handle, |
| Gap::DisconnectionReason_t | reason | ||
| ) |
Generated on Thu Jul 14 2022 11:39:49 by
1.7.2