Commit Graph
2816 Commits
Author SHA1 Message Date
hathach ec3257bd2e clean up example 2020-03-18 14:44:37 +07:00
hathach a1ab1a3498 added central pairing example 2020-03-18 14:23:11 +07:00
hathach f35ca052f5 added secured callback 2020-03-18 14:22:36 +07:00
hathach f0440b55ea Pairing added secured callback, requestPairing() is non-blocking now. 2020-03-18 11:25:52 +07:00
hathach 7cc1307517 central auto removes failed bond keys 2020-03-18 11:00:06 +07:00
hathach d0e5946974 rename save/load BondKey 2020-03-18 10:55:05 +07:00
hathach 1210b3e7c0 BLEConnection add _bonded, rename _paired to _secured 2020-03-18 10:18:18 +07:00
hathach 35262982c4 central auto use stored keys if bonded previously 2020-03-18 00:34:29 +07:00
hathach ddded48642 fix central reconnection with LESC 2020-03-17 23:44:09 +07:00
hathach a5fea5644b clean up 2020-03-17 23:42:26 +07:00
hathach 44a98b6e9a enhance pairing to work with numberic comparison 2020-03-17 17:01:49 +07:00
hathach 61beff26b4 update pairing exmaple 2020-03-17 13:37:53 +07:00
hathach 2a53a5f810 add Pairing setIOCaps() and setMITM() 2020-03-17 13:37:02 +07:00
hathach 7b432602aa clean up 2020-03-16 22:44:24 +07:00
hathach b487db9603 rename display callback to passkey callback 2020-03-16 13:22:13 +07:00
hathach 0ee2124e06 clean up BLEConnection 2020-03-14 16:45:50 +07:00
hathach 1a9415005b clean up bonding code 2020-03-14 16:43:16 +07:00
hathach b555131ca2 improve connection requestPairing()
move loadCccd() to
2020-03-14 16:29:51 +07:00
hathach e6bcfcb4c0 update bond remove keys 2020-03-14 16:07:40 +07:00
hathach c6167bc4e5 clean up 2020-03-14 14:37:29 +07:00
hathach 5b16aee26d clean up 2020-03-14 14:35:35 +07:00
hathach 278f82aefe enhance save cccd, only write to flash if contents not matched 2020-03-14 14:27:56 +07:00
hathach 4653f9cdc3 save key dfr don't need malloc 2020-03-14 14:07:31 +07:00
hathach d32aa2c04c move bond_keys and peer_pubkey into BLEPairing
change to use static variable instead of malloc pointer for more
reliability
2020-03-14 14:01:35 +07:00
hathach b5ca5d0387 reworking bonding, save/load using ID Address instead of ediv 2020-03-14 13:40:40 +07:00
hathach cd45f0adc2 move clearBonds() to PrPh 2020-03-14 11:47:27 +07:00
hathach 8f554493db fix swap endian, tested resolveAddress() 2020-03-13 16:17:24 +07:00
hathach 9104585fe0 fix ci 2020-03-13 13:23:49 +07:00
hathach 59e92ec28f temporary use arduino-cli 0.7.2 instead of latest (0.9.0) for building 2020-03-13 13:18:38 +07:00
Ha Thach be74f52943 Merge pull request #457 from adafruit/fix-wire-write
fix #456 Wire Write ambiguous
2020-03-13 13:06:13 +07:00
hathach 565cf6d986 fix ci using arduino-cli 0.8.0 to be able to compile nRFCrypto 2020-03-13 13:05:40 +07:00
hathach a2d32e9747 fix #456 Wire Write ambiguous 2020-03-13 12:26:34 +07:00
hathach fd0b115f42 Merge branch 'master' into develop 2020-03-12 21:38:52 +07:00
Ha Thach 7444ba47a1 Merge pull request #455 from adafruit/release-0.19.0
Release 0.19.0
2020-03-12 19:55:30 +07:00
hathach 6b2f6207f8 more changelog 2020-03-12 18:04:48 +07:00
hathach 7f1946ebbf update changelog, ready to release 2020-03-12 18:03:43 +07:00
hathach 5d1c55a692 bump up version
update bootloader binary from 0.3.0 to 0.3.2
2020-03-12 16:07:45 +07:00
Henry Gabryjelski 2709813ea6 More printf() --> PRINTF() conversion 2020-03-11 16:39:59 -07:00
Henry Gabryjelski f532a27538 And disable Travis-CI once again.
This is too bad, because it had powerful
collapsing sections, which made tracking down
and fixing problems so much easier...
2020-03-11 16:08:43 -07:00
Henry Gabryjelski 7fab012a3a Undo accidental change 2020-03-11 15:42:41 -07:00
Henry Gabryjelski 47d1b4d23f Add defaults to global platforms.txt 2020-03-11 15:25:40 -07:00
Henry Gabryjelski 7777bd9796 Enable CI 2020-03-11 15:25:40 -07:00
Henry Gabryjelski 03805f3c33 Define PRINTF macro regardless of debug level. 2020-03-11 15:25:40 -07:00
Henry Gabryjelski b8fb0cd1e1 Add locations for two additional defines.
The two defines that can later be generated in a user's
own boards.local.txt (or platforms.local.txt) are:
  build.logger_flags
  build.sysview_flags

To be used for the following `#define` identifiers:
  -DCFG_LOGGER=0
  -DCFG_SYSVIEW=0

NOTE: These are NOT defined by default.  This is preparation
for enabling alternative debug output locations.
2020-03-11 15:25:39 -07:00
Henry Gabryjelski decde55d74 Use Print class reference
This is in preparation for enabling output to
be provided via other, potentially more performant,
modes.
2020-03-11 15:25:39 -07:00
Henry Gabryjelski 4565d0cd7d Use uppercase PRINTF.
This is a step in preparation for the ability to
change the default handler for printf(), such as
when advanced debug output capabilities make it
more performant to output via an alternative route.
2020-03-11 15:25:39 -07:00
Henry Gabryjelski 64b05d33aa Fix stack trace debug level check 2020-03-11 15:25:39 -07:00
Limor "Ladyada" Fried 70ff084b16 Merge pull request #452 from adafruit/add-sound-service
Add more sensor services
2020-03-11 13:31:48 -04:00
hathach 062a4d9f50 ci re-enable all examples 2020-03-12 00:05:32 +07:00
hathach 82de26420e fixing ci 2020-03-12 00:01:07 +07:00