This commit is contained in:
lmx
2025-12-05 19:06:54 +08:00
parent 89f1c93f74
commit 138275a04b
15 changed files with 432 additions and 450 deletions

View File

@ -707,11 +707,8 @@ static int att_write_callback(hci_con_handle_t connection_handle, uint16_t att_h
u16 handle = att_handle;
log_info("write_callback, handle= 0x%04x,size = %d\n", handle, buffer_size);
if(buffer[0] == 0xbe && buffer[1] == 0xbb){
extern void test_func(void);
test_func();
}
extern void le_user_app_event(u8* buffer);
le_user_app_event(buffer);
switch (handle) {