File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2348,7 +2348,7 @@ class Gap {
2348
2348
* @param[in] type Advertising type of the packet.
2349
2349
* @param[in] advertisingDataLen Length of the advertisement data received.
2350
2350
* @param[in] advertisingData Pointer to the advertisement packet's data.
2351
- * @param[in] addressType address type of the peer.
2351
+ * @param[in] addressType Type of the address of the peer that has emitted the packet .
2352
2352
*/
2353
2353
void processAdvertisementReport (
2354
2354
const BLEProtocol::AddressBytes_t peerAddr,
@@ -2357,8 +2357,12 @@ class Gap {
2357
2357
GapAdvertisingParams::AdvertisingType_t type,
2358
2358
uint8_t advertisingDataLen,
2359
2359
const uint8_t *advertisingData,
2360
- BLEProtocol::AddressType_t addressType
2360
+ BLEProtocol::AddressType_t addressType = BLEProtocol::AddressType::RANDOM_STATIC
2361
2361
) {
2362
+ // FIXME: remove default parameter for addressType when ST shield is merged;
2363
+ // this has been added to mitigate the lack of dependency management in
2364
+ // testing jobs ....
2365
+
2362
2366
AdvertisementCallbackParams_t params;
2363
2367
memcpy (params.peerAddr , peerAddr, ADDR_LEN);
2364
2368
params.rssi = rssi;
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ static void maximHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg)
169
169
(GapAdvertisingParams::AdvertisingType_t)scanReport->eventType ,
170
170
scanReport->len ,
171
171
scanReport->pData ,
172
- (BLEProtocol::AddressType_t) scan-> scanReport . addrType );
172
+ (BLEProtocol::AddressType_t) scanReport-> addrType );
173
173
}
174
174
break ;
175
175
case DM_CONN_OPEN_IND:
You can’t perform that action at this time.
0 commit comments