Commit Graph
197 Commits
Author SHA1 Message Date
hathach afbee8151b fix Bluefruit.connected() 2019-01-22 00:39:58 +07:00
hathach d15b196fe6 increase max connections to 20 (central + prph) 2019-01-21 23:13:59 +07:00
hathach 4813e14129 fix issue with advertising and scanner when disconnected 2019-01-21 22:47:05 +07:00
hathach 72e627149c Bluefruit.connected(void) return number of connected as prph, Central.connected(void) return number of connection as central 2019-01-21 18:26:09 +07:00
hathach 14980fbe12 add bleconnection connected() 2019-01-21 18:16:05 +07:00
hathach 49ad36cdd6 add connected(conn_hdl) for prph 2019-01-21 17:58:22 +07:00
hathach 4e5f419474 rename BLEGapConnection to BLEConnection, move to seperate files 2019-01-18 12:31:40 +07:00
hathach 6578b3a37f BLEGapConnection paired() 2019-01-18 01:47:06 +07:00
hathach 2f1d73890d BLEGap getPeerAddr() 2019-01-17 23:31:30 +07:00
hathach 56ca1fdc48 more ble gap works 2019-01-17 18:55:23 +07:00
hathach e312da361e enhance BLEGap, adding BLEGapConnection to support up to max 20 connections 2019-01-17 12:53:22 +07:00
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