Commit Graph
145 Commits
Author SHA1 Message Date
hathach 0beff63269 refactor service discovery 2017-03-29 15:33:48 +07:00
hathach 15ddb3ede5 central enhancement
- change discoverCharacteristic() API
- add BLECentralUart Rx callback,
- add BLECentralService discovered()
- refactor BLECentralCharacteristic
2017-03-29 15:02:45 +07:00
hathach f08759ad64 add characteristic write, write_resp() support 2017-03-29 00:38:54 +07:00
hathach 4cb70667f5 change write() return type to uint16_t 2017-03-27 20:43:16 +07:00
hathach 1cc6654adf clean up notify API 2017-03-27 20:09:40 +07:00
hathach adffcef44f rename _txbuf_sem to _txpacket_sem 2017-03-27 17:00:23 +07:00
hathach 6ead6cc678 rename txbuf_get to getTxPacket 2017-03-27 16:50:13 +07:00
hathach c8a2a51008 clean up prph and central 2017-03-27 16:24:27 +07:00
hathach c8e0d8f537 implemented read() support for BLECentralUart 2017-03-23 02:34:30 +07:00
hathach be42b0a360 add parent service for central 2017-03-23 02:21:52 +07:00
hathach 9f40cbfb1e [central] callback support for chars
- add enableNotify()
2017-03-23 01:57:44 +07:00
hathach 71cc024ee4 clean up 2017-03-23 01:48:42 +07:00
hathach 666c00cbf4 clean up 2017-03-22 23:22:38 +07:00
hathach bba444f0b4 [central] add connHandle() 2017-03-22 22:13:33 +07:00
hathach 83fe22cdf0 remvoe malloc in Central discoverDescriptor() and clean up 2017-03-22 21:55:09 +07:00
hathach 1e15b3884e implement Central Characteristic Descriptor Discovery 2017-03-22 21:36:55 +07:00
hathach 65f86005c3 add Central discoverDescriptor() 2017-03-22 19:30:17 +07:00
hathach 7dc80ba645 clean up 2017-03-22 18:00:55 +07:00
hathach 6354c8d186 adding BLECentralService, BLECentralCharacteristic, BLECentralUart serivce 2017-03-22 17:17:11 +07:00
hathach 9ca48429cf change BLEUuid.size() to return number of bits instead of bytes 2017-03-22 15:02:44 +07:00
hathach 98402b1a50 add BLEUuid.cpp
since it got more complex
2017-03-22 14:55:27 +07:00
hathach 6f0e361b8f adding BLECentralCharacteritic, add hid_camerashutter sketch 2017-03-22 13:38:22 +07:00
hathach ad6f48c4d2 update discoveryService 2017-03-22 00:25:32 +07:00
hathach 660c4c7f15 adding central support 2017-03-21 22:57:09 +07:00
hathach 85ce580e9e fix typo 2017-03-21 14:48:19 +07:00
hathach 861af7b7e2 clean up BLEUuid merge uuid16 & uuid128 with copy operator
- also change DIS model to "Bluefruit Feather 52"
2017-03-20 18:21:33 +07:00
hathach a6f1318f3e trigger callback once byte event 2017-03-18 17:00:19 +07:00
Todd Treece ca4cbe9f79 add MIDI isStatusByte helper 2017-03-17 12:43:36 -04:00
Todd Treece 9fb32b24c8 drop MIDI TX buffer back to 3, and fix sysex end message 2017-03-17 11:55:05 -04:00
hathach 555e4a368a add LED_RED & LED_BLUE macro 2017-03-17 13:24:12 +07:00
hathach 80508ca5a4 clean up ble event handler for peripheral 2017-03-17 13:14:27 +07:00
hathach a90c0b2589 add char read 2017-03-17 12:54:10 +07:00
Todd Treece 336e9b1075 support sending all MIDI event types 2017-03-16 21:20:04 -04:00
Todd Treece 2c9dfea7b1 simplify BLE MIDI input & support all message types 2017-03-16 13:09:39 -04:00
hathach a1c3cc04dc clean up 2017-03-16 16:00:52 +07:00
hathach cfc3bd1f8c get SD version instead of hardcode string 2017-03-15 15:33:17 +07:00
hathach 27d9020f56 clean up 2017-03-15 02:32:48 +07:00
hathach dab80d1f60 try to support SysEx 2017-03-15 02:27:03 +07:00
hathach 1f2d698d2a rename to simply Nffs.h 2017-03-15 01:53:06 +07:00
hathach 100ba3af0f rename NewtNffs to ApacheNffs 2017-03-15 01:47:29 +07:00
hathach 8d80b01f84 add keywords.txt 2017-03-15 01:21:32 +07:00
microbuilder 93a9526e2f Minor cleanup to match documentation 2017-03-13 17:38:34 +01:00
hathach dae79f7373 reduce blemidi fifo 2017-03-12 23:49:28 +07:00
hathach 5f04c13b35 clean up blemidi. Add auto invoke MIDI.read() behavior 2017-03-12 23:45:40 +07:00
hathach 221a07223a Merge branch 'master' of github.com:adafruit/Adafruit_nRF52_Arduino
libraries/Bluefruit52Lib/examples/Peripheral/blemidi_callback/blemidi_callback.ino
2017-03-11 01:03:37 +07:00
hathach c90609bc50 clean up 2017-03-11 00:52:47 +07:00
Todd Treece 89d88920c4 don't require a MIDI write callback 2017-03-10 11:00:51 -05:00
Todd Treece b599404933 bump MIDI FIFO to 256 2017-03-10 11:00:35 -05:00
Todd Treece 50d24e8936 init BLE midi from MIDI.begin() 2017-03-09 13:46:21 -05:00
hathach d0677e6b99 fix MCU speed 64MHz instead of 16MHz
use 32Khz crystal instead of RC for clock
2017-03-09 16:20:06 +07:00