@@ -76,23 +76,23 @@ extern "C" {
76
76
/**@{*/
77
77
/*! \brief Maximum number of connections */
78
78
#ifndef DM_CONN_MAX
79
- #define DM_CONN_MAX CORDIO_CFG_MAX_CONNECTIONS
79
+ #define DM_CONN_MAX 3
80
80
#endif
81
81
82
82
/*! \brief Maximum number of periodic advertising synchronizations */
83
83
#ifndef DM_SYNC_MAX
84
- #define DM_SYNC_MAX CORDIO_CFG_MAX_SYNCS
84
+ #define DM_SYNC_MAX 1
85
85
#endif
86
86
87
87
/*! \brief Number of supported advertising sets: must be set to 1 for legacy advertising */
88
88
#ifndef DM_NUM_ADV_SETS
89
- #define DM_NUM_ADV_SETS CORDIO_CFG_MAX_ADVERTISING_SETS
89
+ #define DM_NUM_ADV_SETS 3
90
90
#endif
91
91
92
92
/*! \brief Number of scanner and initiator PHYs (LE 1M, LE 2M and LE Coded): must be set to 1 for
93
93
legacy scanner and initiator */
94
94
#ifndef DM_NUM_PHYS
95
- #define DM_NUM_PHYS CORDIO_CFG_MAX_PHYS
95
+ #define DM_NUM_PHYS 3
96
96
#endif
97
97
/**@}*/
98
98
@@ -106,12 +106,12 @@ extern "C" {
106
106
/**@{*/
107
107
/*! \brief Maximum number of connection oriented channels */
108
108
#ifndef L2C_COC_CHAN_MAX
109
- #define L2C_COC_CHAN_MAX CORDIO_CFG_MAX_L2CAP_CHANNELS
109
+ #define L2C_COC_CHAN_MAX 8
110
110
#endif
111
111
112
112
/*! \brief Maximum number of connection oriented channel registered clients */
113
113
#ifndef L2C_COC_REG_MAX
114
- #define L2C_COC_REG_MAX CORDIO_CFG_MAX_L2CAP_CLIENTS
114
+ #define L2C_COC_REG_MAX 4
115
115
#endif
116
116
/**@}*/
117
117
@@ -125,12 +125,12 @@ extern "C" {
125
125
/**@{*/
126
126
/*! \brief Maximum number of simultaneous ATT write commands */
127
127
#ifndef ATT_NUM_SIMUL_WRITE_CMD
128
- #define ATT_NUM_SIMUL_WRITE_CMD CORDIO_CFG_MAX_ATT_WRITES
128
+ #define ATT_NUM_SIMUL_WRITE_CMD 1
129
129
#endif
130
130
131
131
/*! \brief Maximum number of simultaneous ATT notifications */
132
132
#ifndef ATT_NUM_SIMUL_NTF
133
- #define ATT_NUM_SIMUL_NTF CORDIO_CFG_MAX_ATT_NOTIFICATIONS
133
+ #define ATT_NUM_SIMUL_NTF 1
134
134
#endif
135
135
/**@}*/
136
136
@@ -144,7 +144,7 @@ extern "C" {
144
144
/**@{*/
145
145
/*! Max number of devices in the database */
146
146
#ifndef SMP_DB_MAX_DEVICES
147
- #define SMP_DB_MAX_DEVICES CORDIO_CFG_MAX_SMP_DEVICES
147
+ #define SMP_DB_MAX_DEVICES 3
148
148
#endif
149
149
/**@}*/
150
150
0 commit comments