Part Number: CC2640R2F
Tool/software: Code Composer Studio
i meant to enlarge the PDU_SIZE of the BLE,
I modified some points as mention in some internet source.
such as:
1. add this switch in stack folder file buid_config.opt
* this upper limit for R1 and R2 devices, respectively.
*/
-DBLE_V42_FEATURES=EXT_DATA_LEN_CFG
-DSECURE_CONNS_CFG
2. have relative files gap.c gapbondmgr.c gapbondmgr.h gattservapp_util.c sm_ecc.c under folder PROFILES
3. add this line in file ble_user_config.h
#ifndef MAX_PDU_SIZE
#if defined(BLE_V42_FEATURES) && (BLE_V42_FEATURES & SECURE_CONNS_CFG)
#define MAX_PDU_SIZE 69
#else
#define MAX_PDU_SIZE 27
#endif //(BLE_V42_FEATURES & SECURE_CONNS_CFG)
#endif
// Maximum number of L2CAP Protocol/Service Multiplexers (PSM)
#ifndef L2CAP_NUM_PSM
#define L2CAP_NUM_PSM 3
#endif
add this macros in project options
when i compile the stack folder it passed ,when i comple the app folder got errors as belows
<Linking>
undefined first referenced
symbol in file
--------- ----------------
GAPBondMgr_syncResolvingList <whole-program>
GAP_ResolvePrivateAddr <whole-program>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "ble5_spp_ble_server_cc2640r2lp_app.out" not built
>> Compilation failure
makefile:201: recipe for target 'ble5_spp_ble_server_cc2640r2lp_app.out' failed
gmake[1]: *** [ble5_spp_ble_server_cc2640r2lp_app.out] Error 1
makefile:194: recipe for target 'all' failed
gmake: *** [all] Error 2
HAVE SOME ONE SUCCESSFULLY MODIFIED THE PUD.........?
LOOKING FORWARD SOME SUPPORT THANKS