Commit Graph
276 Commits
Author SHA1 Message Date
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 4b2e80d268 clean up 2017-02-23 17:05:33 +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 cbea7f7e32 update bootloader with SD/BL protected 2017-02-22 16:20:12 +07:00
hathach f91c5589c7 update text info, update genpkg 2017-02-22 16:18:55 +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 1196ba52ba clean up warnings 2017-02-21 23:14:03 +07:00
hathach 06cca54daa clean up menu, add DEBUG Level menu 2017-02-21 23:11:38 +07:00
hathach 48bdfa7c59 add syscal_newlib for malloc 2017-02-21 22:45:31 +07: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 0ad37e8bb2 clean up 2017-02-21 14:54:39 +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 0de954ca66 add printBuffer to Print 2017-02-20 15:40:19 +07:00
hathach 6950c98319 group central API into separate class for clarification 2017-02-20 12:35:23 +07:00
hathach beece7db8f minor clean up 2017-02-19 20:53:54 +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 f0c0cec1c2 Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino 2017-02-16 16:42:19 +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
Kevin Townsend 99e0b384e8 Revert NRF_GPIO update 2017-02-14 03:57:30 +01:00
Kevin Townsend e938b724bf Changed digitalPinToPort to return NRF_GPIO
The nRF52 only has a single 32-bit GPIO bank, and the OUT/OUTSET/OUTCLR/IN registers don't have a concept of 'port'
2017-02-14 02:08:34 +01:00