mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 10:13:29 +00:00
ble/gatt-service: set invalid state device information client for testing purposes
This commit is contained in:
parent
286242d86d
commit
71be2750e8
@ -472,3 +472,12 @@ void device_information_service_client_init(void){
|
||||
|
||||
void device_information_service_client_deinit(void){}
|
||||
|
||||
// unit test only
|
||||
#if defined __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
void device_information_service_client_set_invalid_state(void);
|
||||
void device_information_service_client_set_invalid_state(void){
|
||||
device_information_service_client_t * client = device_information_service_client_get_client();
|
||||
client->state = DEVICE_INFORMATION_SERVICE_CLIENT_STATE_IDLE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user