Commit Graph
108 Commits
Author SHA1 Message Date
microbuilder d8d6792b60 Switched to .setFixedLen 2017-02-24 19:03:29 +01:00
microbuilder efb67c8261 Error handling cleanup 2017-02-24 19:01:02 +01:00
microbuilder 63d38ab461 Minor cleanup 2017-02-24 18:20:16 +01:00
thach ha ee94becfc5 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-24 23:17:53 +07:00
thach ha 9c1fb31bc1 notify return
- NRF_ERROR_INVALID_PARAM if characteristic properties is not notify
- NRF_ERROR_INVALID_STATE if it is not connected and/or cccd is not enabled for notification
- ERROR_NONE if could sending out notification message
2017-02-24 23:06:18 +07:00
microbuilder ba8a98d0f0 Minor cleanup 2017-02-24 16:50:09 +01:00
hathach 52d8654525 fix notify crash if not connected
start to add PIN support
2017-02-24 22:36:58 +07:00
microbuilder 2de6846c28 Minor cleanup 2017-02-24 15:42:05 +01:00
microbuilder 0167d15ace Minor cleanup 2017-02-24 15:36:38 +01:00
microbuilder bd5e974565 Added CCCD update text 2017-02-24 13:42:36 +01:00
hathach 04796e294c change hrmc flag back 2017-02-24 12:14:55 +07:00
hathach 4bffc65b9e add check for characteristic max_len 2017-02-24 12:10:12 +07:00
microbuilder 36cfbe0106 Minor cleanup 2017-02-23 22:35:19 +01:00
microbuilder a461435ae2 Example of custom service implementation 2017-02-23 22:16:59 +01: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 b194a62588 add support for bonded sharing to DFU, could force bonded only for security reason for DFU upgrade 2017-02-23 21:14:42 +07:00
hathach c75998b5aa clean up 2017-02-23 19:54:20 +07:00
hathach 7b00d428f8 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-23 19:53:34 +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
microbuilder 47c9137094 Added warning on NFC to GPIO sketch 2017-02-22 19:11:31 +01:00
hathach 9a1d6bfc60 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-22 16:20:38 +07:00
hathach 7fbe44cd31 update debug facilities 2017-02-22 01:28:49 +07:00
microbuilder 69c40efd32 NFC to GPIO pin config sketch 2017-02-21 18:03:25 +01:00
hathach 862d211d2c clean up add connect/disconnect callback 2017-02-21 21:27:23 +07:00
hathach 0317b59c49 clean up 2017-02-21 17:24:33 +07:00
hathach 136f46331a add CCCD Write callback for BLECharacteristic 2017-02-21 17:24:23 +07:00
hathach a5a409d51c clean up 2017-02-21 15:20:38 +07:00
hathach 40d1768020 adding BLE MIDI support 2017-02-21 14:27:09 +07:00
hathach ff4c9f9493 add central bleuart example 2017-02-21 00:01:01 +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 ecedd3d0e2 refactor linker & startup for dynamic checking stack & heap usage.
- add syscall __sbrk() for malloc function
- add dbgMemInfo() is visual format
- FreeRTOS enable : configCHECK_FOR_STACK_OVERFLOW,
configUSE_MALLOC_FAILED_HOOK, configUSE_TRACE_FACILITY,
configUSE_STATS_FORMATTING_FUNCTIONS
2017-02-17 23:07:30 +07:00
hathach c901a55ef6 add central scan example 2017-02-16 16:41:45 +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 ea69011f9e add bleuart rx callback for user 2017-02-13 22:51:07 +07:00
Kevin Townsend c1475da668 Cleanup 2017-02-13 02:29:14 +01:00
Kevin Townsend e2a563312c Cleanup 2017-02-13 02:27:51 +01:00
Kevin Townsend 36361d5ed0 Cleanup 2017-02-13 02:25:48 +01: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
microbuilder ceeec80e33 Updated blinky pattern 2017-02-10 12:52:46 +01:00
hathach 7cf9d485cb Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-10 18:20:03 +07:00