File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
features/FEATURE_BLE/ble/gap Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -854,6 +854,17 @@ struct disconnection_reason_t : SafeEnum<disconnection_reason_t, uint8_t> {
854
854
disconnection_reason_t (type value) : SafeEnum(value)
855
855
{
856
856
}
857
+
858
+ /* *
859
+ * Construct a new instance of disconnection_reason_t.
860
+ *
861
+ * @param value The value of the local_disconnection_reason_t created.
862
+ *
863
+ * @note This should only be used for casting raw values from HCI.
864
+ */
865
+ disconnection_reason_t (uint8_t value) : SafeEnum(value)
866
+ {
867
+ }
857
868
};
858
869
859
870
/* *
@@ -917,7 +928,7 @@ struct peripheral_privacy_configuration_t {
917
928
* @note This configuration is also used when the local device operates as
918
929
* an observer.
919
930
*/
920
- struct central_privay_configuration_t {
931
+ struct central_privacy_configuration_t {
921
932
/* *
922
933
* Indicates if nonresolvable random address should be used when the
923
934
* central or observer sends scan request packets.
You can’t perform that action at this time.
0 commit comments