diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-03-22 18:26:45 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-03-22 18:42:08 +0100 |
commit | 0416bd086b743b74a2745dd4538a07184ee6ef2e (patch) | |
tree | 4ba40597379b2da93bb0ed5099ef53bf0bb6aba6 /android/bluetooth.h | |
parent | d8eed4517a16cb6c4d7115b65c5a37909d41211d (diff) | |
download | bluez-0416bd086b743b74a2745dd4538a07184ee6ef2e.tar.gz |
android/bluetooth: Constify bdaddr parameter in bt_le_device_found
Diffstat (limited to 'android/bluetooth.h')
-rw-r--r-- | android/bluetooth.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/android/bluetooth.h b/android/bluetooth.h index a03305da3..8dbc623a0 100644 --- a/android/bluetooth.h +++ b/android/bluetooth.h @@ -35,8 +35,9 @@ void bt_bluetooth_unregister(void); int bt_adapter_add_record(sdp_record_t *rec, uint8_t svc_hint); void bt_adapter_remove_record(uint32_t handle); -typedef void (*bt_le_device_found)(bdaddr_t *addr, uint8_t addr_type, int rssi, - uint16_t eir_len, const void *eir); +typedef void (*bt_le_device_found)(const bdaddr_t *addr, uint8_t addr_type, + int rssi, uint16_t eir_len, + const void *eir); bool bt_le_discovery_start(bt_le_device_found cb); typedef void (*bt_le_discovery_stopped)(void); |