Cruz Monrreal
b49d949b50
Merge pull request #9393 from pan-/fix-safe-enum-type-safety
...
BLE: Fix SafeEnum type safety
2019-01-28 10:31:52 -06:00
Vincent Coubard
f8ef143ed7
BLE: Fix comparison expression between an integer and a SafeEnum
2019-01-16 16:06:21 +00:00
paul-szczepanek-arm
dd1d473375
future proof return size
2019-01-02 15:42:14 +00:00
paul-szczepanek-arm
7dd90e1810
Docuement active set length and add informative call for querying the limit
2018-12-13 17:51:10 +00:00
paul-szczepanek-arm
e1cf516100
fix max payload and hci length values
2018-12-13 17:50:53 +00:00
Vincent Coubard
e026bce881
BLE: Change parameter order of ble::Gap::startScan
2018-12-03 16:50:10 +00:00
Vincent Coubard
3ddcdf24a3
BLE: Fix ble::Gap::getMaxAdvertisingDataLength return type.
2018-11-29 12:26:40 +00:00
Vincent Coubard
78468fb6e3
BLE: Use RANDOM address per default for Advertising, Scan and Connection parameter.
...
Unlike the public address, the RANDOM address is guaranteed to exist.
If privacy is enabled, it means the controller will generates random resolvable addresses or non resolvable addresses depending on the config.
If privacy is not enabled then the device will use the device's random static address that doesn't change between radio processes.
2018-11-29 12:18:11 +00:00
Vincent Coubard
190b9bc125
BLE: Fix address type in ::ble::Gap::connect
2018-11-26 14:13:07 +00:00
paul-szczepanek-arm
528deb168f
fix wrong variable being swapped
2018-11-26 11:16:23 +00:00
paul-szczepanek-arm
208b1bd3e9
fix size calculation for UUID data payload
2018-11-26 11:10:39 +00:00
Vincent Coubard
0407ee8c81
BLE: move privacy configuration type in ble namespace.
2018-11-26 10:24:35 +00:00
Vincent Coubard
6b8b1d0b7a
BLE: remove minimize fragmentation parameter in Gap.
2018-11-26 10:24:35 +00:00
Vincent Coubard
6cb7645846
BLE: Improve NULL check in ble::AdvertisingDataBuilder implementation.
2018-11-26 10:24:35 +00:00
Vincent Coubard
643fad0162
BLE: Improve code by explaining or textually defining constants
2018-11-26 10:24:35 +00:00
Vincent Coubard
eda3bfb0e3
BLE: Explain magic constant in ble::Gap implementation.
2018-11-26 10:24:35 +00:00
Vincent Coubard
b49870d8ae
BLE: Fix code formating issues in Gap subsystem.
2018-11-26 10:24:35 +00:00
Vincent Coubard
49455dcc87
BLE: set the phy as first parameter in ble::ConnectionParameters.
2018-11-26 10:24:35 +00:00
Vincent Coubard
9f39dba429
BLE: Fix constant declaration of ble::AdvertisingParameters.
2018-11-26 10:24:35 +00:00
paul-szczepanek-arm
02cf9ea94d
moved some funcs to cpp, moved cpp to source folder
2018-11-26 10:24:35 +00:00
paul-szczepanek-arm
e9c0f587af
fix constness to match recent const changes
2018-11-26 10:24:34 +00:00
Vincent Coubard
87f36450f5
BLE: return immutable buffer from AdvertisingDataBuilder::getAdvertisingData
2018-11-26 10:24:34 +00:00
Vincent Coubard
dfa7749d8a
BLE: Split ble/gap/AdvertisingDataBuilder.h into declaration and implementation file.
2018-11-26 10:24:34 +00:00
Vincent Coubard
586aea553b
BLE: Move privacy subsystem to ::ble::Gap.
2018-11-26 10:24:34 +00:00
Vincent Coubard
c54e0d9862
BLE: Move Gap::StopScan into ::ble::Gap::stopScan .
2018-11-26 10:24:34 +00:00
Vincent Coubard
4fdb9c7e67
BLE: provide default implementation ::ble::Gap::isFeatureSupported
2018-11-26 10:24:34 +00:00
Vincent Coubard
02d61cfe24
BLE: Move new version of ::GAP in a new class ::ble::Gap .
2018-11-26 10:24:34 +00:00