Hello Estephania,
I am sorry for the delayed response since we were on an urgent task. In fact I installed both wireshark and nxp protocol analyzer. I have configured USB-KW41Z to sniff the ble protocol. I have made the same modifications that you have recommended last time to me :
gapAdvertisingParameters_t gAdvParams = {
/* minInterval */ gGapAdvertisingIntervalDefault_c,
/* maxInterval */ gGapAdvertisingIntervalDefault_c,
/* advertisingType */ gAdvDirectedHighDutyCycle_c,
/* addressType */ gBleAddrTypeRandom_c,
/* directedAddressType */ gBleAddrTypePublic_c,
/* directedAddress */ {0x1B, 0x8A, 0xB0, 0x37, 0x60, 0x00},
/* channelMap */ (gapAdvertisingChannelMapFlags_t) (gGapAdvertisingChannelMapDefault_c),
/* filterPolicy */ gProcessAll_c
};
/* Setup Advertising and scanning data */
Gap_SetAdvertisingData(NULL,NULL);//(&gAppAdvertisingData,&gAppScanRspData); //@DAdv
I defined the following filter on wireshark to see only directed adv : btle.advertising_header.pdu_type = = 0x01.
However I cannot see any packet header with the destination address equal to that defined on the struct. You will find attached a screen shot of wireshark
Best ragards,
Souhail