User's Guide
Table Of Contents
- 1. Introduction
- 2. Getting Started
- 3. Operational Examples
- 3.1 System Setup Examples
- 3.2 Cable Replacement Examples with CYSPP
- 3.3 Remote Control Examples with CYCommand
- 3.4 GAP Peripheral Examples
- 3.5 GAP Central Examples
- 3.6 GATT Server Examples
- 3.7 GATT Client Examples
- 3.8 Security and Encryption Examples
- 3.9 Beacon Examples
- 3.10 Performance Testing Examples
- 3.11 Device Firmware Update Examples
- 4. Application Design Examples
- 5. Host API Library
- 6. Troubleshooting
- 7. API Protocol Reference
- 8. GPIO Reference
- 9. Cypress GATT Profile Reference
- 10. Configuration Example Reference
- Revision History
API Protocol Reference
EZ-Serial BLE Firmware Platform User Guide, Doc. No. 002-11259 Rev. *E 157
Command Arguments:
Data Type
Name
Text
Description
uint32 passkey P
Fixed passkey value
• Minimum = 0 (‘000000’ decimal entry during pairing)
• Maximum = 0xF423F (‘999999’ decimal entry during pairing)
• NOTE: Factory default is 0
Response Parameters:
None.
Related Commands:
• smp_pair (/P, ID=7/3)
• smp_send_pairreq_response (/PR, ID=7/5)
• Example Usage:
•
Section 3.8.2.5 (Pairing and Bonding with a Fixed Passkey)
• smp_get_fixed_passkey (GFPK, ID=7/14)
• smp_set_security_parameters (SSBP, ID=7/11)
Related Events:
• smp_pairing_requested (P, ID=7/2)
• smp_pairing_result (PR, ID=7/3)
• smp_encryption_status (ENC, ID=7/4)
• smp_passkey_display_requested (PKD, ID=7/5)
Example Usage:
• Section 3.8.2.5 (Pairing and Bonding with a Fixed Passkey)
7.2.7.14 smp_get_fixed_passkey (GFPK, ID=7/14)
Obtain current fixed passkey value.
Binary Header:
Type
Length
Group
ID
Notes
CMD
C0
00
07
0E
None.
RSP
C0
08
07
0E
None.
Text Info:
Text Name
Response Length
Category
Notes
GFPK
0x0015
GET
None.
Command Arguments:
None.
Response Parameters:
Data Type
Name
Text
Description
uint32 passkey P
Fixed passkey value
• Minimum = 0 (‘000000’ decimal entry during pairing)
• Maximum = 0xF423F (‘999999’ decimal entry during pairing)
• NOTE: Factory default is 0
Related Commands:
• smp_set_fixed_passkey (SFPK, ID=7/13)