hci.c (d4876126bb16489996a2ad4e8c7af92149c78eda) hci.c (24d14ae36e95f1a6b777d41469836b4230ab79cc)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

4649#ifdef ENABLE_LE_CENTRAL
4650 // connection parameter to use for outgoing connections
4651 hci_stack->le_connection_scan_interval = 0x0060; // 60 ms
4652 hci_stack->le_connection_scan_window = 0x0030; // 30 ms
4653 hci_stack->le_connection_interval_min = 0x0008; // 10 ms
4654 hci_stack->le_connection_interval_max = 0x0018; // 30 ms
4655 hci_stack->le_connection_latency = 4; // 4
4656 hci_stack->le_supervision_timeout = 0x0048; // 720 ms
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

4649#ifdef ENABLE_LE_CENTRAL
4650 // connection parameter to use for outgoing connections
4651 hci_stack->le_connection_scan_interval = 0x0060; // 60 ms
4652 hci_stack->le_connection_scan_window = 0x0030; // 30 ms
4653 hci_stack->le_connection_interval_min = 0x0008; // 10 ms
4654 hci_stack->le_connection_interval_max = 0x0018; // 30 ms
4655 hci_stack->le_connection_latency = 4; // 4
4656 hci_stack->le_supervision_timeout = 0x0048; // 720 ms
4657 hci_stack->le_minimum_ce_length = 2; // 1.25 ms
4658 hci_stack->le_maximum_ce_length = 0x0030; // 30 ms
4657 hci_stack->le_minimum_ce_length = 0; // 0 ms
4658 hci_stack->le_maximum_ce_length = 0; // 0 ms
4659 hci_stack->le_connection_phys = 0x01; // LE 1M PHY
4660
4661 // default LE Scanning
4662 hci_stack->le_scan_type = 0x01; // active
4663 hci_stack->le_scan_interval = 0x1e0; // 300 ms
4664 hci_stack->le_scan_window = 0x30; // 30 ms
4665 hci_stack->le_scan_phys = 0x01; // LE 1M PHY
4666#endif

--- 5544 unchanged lines hidden ---
4659 hci_stack->le_connection_phys = 0x01; // LE 1M PHY
4660
4661 // default LE Scanning
4662 hci_stack->le_scan_type = 0x01; // active
4663 hci_stack->le_scan_interval = 0x1e0; // 300 ms
4664 hci_stack->le_scan_window = 0x30; // 30 ms
4665 hci_stack->le_scan_phys = 0x01; // LE 1M PHY
4666#endif

--- 5544 unchanged lines hidden ---