move pairing event handle code to BLEGap
- add bond_init() - move thing around
This commit is contained in:
1 parent
86ea7e7ae5
commit
c4e25295e2
7 files changed
+349
-220
No files matched your search
@@ -54,6 +54,13 @@
|
||||
* - CCCD variable
|
||||
*------------------------------------------------------------------*/
|
||||
|
||||
void bond_init(void)
|
||||
{
|
||||
// Initialize nffs for bonding (it is safe to call nffs_pkg_init() multiple time)
|
||||
Nffs.begin();
|
||||
(void) Nffs.mkdir_p(CFG_BOND_NFFS_DIR);
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
/* Keys
|
||||
*------------------------------------------------------------------*/
|
||||
|
||||
Reference in new issue
Block a user