Other Parts Discussed in Thread: SYSCONFIG
Hi ,
We are going to start implementing the FOTA using simple_peripheral_oad_offchip and, bim_offchip. and Already I developed my FW application using simple_peripheral example code which is available in SDK. Now we are planning to integrate the customised simple_peripheral application into the simple_peripheral_oad_offchip code. We did some changes in simple_peripheral application code for our requirement and those changes are listed below,
1) In syscfg -> Configure Genral BLE Setting -> Changed address mode as Public Address in syscfg file.
Changed Max Size of PDU as 255
Chnaged Max Number of Connections as 1
In syscfg -> Configure Peripheral Role Settings -> Changed Requested Min Conn. Interval (ms) as 10
Changed Requested Max Conn. Interval (ms) as 20
In syscfg -> Broadcaster Configuration -> Advertisement set 1 -> Scan Response Data 1 -> Changed Min Connection Interval (ms) as 100
Changed Max Connection Interval (ms) as 130 (Scan Response Data 2 also changed the same)
2) We are using the Internal oscillator LF RCOSC
3) To change the device name device name, Changing the advertisement and scan response data in following arrays advData1, scanResData1, advData2
4) In simple_gatt_profile.c -> In function GATTServApp_ProcessCharCfg -> added the argument like below (SDK BLE stack changes)
Before Change :
GATTServApp_ProcessCharCfg( simpleProfileChar4Config, &simpleProfileChar4, FALSE,
simpleProfileAttrTbl, GATT_NUM_ATTRS( simpleProfileAttrTbl ),
INVALID_TASK_ID, simpleProfile_ReadAttrCB );
After Change: (Here 3rd argument is added to send the length with data during sending notification from periupheral)
GATTServApp_ProcessCharCfg( simpleProfileChar4Config, simpleProfileChar4, length, FALSE,
simpleProfileAttrTbl, GATT_NUM_ATTRS( simpleProfileAttrTbl ),
INVALID_TASK_ID, simpleProfile_ReadAttrCB ); //&simpleProfileChar4 - For 1 byte only
5) Changed the characterestic 4(notification characteristic) buffer length to 240
6) Changed the characterestic 5 permission from GATT_PERMIT_AUTHEN_READ to GATT_PERMIT_READ in gattAttribute_t SimpleProfileAttrTbl[SERVAPP_NUM_ATTR_SUPPORTED] variable.
7) Using GAP_ADV_ENABLE_OPTIONS_USE_MAX option to enable the advertissment instead of GAP_ADV_ENABLE_OPTIONS_USE_DURATION in following API -> GapAdv_enable(gBLE_handle.advHandleLegacy, GAP_ADV_ENABLE_OPTIONS_USE_MAX, 0);
While Integrating customised simple_peripheral application with simple_peripheral_oad_offchip application The above mentioned 7 points will affect the simple_peripheral_oad_offchip application or not ? As soon as possible please let us know this details. If it affects How can we handle it ?

