Skip to content

Commit

Permalink
Fix copyrights in MAX32665 Bluetooth examples. Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sihyung-maxim committed Oct 31, 2023
1 parent 192b8a4 commit 3d1e31e
Show file tree
Hide file tree
Showing 69 changed files with 535 additions and 319 deletions.
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE4_ctr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Copyright (c) 2019-2020 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copyright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE5_ctr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Copyright (c) 2019-2020 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions Examples/MAX32665/Bluetooth/BLE_FreeRTOS/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
*
******************************************************************************/

#ifndef EXAMPLES_MAX32665_BLE_FREERTOS_FREERTOSCONFIG_H_
#define EXAMPLES_MAX32665_BLE_FREERTOS_FREERTOSCONFIG_H_
#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_FREERTOS_FREERTOSCONFIG_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_FREERTOS_FREERTOSCONFIG_H_

#include <stdint.h>
#include "max32665.h"
Expand Down Expand Up @@ -148,4 +148,4 @@ void vPostSleepProcessing(uint32_t);
/* FreeRTOS+CLI requires this size to be defined, but we do not use it */
#define configCOMMAND_INT_MAX_OUTPUT_SIZE 1

#endif // EXAMPLES_MAX32665_BLE_FREERTOS_FREERTOSCONFIG_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_FREERTOS_FREERTOSCONFIG_H_
9 changes: 6 additions & 3 deletions Examples/MAX32665/Bluetooth/BLE_FreeRTOS/dats_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand All @@ -21,8 +23,9 @@
* limitations under the License.
*/
/*************************************************************************************************/
#ifndef EXAMPLES_MAX32665_BLE_FREERTOS_DATS_API_H_
#define EXAMPLES_MAX32665_BLE_FREERTOS_DATS_API_H_

#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_FREERTOS_DATS_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_FREERTOS_DATS_API_H_

#include "wsf_os.h"

Expand Down Expand Up @@ -69,4 +72,4 @@ void DatsHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_FREERTOS_DATS_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_FREERTOS_DATS_API_H_
2 changes: 2 additions & 0 deletions Examples/MAX32665/Bluetooth/BLE_FreeRTOS/dats_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*
* Copyright (c) 2019-2020 Packetcraft, Inc.
*
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
2 changes: 2 additions & 0 deletions Examples/MAX32665/Bluetooth/BLE_FreeRTOS/stack_dats.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down
9 changes: 5 additions & 4 deletions Examples/MAX32665/Bluetooth/BLE_LR_Central/lr_central_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,8 +23,9 @@
* limitations under the License.
*/
/*************************************************************************************************/
#ifndef EXAMPLES_MAX32665_BLE_LR_CENTRAL_LR_CENTRAL_API_H_
#define EXAMPLES_MAX32665_BLE_LR_CENTRAL_LR_CENTRAL_API_H_

#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_CENTRAL_LR_CENTRAL_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_CENTRAL_LR_CENTRAL_API_H_

#include "wsf_os.h"

Expand Down Expand Up @@ -71,4 +72,4 @@ void DatcHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_LR_CENTRAL_LR_CENTRAL_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_CENTRAL_LR_CENTRAL_API_H_
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_LR_Central/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions Examples/MAX32665/Bluetooth/BLE_LR_Central/sdsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
*/
/*************************************************************************************************/

#ifndef EXAMPLES_MAX32665_BLE_LR_CENTRAL_SDSC_API_H_
#define EXAMPLES_MAX32665_BLE_LR_CENTRAL_SDSC_API_H_
#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_CENTRAL_SDSC_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_CENTRAL_SDSC_API_H_

#include "att_api.h"

Expand Down Expand Up @@ -95,4 +95,4 @@ void SecDatSvcDiscover(dmConnId_t connId, uint16_t *pHdlList);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_LR_CENTRAL_SDSC_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_CENTRAL_SDSC_API_H_
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
9 changes: 5 additions & 4 deletions Examples/MAX32665/Bluetooth/BLE_LR_Peripheral/lr_periph_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Paritial Copyright (c) 2023 Analog Devices, Inc.
* Paritial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,8 +23,9 @@
* limitations under the License.
*/
/*************************************************************************************************/
#ifndef EXAMPLES_MAX32665_BLE_LR_PERIPHERAL_LR_PERIPH_API_H_
#define EXAMPLES_MAX32665_BLE_LR_PERIPHERAL_LR_PERIPH_API_H_

#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_PERIPHERAL_LR_PERIPH_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_PERIPHERAL_LR_PERIPH_API_H_

#include "wsf_os.h"

Expand Down Expand Up @@ -81,4 +82,4 @@ void FitHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_LR_PERIPHERAL_LR_PERIPH_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_LR_PERIPHERAL_LR_PERIPH_API_H_
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Paritial Copyright (c) 2023 Analog Devices, Inc.
* Paritial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_LR_Peripheral/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Paritial Copyright (c) 2023 Analog Devices, Inc.
* Paritial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Paritial Copyright (c) 2023 Analog Devices, Inc.
* Paritial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
9 changes: 5 additions & 4 deletions Examples/MAX32665/Bluetooth/BLE_datc/datc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,8 +23,9 @@
* limitations under the License.
*/
/*************************************************************************************************/
#ifndef EXAMPLES_MAX32665_BLE_DATC_DATC_API_H_
#define EXAMPLES_MAX32665_BLE_DATC_DATC_API_H_

#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_DATC_DATC_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_DATC_DATC_API_H_

#include "wsf_os.h"

Expand Down Expand Up @@ -71,4 +72,4 @@ void DatcHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_DATC_DATC_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_DATC_DATC_API_H_
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_datc/datc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019-2020 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions Examples/MAX32665/Bluetooth/BLE_datc/sdsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
*/
/*************************************************************************************************/

#ifndef EXAMPLES_MAX32665_BLE_DATC_SDSC_API_H_
#define EXAMPLES_MAX32665_BLE_DATC_SDSC_API_H_
#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_DATC_SDSC_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_DATC_SDSC_API_H_

#include "att_api.h"

Expand Down Expand Up @@ -95,4 +95,4 @@ void SecDatSvcDiscover(dmConnId_t connId, uint16_t *pHdlList);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_DATC_SDSC_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_DATC_SDSC_API_H_
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_datc/stack_datc.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
9 changes: 5 additions & 4 deletions Examples/MAX32665/Bluetooth/BLE_dats/dats_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,8 +23,9 @@
* limitations under the License.
*/
/*************************************************************************************************/
#ifndef EXAMPLES_MAX32665_BLE_DATS_DATS_API_H_
#define EXAMPLES_MAX32665_BLE_DATS_DATS_API_H_

#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_DATS_DATS_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_DATS_DATS_API_H_

#include "wsf_os.h"

Expand Down Expand Up @@ -71,4 +72,4 @@ void DatsHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_DATS_DATS_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_DATS_DATS_API_H_
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_dats/dats_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019-2020 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_dats/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions Examples/MAX32665/Bluetooth/BLE_dats/services/svc_sds.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
*/
/*************************************************************************************************/

#ifndef EXAMPLES_MAX32665_BLE_DATS_SERVICES_SVC_SDS_H_
#define EXAMPLES_MAX32665_BLE_DATS_SERVICES_SVC_SDS_H_
#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_DATS_SERVICES_SVC_SDS_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_DATS_SERVICES_SVC_SDS_H_

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -134,4 +134,4 @@ void SvcSecDataCbackRegister(attsReadCback_t readCback, attsWriteCback_t writeCb
};
#endif

#endif // EXAMPLES_MAX32665_BLE_DATS_SERVICES_SVC_SDS_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_DATS_SERVICES_SVC_SDS_H_
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_fcc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Copyright (c) 2019-2020 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
9 changes: 5 additions & 4 deletions Examples/MAX32665/Bluetooth/BLE_fit/fit_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,8 +23,9 @@
* limitations under the License.
*/
/*************************************************************************************************/
#ifndef EXAMPLES_MAX32665_BLE_FIT_FIT_API_H_
#define EXAMPLES_MAX32665_BLE_FIT_FIT_API_H_

#ifndef EXAMPLES_MAX32665_BLUETOOTH_BLE_FIT_FIT_API_H_
#define EXAMPLES_MAX32665_BLUETOOTH_BLE_FIT_FIT_API_H_

#include "wsf_os.h"

Expand Down Expand Up @@ -79,4 +80,4 @@ void FitHandler(wsfEventMask_t event, wsfMsgHdr_t *pMsg);
};
#endif

#endif // EXAMPLES_MAX32665_BLE_FIT_FIT_API_H_
#endif // EXAMPLES_MAX32665_BLUETOOTH_BLE_FIT_FIT_API_H_
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_fit/fit_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.
* Partial Copright (c) 2022-2023 Analog Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Examples/MAX32665/Bluetooth/BLE_fit/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Copyright (c) 2019 Packetcraft, Inc.
*
* Partial Copyright (c) 2023 Analog Devices, Inc.)
* Partial Copright (c) 2022-2023 Analog Devices, Inc.)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 3d1e31e

Please sign in to comment.