Vincent Coubard
e2a2582549
BLE: Fix inclusion of BLE.h (case)
2018-01-17 11:31:50 +00:00
Cruz Monrreal
671c2d7e90
Merge pull request #5346 from scartmell-arm/feature-hal-spec-critical-section
...
Add Critical Section HAL API specification
2018-01-16 12:49:38 -06:00
Daniel Schuler
271b09cda6
Add presentation format descriptor support for NRF52
2018-01-13 15:49:40 -08:00
Cruz Monrreal
dc87f0b1e6
Merge pull request #5313 from pan-/ble-cordio-pal-gap
...
Cordio: Pal Gap implementation
2018-01-11 10:35:42 -06:00
Cruz Monrreal
b32828bc37
Merge pull request #5739 from pan-/nordic-new-client
...
BLE: Nordic pal client implementation
2018-01-11 10:26:47 -06:00
Vincent Coubard
d33b02818a
BLE: Implement Generic GattClient reset logic.
2018-01-10 14:31:52 +00:00
Vincent Coubard
29988d5265
BLE: Align naming of GattClient procedure control blocks.
2018-01-10 14:18:00 +00:00
Vincent Coubard
3061db271d
BLE: Put generic gattclient procedures inside the GattClient class
2018-01-10 14:15:08 +00:00
Steven Cartmell
061795c489
Move in_critical_section implementation into the HAL
...
- Add function to HAL hal_in_critical_section()
- Wrap assert in FEATURE_UVISOR macro
2018-01-09 10:41:29 +00:00
Vincent Coubard
c5bc247217
Nordic BLE: Use SD API version rather than SDK define.
2018-01-08 14:00:23 +00:00
Vincent Coubard
e9ba84168b
Nordic BLE: Fix PalGattClient for SDK v13.
2018-01-08 13:52:42 +00:00
Vincent Coubard
e8bad03a1c
Nordic BLE: Simplification and clarification of pal client implementation.
2018-01-08 12:04:02 +00:00
Vincent Coubard
331e8f2aed
BLE: Fix include dependency in UUID.h.
2018-01-08 12:01:30 +00:00
Steven Cartmell
e14bee5209
Fix potential race condition in critical section HAL API
...
Call underlying HAL implementation to enter critical section/disable interrupts
before incrementing the global critical section counter.
Modify HAL implementations to track first entrances to the critical section and
only update the saved state on first enter.
2018-01-05 14:55:58 +00:00
Steven Cartmell
3c9ae7bf1c
NRF51_DK: Add Critical Section HAL implementation
2018-01-05 14:55:57 +00:00
Vincent Coubard
70e5a14a4d
BLE: Generic Gap - fix address management.
2017-12-21 17:39:25 +00:00
Vincent Coubard
65f74bf8ac
BLE: Address GattClient comments
...
* invalid namespace name documentation
* vocabulary
* typo
* Add constants to improve readability
* Fix abort usages
2017-12-21 16:51:10 +00:00
Vincent Coubard
3fdb749a33
BLE: Remove old client implementation.
2017-12-20 16:27:12 +00:00
Vincent Coubard
865bd94fbd
BLE: Enable Generic client on Nordic targets.
2017-12-20 16:26:40 +00:00
Vincent Coubard
dea488b4f0
BLE: Introduce pal client adaptation layer for nordic targets.
2017-12-20 16:13:06 +00:00
Vincent Coubard
b554fce00f
BLE: Fix doxygen warnings.
2017-12-13 18:30:38 +00:00
Vincent Coubard
c621a92a6a
BLE: Put GapEvent into INVALID doxygen sections.
2017-12-13 16:15:21 +00:00
Vincent Coubard
82f669b61f
BLE: Fix doxygen warnings.
...
Replace @important tag by @attention.
2017-12-13 16:14:16 +00:00
Martin Kojtal
5c01c3e59c
Merge pull request #5633 from paul-szczepanek-arm/master
...
BLE: added function converting error codes into strings
2017-12-12 17:42:10 +00:00
Martin Kojtal
484b4a29d1
Merge pull request #5311 from pan-/ble-generic-gap
...
BLE: Add generic GAP implementation.
2017-12-12 17:38:06 +00:00
paul-szczepanek-arm
4ac75bd7b2
added function converting error codes into strings
2017-12-01 15:25:21 +00:00
Martin Kojtal
9f8ac6523c
Merge pull request #5300 from pan-/ble-pal-event-queue
...
Ble pal event queue
2017-11-30 18:16:45 +00:00
Martin Kojtal
969f8af386
Merge pull request #5589 from pan-/ble-nordic-set-description-handle
...
Nordic: Set handle of user description descriptors.
2017-11-30 18:07:48 +00:00
Martin Kojtal
1498a807c7
Merge pull request #5592 from pan-/ble-nordic-fix-gatt-server-write
...
BLE: Fix GattServer::write on Nordic targets.
2017-11-30 18:05:27 +00:00
Vincent Coubard
6c015b98c9
BLE: Fix greater than or equal to comparision in GattCharacteristic.
2017-11-27 19:08:33 +00:00
Vincent Coubard
6f19dea656
BLE: Fix GattServer::write on Nordic targets.
...
GattServer::write on Nordic's targets use sd_ble_gatts_hvx to send an
handle value Notification or Indication; This function can fail if the
connection handle is invalid or if Updates are not enabled for this
connection.
This patch workaround those limitations.
2017-11-27 18:56:51 +00:00
Vincent Coubard
a665f3e06d
Nordic: Set handle of user description descriptors.
2017-11-27 14:26:05 +00:00
Jimmy Brisson
1ea4e4c446
Merge pull request #5549 from pan-/ble-gatt-server-doc-update
...
Ble gatt server doc update
2017-11-22 10:21:11 -06:00
Jimmy Brisson
23408e40d1
Merge pull request #5299 from pan-/ble-generic-event-filter
...
Ble: generic event filter
2017-11-22 10:14:13 -06:00
Amanda Butler
8e7d74c91a
Update GattService.h
...
Fix minor typos.
2017-11-21 16:08:30 -06:00
Amanda Butler
1da844bdf9
Update GattServer.h
...
Copy edit, mostly for active voice and because American English treats collective nouns as singular.
2017-11-21 16:06:12 -06:00
Amanda Butler
70041c1fdc
Update GattCharacteristic.h
...
Make minor copy edits, mostly for American English.
2017-11-21 15:41:06 -06:00
Amanda Butler
036ea46c8f
Update GattAttribute.h
...
Make minor copy edits for precise language and active voice.
2017-11-21 15:03:03 -06:00
Vincent Coubard
d153af332c
BLE: Update GattServer documentation.
2017-11-21 18:30:08 +00:00
Vincent Coubard
c4351d31d8
BLE: Update GattAttribute documentation.
2017-11-17 14:39:39 +00:00
Martin Kojtal
2a7fcdfe48
Merge pull request #5296 from pan-/generic-access-service-abstraction-layer
...
BLE: Generic access service abstraction layer
2017-11-16 16:22:29 +00:00
Martin Kojtal
81dbd035ab
Merge pull request #5392 from pan-/improve-ble-docs
...
Improve ble docs
2017-11-16 16:21:50 +00:00
Martin Kojtal
b76b3f723d
Merge pull request #5472 from pan-/doc_battery_service
...
BLE: Update BatteryService documentation.
2017-11-16 16:17:50 +00:00
Amanda Butler
a855251cba
Copy edit HeartRateService.h
...
Make minor copy edits.
2017-11-13 04:12:03 -06:00
Vincent Coubard
93a4a2a87b
BLE: update heart rate service definition.
...
This patch includes:
* Documentation update.
* Code simplification and correctness; the value overloads based on the
size of the hrm counter has been removed in favor of runtime check which
is more correct.
* The control point characteristic has been removed since HeartRate value
byte does not support the accumulated energy expanded.
2017-11-10 15:38:39 +00:00
Vincent Coubard
220652ffac
BLE: Fix assertion in Battery service.
2017-11-10 11:02:48 +00:00
Amanda Butler
521345307b
Copy edit BatteryService.h
...
Make minor copy edits, mostly for active voice and U.S. spelling.
2017-11-09 12:39:18 -06:00
Vincent Coubard
423cd23ec0
BLE: Update BatteryService documentation.
2017-11-09 18:08:32 +00:00
Martin Kojtal
82f5b58f4c
Merge pull request #5295 from pan-/GAP-platform-abstraction-layer
...
BLE: Gap platform abstraction layer
2017-11-09 16:54:11 +00:00
Amanda Butler
3dc28ce01b
Copy edit GattCharacteristic.h
...
Copy edit file.
2017-11-08 15:09:00 -06:00