Skip to content

Add Peripheral Preferred Connection Parameter to Generic Access 0x1800 #498

Answered by h2zero
mellbergsimon asked this question in Q&A
Discussion options

You must be logged in to vote

The creation of that service is handled by the stack already. To set the PPCP characteristic data you will need to define the values in the config somewhere. These are what you need to set:

#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL (0)
#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL (0)
#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_SLAVE_LATENCY (0)
#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_SUPERVISION_TMO (0)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mellbergsimon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants