Skip to content

Instantly share code, notes, and snippets.

@a46554
Created April 2, 2018 09:59
Show Gist options
  • Save a46554/faf9164c092f11ef88ffc90766fd75d0 to your computer and use it in GitHub Desktop.
Save a46554/faf9164c092f11ef88ffc90766fd75d0 to your computer and use it in GitHub Desktop.
#ifndef USE_DEFAULT_USER_CFG
#include "ble_user_config.h"
// BLE user defined configuration
//bleUserCfg_t user0Cfg = BLE_USER_CFG;
#define MY_RF_FE_MODE_AND_BIAS ( RF_FE_DIFFERENTIAL | RF_FE_INT_BIAS)
#define MY_BLE_USER_CFG { MAX_NUM_BLE_CONNS, \
MAX_NUM_PDU, \
MAX_PDU_SIZE, \
MY_RF_FE_MODE_AND_BIAS, \
rfRegTbl, \
&txPwrTbl, \
rfDriverTable, \
eccDriverTable, \
CRYPTO_DRV_TABLE, \
trngDriverTable, \
ASSERT_CBACK, \
L2CAP_NUM_PSM, \
L2CAP_NUM_CO_CHANNELS,\
&pfnBMAlloc, \
&pfnBMFree, \
PM_STARTUP_MARGIN }
bleUserCfg_t user0Cfg = MY_BLE_USER_CFG;
#endif // USE_DEFAULT_USER_CFG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment