mock.c (ec820d7756c9d2f5a09a7becda8464bd60ffa072) mock.c (5611a760af48d1ce1beea59c7908be73bd2393f1)
1#include <stdint.h>
2#include <stdio.h>
3#include <stdlib.h>
4#include <string.h>
5
6#include "hci.h"
7#include "hci_dump.h"
8#include "l2cap.h"

--- 103 unchanged lines hidden (view full) ---

112 }
113 return 0;
114}
115
116int sm_cmac_ready(void){
117 return 1;
118}
119void sm_cmac_start(sm_key_t k, uint8_t opcode, uint16_t attribute_handle, uint16_t message_len, uint8_t * message, uint32_t sign_counter, void (*done_handler)(uint8_t hash[8])){
1#include <stdint.h>
2#include <stdio.h>
3#include <stdlib.h>
4#include <string.h>
5
6#include "hci.h"
7#include "hci_dump.h"
8#include "l2cap.h"

--- 103 unchanged lines hidden (view full) ---

112 }
113 return 0;
114}
115
116int sm_cmac_ready(void){
117 return 1;
118}
119void sm_cmac_start(sm_key_t k, uint8_t opcode, uint16_t attribute_handle, uint16_t message_len, uint8_t * message, uint32_t sign_counter, void (*done_handler)(uint8_t hash[8])){
120 //sm_notify_client(SM_IDENTITY_RESOLVING_SUCCEEDED, sm_central_device_addr_type, sm_central_device_address, 0, sm_central_device_matched);
120 //sm_notify_client(SM_EVENT_IDENTITY_RESOLVING_SUCCEEDED, sm_central_device_addr_type, sm_central_device_address, 0, sm_central_device_matched);
121}
122int sm_le_device_index(uint16_t handle ){
123 return -1;
124}
125
126void btstack_run_loop_set_timer(btstack_timer_source_t *a, uint32_t timeout_in_ms){
127}
128

--- 45 unchanged lines hidden ---
121}
122int sm_le_device_index(uint16_t handle ){
123 return -1;
124}
125
126void btstack_run_loop_set_timer(btstack_timer_source_t *a, uint32_t timeout_in_ms){
127}
128

--- 45 unchanged lines hidden ---