File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,10 @@ int BLELocalDevice::begin()
56
56
end ();
57
57
return 0 ;
58
58
}
59
-
60
- randomNumber[5 ] |= 0xC0 ; // Force both MSB bit to b00 in order to define Random Address
59
+ /* Random address only requires 6 bytes (48 bits)
60
+ * Force both MSB bits to b00 in order to define Static Random Address
61
+ */
62
+ randomNumber[5 ] |= 0xC0 ;
61
63
if (HCI.leSetRandomAddress ((uint8_t *)randomNumber) != 0 ) {
62
64
end ();
63
65
return 0 ;
Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ extern "C" {
529
529
* - bit 2: 1: device name Read-Only 0: device name R/W
530
530
* - bit 3: 1: extended advertizing supported 0: extended advertizing not supported
531
531
* - bit 4: 1: CS Algo #2 supported 0: CS Algo #2 not supported
532
- * - bit 7: 1: LE Power Class 1 0: LE Power Classe 2-3
532
+ * - bit 7: 1: LE Power Class 1 0: LE Power Classes 2-3
533
533
* - other bits: reserved ( shall be set to 0)
534
534
*/
535
535
uint8_t Options ;
@@ -1173,7 +1173,7 @@ typedef struct {
1173
1173
1174
1174
/**
1175
1175
* SHCI_GetWirelessFwInfo
1176
- * @brief This function read back the informations relative to the wireless binary loaded.
1176
+ * @brief This function read back the information relative to the wireless binary loaded.
1177
1177
* Refer yourself to MB_WirelessFwInfoTable_t structure to get the significance
1178
1178
* of the different parameters returned.
1179
1179
* @param pWirelessInfo : Pointer to WirelessFwInfo_t.
You can’t perform that action at this time.
0 commit comments