mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
don't include private headers
This commit is contained in:
parent
510ea4fb9c
commit
3a35442530
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
#import <btstack/btstack.h>
|
#import <btstack/btstack.h>
|
||||||
#import <btstack/BTDevice.h>
|
#import <btstack/BTDevice.h>
|
||||||
#import "../../RFCOMM/rfcomm.h"
|
|
||||||
|
|
||||||
#define INQUIRY_INTERVAL 3
|
#define INQUIRY_INTERVAL 3
|
||||||
|
|
||||||
@ -514,6 +513,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
|||||||
if (deviceDict){
|
if (deviceDict){
|
||||||
linkKey = [deviceDict objectForKey:PREFS_LINK_KEY];
|
linkKey = [deviceDict objectForKey:PREFS_LINK_KEY];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (linkKey) {
|
if (linkKey) {
|
||||||
// NSLog(@"Sending link key for %@, value %@", devAddress, linkKey);
|
// NSLog(@"Sending link key for %@, value %@", devAddress, linkKey);
|
||||||
bt_send_cmd(&hci_link_key_request_reply, &event_addr, [linkKey bytes]);
|
bt_send_cmd(&hci_link_key_request_reply, &event_addr, [linkKey bytes]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user