Commit Graph
186 Commits
Author SHA1 Message Date
hathach df8a17ca57 update conn param 2019-01-07 15:54:33 +07:00
hathach 9a0da085b7 Central handle BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST 2019-01-07 15:16:52 +07:00
hathach c3b3317e9c fix connPaired() issue 2018-11-09 12:40:44 +07:00
hathach 2135a173d0 Added Bluefruit.setEventCallback()
close #181
2018-11-09 12:00:50 +07:00
hathach 2b229f4929 move USE_LFXO/USE_LFRC to variant.h 2018-11-08 23:24:03 +07:00
hathach a7f8694220 Merge pull request #144 from jeremypoulter/lfrc_support
Added support for using the Low Frequency RC oscillator
2018-11-08 23:07:53 +07:00
hathach bba2a74b23 adding nrf52840 port1 (pin > 32) support
- also remove ledToggle()
2018-11-07 12:57:49 +07:00
hathach ebbed82c5a more clean up 2018-11-02 19:59:24 +07:00
hathach 9c3c0e7961 fix an issue with BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP 2018-11-01 15:01:29 +07:00
hathach d89de257f7 clean up things 2018-11-01 14:09:42 +07:00
hathach 608cde9b85 update bootloader binaries and multiple clean up 2018-10-30 19:43:38 +07:00
hathach 3361e5acf2 rename flash_nrf52 to flash_nrf5x 2018-10-19 15:09:26 +07:00
hathach ec007902c3 bond save and load key with lfs is OK 2018-10-19 14:51:42 +07:00
hathach 61a9923b5e move bond_init() to correct place 2018-10-19 14:39:57 +07:00
hathach b24f397d5e clean up 2018-10-18 18:07:53 +07:00
hathach 49691adb81 remove Serial.started(), make it safe to call Serial.begin() multiple times 2018-10-18 14:38:43 +07:00
hathach bed0a8f91f update flash_nrf52 to support sd 2018-09-28 00:59:36 +07:00
hathach 2c08159af8 removing nffs, use new flash API for storing bonds 2018-09-27 17:11:47 +07:00
hathach d478e200e1 Merge branch 'master' into develop 2018-09-15 17:02:00 +07:00
hathach ac2c684284 Merge pull request #180 from airbornemint/setConnSupervisionTimeout
Typo in _ppcp_conn_sup_timeout logging
2018-09-02 13:48:42 +07:00
Ben Artin 460a27e255 Fixed typo 2018-09-01 16:23:00 -04:00
hathach 6c32bd8ff7 Merge pull request #177 from airbornemint/setConnSupervisionTimeout
Add a way to set connection supervision timeout
2018-09-01 22:58:13 +07:00
Ben Artin 67ce3062bf Added setConnSupervisionTimeout[MS] 2018-09-01 11:47:21 -04:00
hathach d1a2b917b6 fix nrf power conflict between usb and softdevice
bleuart example work with USB Serial
2018-09-01 15:44:36 +07:00
Ben Artin 6c22010f62 Renamed BLEGATT_ATT_MTU_MAX
to BLE_GATT_ATT_MTU_MAX for consistency
2018-08-26 19:51:30 -04:00
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
hathach 9419606df0 remove configServiceChanged()
since disable service change will cause issue with DFU OTA (inconsisten
att handle of dfu service)
2018-05-25 14:09:06 +07:00
hathach a398152c87 clean up 2018-05-24 20:22:12 +07:00
hathach 9d0979c8be migrate to sd_ble_gap_tx_power_set SD v6 2018-05-21 21:12:42 +07:00
hathach da5e5b2b8a migrate advertising and scanning from SD v5 to v6 API
build ok but functionality not tested
2018-05-21 18:26:51 +07:00
Jeremy Poulter a6fa818cff Updated as per comments 2018-05-05 21:18:14 +01:00
Jeremy Poulter 14482bc76a Added support for using the Low Frequency RC oscillator 2018-04-14 20:25:21 +01:00
hathach bba9ae1d12 Merge branch '0.8.x' into develop 2018-04-03 17:15:33 +07:00
hathach f3136abcda improve bonding with on-the-fly semaphore
enhance central bond
2018-02-26 17:30:14 +07:00
hathach 393ee6cf1d renamed bonded to paired 2018-02-26 15:18:58 +07:00
hathach a05d467686 enhance bonding management
- seperate bond folder for prph and central
- use mac address if couldn't get peer name when saving bond data
2018-02-26 15:11:13 +07:00
hathach 203d9bd3f3 update configCentralConn value 2018-02-23 23:24:18 +07:00
hathach 0e74a76c0a more clean up 2018-02-22 23:47:41 +07:00
hathach c4e25295e2 move pairing event handle code to BLEGap
- add bond_init()
- move thing around
2018-02-22 23:38:41 +07:00
hathach 86ea7e7ae5 more clean up 2018-02-22 15:10:44 +07:00
hathach acd4abec1d clean up 2018-02-22 14:56:36 +07:00
hathach dcbecb8b5f complete move all bond function to bonding.cpp 2018-02-22 14:51:10 +07:00
hathach 4fab39f26a improving bonding management 2018-02-14 00:22:40 +07:00
hathach edea529483 update debug functions 2018-01-15 13:13:22 +07:00
hathach d830129836 removing S132 v2.0.1 support 2018-01-08 11:57:21 +07:00
hathach 3d68b5ed71 fix build error 2017-12-22 14:04:28 +07:00
hathach 43b7637a60 add configPrphBandwidth() and configCentralBandwidth() 2017-12-22 13:40:10 +07:00
hathach f39421f4ef Move Conn Cfg into BLEGap 2017-12-21 22:52:10 +07:00
hathach bb7392ae36 separate prph and central connection bandwidth setting
- add configPrphConn() and configCentralConn() for setting bandwidth for
prph and central connection. These replace  configMaxMtu(),
configGapEventLen(), configHvnTxQueue(), configWriteCmdQueue()
- fix concurrent connection config
- central_uart_multi works with S132 v5
2017-12-21 14:40:44 +07:00
hathach 3ac15c4574 BLE config refactor
- enhance the SRAM usage based on prph & central mode with respect to
user config.
- change Bluefruit.begin(bool, bool) to (uint8_t, uint8_t) as number of
prph & central connections.
2017-12-20 22:59:35 +07:00