Commit Graph
214 Commits
Author SHA1 Message Date
hathach b7323d1819 Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral 2019-02-01 16:16:20 +07:00
hathach 6dd7918cc9 clean up 2019-01-24 16:37:16 +07:00
hathach bc36c95133 correct Bluefruit setTxPower() 2019-01-24 15:20:43 +07:00
hathach 3730a7dd89 Gap.getPeerName() is replaced by Bluefruit.getPeerName() 2019-01-24 15:01:53 +07:00
hathach ba79e6d4bf Gap.setAddr()/getAddr() are replaced by Bluefruit's setAddr()/getAddr() 2019-01-24 14:55:48 +07:00
hathach ce2c3738bd add conn_handle to Bluefruit.requestPairing()
remove Gap.requestPairing()
2019-01-24 14:23:48 +07:00
hathach 6a503f397b remove Bluefruit.connInterval() 2019-01-24 14:06:10 +07:00
hathach 08c0f5f70a update connected() for bluefruit and BLEPeriph 2019-01-24 14:02:45 +07:00
hathach 7ab2b653ae add conn_hdl to Bluefruit.getPeerAddr() 2019-01-24 13:46:53 +07:00
hathach 667d054771 remove a getPeerAddr(uint8_t[6]) variant 2019-01-24 01:12:30 +07:00
hathach a6ba9aa1cf add disconnect() to BLEConnection 2019-01-24 01:06:23 +07:00
hathach 820e08f2dc adding BLEPeriph
- move setDisconnectCallback(), setDisconnectCallback()
2019-01-24 00:52:57 +07:00
hathach b03984519c Adding BLEPeriph
- move setConnInterval(), setConnIntervalMS(),
setConnSupervisionTimeout(), setConnSupervisionTimeoutMS() into BLEPerph
2019-01-24 00:44:49 +07:00
hathach e42b11d348 clean up 2019-01-24 00:07:11 +07:00
hathach 67d0890ba5 change Bluefruit.begin() return type to bool 2019-01-23 19:32:35 +07:00
hathach 5d76dfa012 clean up 2019-01-22 23:04:29 +07:00
hathach 89be3a197f rename Gap.getConnection() to simply Connection() 2019-01-22 22:54:33 +07:00
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