|
ELEC-C7222
Libraries for ELEC C7222 Course Work
|
This example demonstrates how the BLE Security Manager integrates with the GATT server and how encrypted characteristic access behaves in practice.
example-ble-security-managerlibs/elec_c7222/examples/ble/security-manager/main_ble_security_manager.cpplibs/elec_c7222/examples/ble/security-manager/app_profile.gattREAD_ENCRYPTED) that fails before pairing and succeeds after pairingCustom vendor service: 0xFFF0
| UUID | Name | Properties |
|---|---|---|
0xFFF1 | PublicValue | READ |
0xFFF2 | SecureValue | READ_ENCRYPTED |
c7222-sec-demo)PublicValue -> succeeds immediatelySecureValue -> fails before pairing and/or triggers pairingSecureValue again -> succeedsYou should see:
This example keeps the pairing configuration intentionally simple:
IoCapability = NoInputNoOutputThe secure behavior is enforced by the .gatt characteristic flags, not by application logic.