Commit Graph
40 Commits
Author SHA1 Message Date
hathach bf90ae6ae4 clean up code 2017-02-28 19:14:38 +07:00
hathach 7b6aee2d24 clean up 2017-02-28 19:06:54 +07:00
hathach ff97880c62 Negotiate connection interval with central using preferred value
- add connInterval() to return actual connection interval in use
2017-02-28 15:28:47 +07:00
hathach 2bf4a57bee comment out PIN authenticate 2017-02-27 15:40:24 +07:00
hathach d4425a15c0 fix #16 correct connected() 2017-02-26 09:23:18 +07:00
hathach 52d8654525 fix notify crash if not connected
start to add PIN support
2017-02-24 22:36:58 +07:00
hathach 046132edf6 Allow BLESerivce to have instance
- remove Bluefruit::addService
2017-02-24 02:12:54 +07:00
hathach dd57126e93 move saveCCCD() to disconnect event 2017-02-23 23:59:23 +07:00
hathach a08b5a79cc rename central to Central 2017-02-23 21:21:45 +07:00
hathach 4cd971fa61 move sys_attr (CCCD) into bond_data 2017-02-23 19:52:03 +07:00
hathach 95fb6b2747 update pairing/bonding. Able to pair/bond with windows 10 2017-02-23 14:56:10 +07:00
hathach 7fbe44cd31 update debug facilities 2017-02-22 01:28:49 +07:00
hathach a3bb011e0e Implement Central Connect, callback for connect/disconnect 2017-02-21 00:00:42 +07:00
hathach 1e2b632998 add Central connect(), seperate Central event handler 2017-02-20 16:22:51 +07:00
hathach 2583f234e6 Central add checkUuidInScan, extractScanData
update central scan demo to check Ble uart service
2017-02-20 15:40:57 +07:00
hathach 6950c98319 group central API into separate class for clarification 2017-02-20 12:35:23 +07:00
hathach ecdc351087 update central to support up to 4 conn with 1 shared secure connection
- adjust SRAM for bluefruit & loop task
- adjust BLE_GATTS_ATTR_TABLE_SIZE from 0x1000 down to 0x0B00
2017-02-18 01:41:07 +07:00
hathach 2faf78ca9b add basic central support
- scanning with callbacks
- add setConnLedInterval() to change period of auto led
2017-02-16 16:40:51 +07:00
hathach b6b2539c30 rename ADV Scan to ScanResp to avoid central scan activity 2017-02-16 14:01:27 +07:00
hathach 7bc3809495 rename enableLedConn() to autoConnLed() 2017-02-10 20:10:21 +07:00
hathach ba434a6c7d add CFG_ADV_BLINKY_INTERVAL instead of hardcoded number 2017-02-10 20:09:18 +07:00
microbuilder a642c1f637 Updated BLE LED blinky rate 2017-02-10 12:53:01 +01:00
hathach 08464a9d4d update blinky pattern
- advertising : blinky at 250ms
- connected: solid on
- otherwise: off
2017-02-10 18:19:23 +07:00
hathach 5055b01229 clean up 2017-02-10 16:40:40 +07:00
hathach ffae8db151 updating demo 2017-01-25 14:45:11 +07:00
hathach a6861aee31 clean up, update HID 2017-01-24 16:04:53 +07:00
hathach 3148b1ec88 add connect/disconnect callback #8 2017-01-24 13:36:39 +07:00
hathach ce76cc5405 change NRF_SUCCESS to ERROR_NONE 2017-01-21 01:19:58 +07:00
hathach 113f8ed5b8 tested BLE Hid keyboard 2017-01-20 22:30:01 +07:00
hathach 90a1bebe2c starting to add BLEHid support 2017-01-20 00:36:37 +07:00
hathach f776b1fc7d fix build error 2017-01-17 21:16:08 +07:00
hathach 5885868343 finish nffs demo 2017-01-17 15:04:37 +07:00
hathach bd188d7ad6 finally able to build 2017-01-14 01:02:23 +07:00
hathach 2022a14e34 add enableLedConn() to Bluefruit to enable/disable seting LED_CONN when connected 2017-01-10 21:39:34 +07:00
hathach eeaf56b083 use SD_EVT_IRQHandler to signal semaphore instead of polling new ble event 2017-01-10 14:40:55 +07:00
hathach d1377d12e6 make _poll private function 2017-01-09 19:35:55 +07:00
hathach 991497ec56 add BLEBeacon support 2017-01-09 16:35:22 +07:00
hathach d657ea303c rename poll() to _poll() for internal usage 2017-01-06 23:50:18 +07:00
hathach b278db8755 use counting semaphore for tx buf management 2017-01-06 23:47:29 +07:00
hathach f9828071fa rename to Bluefruit52Lib 2017-01-06 22:33:33 +07:00