Lines Matching full:central
156 * Central:
169 * 2. Make the read callback sleep for more than ATT Timeout when the central tries to read.
172 * 5. Make the read callback respond with the characteristic value when the central tries to read.
174 * 7. Expect the central to disconnect.
178 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in test_timeout() local
188 if (central) { in test_timeout()
194 if (central) { in test_timeout()
199 /* Here disconnect is triggered by the Central host due to ATT timeout. */ in test_timeout()
208 if (central) { in test_timeout()
214 if (central) { in test_timeout()
222 if (central) { in test_timeout()
228 /* Wait for the central to disconnect. */ in test_timeout()
245 bool central = (get_device_nbr() == CENTRAL_DEVICE_NBR); in disconnected() local
251 if (central) { in disconnected()