IAR 7.50; KW40Z_Connectivity_Software_1.0.1 (KSDK_1.3.0)
As some module get pre-compiled in the framework like Bluetooth stack, there is a list of necessary, must-have predefines that influence these modules ?
Are some especially defines, design for building with MKW30Z ?
Hi Lucian,
Only the files that are in the Bluetooth/host are pre-compiled, so if you for any reason change some defines, the changes that you did, will be ignored. That values work as a reference code.
Regards,
Mario
what about:
/*! *********************************************************************************
* bluetooth - BLE Stack Configuration
********************************************************************************** *//*! *********************************************************************************
* controller
********************************************************************************** */
/*! *********************************************************************************
* hci_transport
********************************************************************************** */
/* hci_transport.h*/
#define APP_SERIAL_INTERFACE_TYPE (gSerialMgrNone_c)
#define APP_SERIAL_INTERFACE_INSTANCE (0)
/*! *********************************************************************************
* host
********************************************************************************** */
/* ble_general.h */
/* Range 0x0006 0xFFFF default 40 <> 50ms */
#define gcConnectionIntervalMinDefault_c (40)
/* Range 0x0000 0xFFFF default 160 <> 200ms */
#define gcConnectionIntervalMaxDefault_c (160)
#define gcConnectionSlaveLatencyDefault_c (0)
/*! Time = N * 10 ms */
/* Range default 2000 <> 20sec */
#define gcConnectionSupervisionTimeoutDefault_c (2000)
/*! Time = N * 0.625 ms */
#define gcConnectionEventMinDefault_c (0)
/*! Time = N * 0.625 ms */
#define gcConnectionEventMaxDefault_c (0)
/*! *********************************************************************************
* profiles
********************************************************************************** */
/*! *********************************************************************************
* app common
********************************************************************************** */
/* ble_controller_task.c */
#define BD_ADDR 0x13,0x00,0x00,0x9F,0x04,0x00/* ble_controller_task_config.h */
/* Range default 900 */
#define gControllerTaskStackSize_c 900
/* Range default 1 */
#define gControllerTaskPriority_c 1
/* ble_host_task_config.h */
/* Range default 1300 */
#define gHost_TaskStackSize_c 1300
/* Range default 5 */
#define gHost_TaskPriority_c 5
/* Range default 800 */
#define gL2ca_TaskStackSize_c 800
/* Range default 4 */
#define gL2ca_TaskPriority_c 4
/* Range time <= 10msec default 0x08 <-> 5msec */
#define mcAdvertisingPacketInterval_c 0x08
/* Range 0x01 - 0x07 default 0x07 */
#define mcScanChannelMap_c 0x07
/* Range 0x01 - 0x07 default 0x07 */
#define mcInitiatorChannelMap_c 0x07
#define mcOffsetToFirstInstant_c 0xFFFF
/* Default Tx Power on the advertising channel. */
/* Range 0-15 default 5 */
#define mAdvertisingDefaultTxPower_c 5
/* Default Tx Power on the connection channel. */
/* Range 0-15 default 5 */
#define mConnectionDefaultTxPower_c 5