Simple program to enable me to write to a 128x64 OLED display over BLE
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