Commit Graph
92 Commits
Author SHA1 Message Date
ogatatsu c9f824c816 fix typo 2020-01-19 12:14:29 +09:00
hathach b1b3447a84 Merge pull request #386 from henrygab/patch-4
Fix #380 [-Wunused-variable]
2019-11-08 22:24:56 +07:00
Henry Gabryjelski 8e3c1cb13c Fix #380 [-Wunused-variable] 2019-11-08 01:13:39 -08:00
Henry Gabryjelski 404faa9585 Fix #378: [-Wunused-variable] 2019-11-08 00:44:51 -08:00
hathach b1609877de print disconected reason in example sketch 2019-08-16 13:05:41 +07:00
hathach cbcd9eb324 implement #80, add requestPHY/getPHY support
update prph and central throuhgput example.
2019-08-15 12:32:46 +07:00
hathach d683b573fd adding central throuhgput example 2019-08-13 12:33:04 +07:00
hathach f84899fe4f rename hid client setProtocolMode() to setBootMode() 2019-06-06 16:15:30 +07:00
hathach 9abd152fe5 fix buid conflict between hid central and usb hid 2019-06-06 15:25:26 +07:00
hathach e749dc0619 more clean up 2019-04-06 15:04:28 +07:00
hathach d17d13f819 clean up 2019-04-05 13:47:35 +07:00
hathach 5f06fd2fd9 move getPeerName to BLEConnection 2019-04-05 12:59:50 +07:00
hathach 3730a7dd89 Gap.getPeerName() is replaced by Bluefruit.getPeerName() 2019-01-24 15:01:53 +07:00
hathach ce2c3738bd add conn_handle to Bluefruit.requestPairing()
remove Gap.requestPairing()
2019-01-24 14:23:48 +07:00
hathach e200c8249d Central.disconnect() is repalced by Bluefruit.disconnect() 2019-01-24 14:10:15 +07:00
hathach d15b196fe6 increase max connections to 20 (central + prph) 2019-01-21 23:13:59 +07:00
hathach 1182aca25c enhance example, relate to #150 2019-01-11 14:50:37 +07:00
hathach faeb0bcdf5 client bas work with read() 2019-01-07 16:36:34 +07:00
hathach 3fa4880a22 add link to disconnect reason 2019-01-07 15:33:51 +07:00
hathach 9a0da085b7 Central handle BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST 2019-01-07 15:16:52 +07:00
hathach a63b676f27 rename FileIO.h to Bluefruit_FileIO to prevent lib conflict 2018-11-19 13:17:27 +07:00
hathach 55760a4262 add Scanner resume() 2018-11-09 11:29:37 +07:00
hathach 905bb3b671 correct scanner when using filter. Tested all central example 2018-11-08 20:14:34 +07:00
hathach e5ed77856b update scanner for SD v6 changes
- minor correct for USBSerial write()
2018-11-07 23:44:46 +07:00
hathach 5580249807 add while for serial connection to all examples for nrf52840 native usb 2018-10-30 00:48:45 +07:00
hathach 5adabb9c6a Merge branch 'master' into develop 2018-07-12 21:36:36 +07:00
hathach f7ddbbd14c add reference to hci code for disconnection reason 2018-06-08 11:34:19 +07:00
LAPTOP-JCFJCJ8H\acer c4cb13266e Central connection sample with Peripheral Texas Instruments Sensor Tag (CC2650). Connect, enable optical sensor, adjust measurement/transmission period.
http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User%27s_Guide
2018-06-01 16:13:47 -07:00
hathach 028b420ccf add central hid callback implementation 2018-02-26 17:54:42 +07:00
hathach 203d9bd3f3 update configCentralConn value 2018-02-23 23:24:18 +07:00
hathach f16576b70c central keyboard work with polling method
- central bonding still needs some more work for reconnection.
2018-02-23 18:54:18 +07:00
hathach a092479f60 more central hid code 2018-02-12 16:08:25 +07:00
hathach 98e69635ee adding hid central 2018-02-12 15:17:23 +07:00
hathach d0655b369d change BLECLientCharacteristic notify callback signature
from
notify_cb(BLEClientCharacteristic& chr, uint8_t* data, uint16_t len)
to
notify_cb(BLEClientCharacteristic* chr, uint8_t* data, uint16_t len)

Added
2018-01-18 15:07:39 +07:00
hathach a541fadfb2 fix issue #98 2018-01-05 14:16:23 +07:00
hathach 8e153e3588 add read8,16,32, write8,16,32, write_resp8,16,32 2018-01-05 00:26:01 +07:00
hathach ad313ee8db enhance central custom hrm with more user friendly 2018-01-04 18:53:21 +07:00
hathach 78b3906ec1 rename isValid() to discovered() 2018-01-04 12:03:45 +07:00
hathach 8883aa64a1 update central custom hrm 2018-01-04 12:01:44 +07:00
hathach 697bbcab18 added central_custom_hrm
add BLECLientCharacteristic isValid() and read 8,16, 32 bit
2018-01-03 16:23:09 +07:00
hathach 43b7637a60 add configPrphBandwidth() and configCentralBandwidth() 2017-12-22 13:40: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 444bf505b1 update central comments 2017-12-21 00:36:27 +07:00
hathach 857455d9e4 fix issue with central_uart sketch 2017-12-21 00:28:50 +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
hathach ea73d76513 add printBufferReverse 2017-11-22 09:11:24 +07:00
hathach 76e745df8d add comment for list of tx power 2017-08-04 15:01:55 +07:00
hathach 27192fe5c0 rename 2017-08-02 10:49:54 +07:00
hathach 2a7ff26b5e clean up 2017-08-02 10:48:54 +07:00
hathach f6a66d444a add setTxPower(4) to all sketches 2017-07-19 22:46:42 +07:00