|
ELEC-C7222
Libraries for ELEC C7222 Course Work
|
BLE example showing a minimal custom service with NOTIFY. More...
#include <cassert>#include <cstdint>#include <cstdio>#include <cstring>#include <vector>#include "../common/gap_event_handler.hpp"#include "../common/characteristic_event_handler.hpp"#include "advertisement_data.hpp"#include "attribute_server.hpp"#include "ble.hpp"#include "characteristic.hpp"#include "freertos_task.hpp"#include "gap.hpp"#include "platform.hpp"#include "app_profile.h"
Functions | |
| int | main () |
| Program entry point for the custom service NOTIFY example. | |
BLE example showing a minimal custom service with NOTIFY.
This example demonstrates:
.gatt profileAttributeServerService UUID: 0xFFD0
1) Connect to "c7222-notify-demo" 2) Open "NotifyValue" 3) Enable notifications (CCCD) 4) Observe periodic updates (counter increments)
| int main | ( | void | ) |
Program entry point for the custom service NOTIFY example.
