Commit Graph

786 Commits (7095b82126b51ea4bde6df7760f694dd851a47b9)

Author SHA1 Message Date
Vincent Coubard 27011fd954 BLE: Document ble::ScanParameters. 2018-11-26 10:24:35 +00:00
Vincent Coubard 11b1e91592 BLE: Rework ScanParameters construction. 2018-11-26 10:24:35 +00:00
Vincent Coubard 3119f9488c BLE: Construct a phy_set_t from a phy_t. 2018-11-26 10:24:35 +00:00
Vincent Coubard e130bec6a0 BLE: rework ScanParameters::phy_configuration_t 2018-11-26 10:24:35 +00:00
Vincent Coubard 4db8ddfb90 BLE: fix name of functions in ble::ScanParameters. 2018-11-26 10:24:35 +00:00
Vincent Coubard 936f1c550a BLE: Update ble::Gap documentation. 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 6c09b6c465 BLE: Expose representation type in ble::Duration. 2018-11-26 10:24:35 +00:00
Vincent Coubard ce2460a92a BLE: expose representation type and pointer to the inner storage in SafeEnum. 2018-11-26 10:24:35 +00:00
Vincent Coubard 76416b2f47 BLE: Improve implementation readability of ble::advertising_event_t 2018-11-26 10:24:35 +00:00
Vincent Coubard 27dd08431e BLE: remove ble::pal::extended_advertising_report_event_type_t as it is not used. 2018-11-26 10:24:35 +00:00
Vincent Coubard 2a08549b8d BLE: rename ble::Forever into ble::Value. 2018-11-26 10:24:35 +00:00
Vincent Coubard e9637c419a BLE: Remove ble::clamp as it is not used anywhere. 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 f64b37ba0d BLE: Fix function braces opening in header files. 2018-11-26 10:24:35 +00:00
Vincent Coubard 1b734a46d2 BLE: Improve ble::Gap::EventHandler documentation. 2018-11-26 10:24:35 +00:00
Vincent Coubard 70ec1cf641 BLE: Improve naming consistency of Gap event types. 2018-11-26 10:24:35 +00:00
Vincent Coubard dea2ae9c1f BLE: Exclude Gap Event constructors from documentation. 2018-11-26 10:24:35 +00:00
Vincent Coubard 430777e20b BLE: Update documentation of Gap::Events. 2018-11-26 10:24:35 +00:00
Vincent Coubard 8fc62efbd8 BLE: Improve naming consistency of ble::Gap::EventHandler functions. 2018-11-26 10:24:35 +00:00
Vincent Coubard 6e4e733c1c BLE: Add code example for ble::ConnectionParameters. 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 1841f4e75e BLE: Document ble::ConnectionParameters. 2018-11-26 10:24:35 +00:00
Vincent Coubard 8d03d67ae8 BLE: Improve ble::AdvertisingParameters documentation. 2018-11-26 10:24:35 +00:00
Vincent Coubard 52318e464d BLE: rename AdvertisingParameters::*PolicyMode into AdvertisingParameters::*Filter. 2018-11-26 10:24:35 +00:00
paul-szczepanek-arm 2eaec287fb simple scan paramater constructor 2018-11-26 10:24:35 +00:00
paul-szczepanek-arm cd5dabf464 duration added valueInMs 2018-11-26 10:24:35 +00:00
paul-szczepanek-arm c9dcef17dd return func made const 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
Vincent Coubard fea3ac87de BLE: Add forever information to ble::adv_duration_t and ble::scan_duration_t 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
Vincent Coubard ba931f1d4c BLE: Document ble::Duration and satelite classes. 2018-11-26 10:24:34 +00:00
Vincent Coubard e602a5f06c BLE: Improve static constant of Range and Duration. 2018-11-26 10:24:34 +00:00
Vincent Coubard 62674e58e6 BLE: Handle forever value in ble::Duration operators. 2018-11-26 10:24:34 +00:00
Vincent Coubard 49f5c7f833 BLE: Fix Bounded constant declaration. 2018-11-26 10:24:34 +00:00
Vincent Coubard 07c05917e0 BLE: Add Duration::forever() function. 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 7b0cb27427 added type conversion for connection params 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 7fb863eeb4 missing virtual 2018-11-26 10:24:34 +00:00
Vincent Coubard 80db38c60a BLE: Cleanup bounded and document it. 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm e9c0f587af fix constness to match recent const changes 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm b293426a81 missing overloads 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm ed10543093 missing virtual 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 1bf5826cdc pull in more inherited overloads 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm e49b5230cc fix missing index 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 86dc6d71ee BLE: Fix includes of ble/gap/AdvertisingDataBuilder.h , 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 dd2c85d063 BLE: Fix signeness warning in AdvertisingDataBuilder. 2018-11-26 10:24:34 +00:00
Vincent Coubard bc6078eb77 BLE: prevent warning from deprecated API implementation in GenericGap. 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 a9fd003803 BLE: Move uses of deprecated Gap functions into isolated and warning free block. 2018-11-26 10:24:34 +00:00
Vincent Coubard 1802909272 BLE: Move Gap deprecated implementation in source/Gap.cpp .
The implementation has been moved to a block that do not issue deprecation warning as this is an implementation detail.
2018-11-26 10:24:34 +00:00
Vincent Coubard 0b746a78c8 BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 2e6fefa289 missing defaults 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 376cbd25fa fixed index and default constructor in conn params 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm b0b6346050 added extra constructor 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 75e6128776 solve link problems 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm e5e7f3edef pull in inherited overloads 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 935444d128 use correct type for service data based on uuid length 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 79518ca089 service data allows both types of UUIDs 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
paul-szczepanek-arm 84dd169d14 allow long uuids in service data 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 181ce00902 fix size checks 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 062c301a96 check min size for custom data 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm e54c0ed1de simplify UUID funcs 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm acd7ec3572 check sizes, use memcpy 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 92cbec3e41 requested services 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 91fa548953 verify parameters 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm aefd92a838 docs 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 656aa4fa4c CONNECTION INTERVAL HELPER 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 7ab45e4c09 individual operations 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 0b1b07f9f1 service data 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 4a850207fa remove redundant calulations 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 4b6eede76b UUID handling 2018-11-26 10:24:34 +00:00
Vincent Coubard 869bb308c5 BLE: Add API to manage GAP connection parameter updates. 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm b6a0c8aea5 helper functinos 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 0d95ccb4ba fix enum values 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 838de80fbf flags no longer a safenum 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 6ef90b5ca7 remove data instead of replace data 2018-11-26 10:24:34 +00:00
paul-szczepanek-arm 862775d3df extra data builder funcs 2018-11-26 10:24:33 +00:00
Vincent Coubard da7d4a0c12 BLE: Introduce new disconnection API. 2018-11-26 10:24:33 +00:00
Vincent Coubard 7d7ccea827 BLE: clean separation between GAP v1 and GAP v2 API. 2018-11-26 10:24:33 +00:00
Vincent Coubard c165bd98b7 BLE: Add explicit constructor for Duration that accepts millisecond in input. 2018-11-26 10:24:33 +00:00
Vincent Coubard fa4aa8f068 BLE: remove inner V2 typedef in Gap class. 2018-11-26 10:24:33 +00:00
Vincent Coubard d3c26f4283 BLE: rename functions that trap concurrent use of incorect GAP APIs 2018-11-26 10:24:33 +00:00
Vincent Coubard 6de585f7bf BLE: rename Gap::IsFeatureSupported into Gap::isFeatureSupported 2018-11-26 10:24:33 +00:00
Vincent Coubard 5f435debd0 BLE: remove ble:: prefixes in ble::AdvertisingParameters. 2018-11-26 10:24:33 +00:00
Vincent Coubard 46815cc371 BLE: remove ble:: prefixes in ble::ScanParameters. 2018-11-26 10:24:33 +00:00
Vincent Coubard 6c75c53127 BLE: Move gap events into ble namespace. 2018-11-26 10:24:33 +00:00
Vincent Coubard 7123364674 BLE: remove not required prefixes in ble::ConnectionParameters. 2018-11-26 10:24:33 +00:00
Vincent Coubard c1cd5ede84 BLE: Cleanup ble::connection_role_t. 2018-11-26 10:24:33 +00:00
Vincent Coubard 493c8580cc BLE: cleanup of clock_accuracy_t 2018-11-26 10:24:33 +00:00
paul-szczepanek-arm 3e72570c52 move values out of GAP 2018-11-26 10:24:33 +00:00
Vincent Coubard 7aa1e95193 BLE: merge ble::target_peer_address_type_t and advertising_peer_address_type_t 2018-11-26 10:24:33 +00:00
paul-szczepanek-arm d8eb9de459 fix names 2018-11-26 10:24:33 +00:00
paul-szczepanek-arm 7ea560a955 size clarification 2018-11-26 10:24:33 +00:00
paul-szczepanek-arm 33ab365d2c advertising data 2018-11-26 10:24:33 +00:00
Vincent Coubard ad127d76af BLE: merge ble::own_address_t and pal::own_address_type_t. 2018-11-26 10:24:33 +00:00