Skip to content

Commit 8763000

Browse files
committed
global renaming
1 parent b14133f commit 8763000

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/compile-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Arduino_SecureElement
2525
# sketch paths to compile (recursive) for all boards
2626
UNIVERSAL_SKETCH_PATHS: |
27-
- examples/HWUniqueId
27+
- examples/uniqueHWId
2828
SKETCHES_REPORTS_PATH: sketches-reports
2929

3030
strategy:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Arduino HardWare Unique Id
1+
# Arduino Unique Hardware Id
22

3-
This library contains a set of functionalities to compute the hardware unique Id
3+
This library contains a set of functionalities to compute the unique hardware Id
44
of an Arduino board

examples/HWUniqueId/HWUniqueId.ino renamed to examples/uniqueHWId/uniqueHWId.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
file, You can obtain one at http://mozilla.org/MPL/2.0/.
99
*/
1010

11-
#include <Arduino_HWUniqueId.h>
11+
#include <Arduino_UniqueHWId.h>
1212

1313
void setup() {
1414
Serial.begin(9600);
1515
while (!Serial);
1616

17-
HWUniqueId Id;
17+
UniqueHWId Id;
1818
if(Id.begin()) {
1919
Serial.println(Id.get());
2020
} else {

library.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name=Arduino_HWUniqueId
1+
name=Arduino_UniqueHWId
22
version=0.0.1
33
author=Arduino
44
maintainer=Arduino <[email protected]>
5-
sentence=Utility module to compute hardware unique identity
5+
sentence=Utility module to compute unique hardware identity
66
paragraph=
77
category=Communication
8-
url=https://github.com/arduino-libraries/Arduino_HWUniqueId
8+
url=https://github.com/arduino-libraries/Arduino_UniqueHWId
99
architectures=*
10-
includes=Arduino_HWUniqueId.h
10+
includes=Arduino_UniqueHWId.h
1111
depends=Arduino_CloudUtils,Arduino_SecureElement

src/Arduino_HWUniqueId.h renamed to src/Arduino_UniqueHWId.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
*/
1010
#pragma once
1111

12-
#include "HWUniqueId.h"
12+
#include "uniqueHWId.h"

src/HWUniqueId.cpp renamed to src/uniqueHWId.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010

1111
#include <Arduino_SHA256.h>
1212
#include <Arduino_HEX.h>
13-
#include "HWUniqueId.h"
13+
#include "uniqueHWId.h"
1414

15-
bool HWUniqueId::begin() {
15+
bool UniqueHWId::begin() {
1616
_init =_sId.begin() && _nId.begin();
1717
return _init;
1818
}
1919

20-
bool HWUniqueId::get(uint8_t* in, uint32_t size) {
20+
bool UniqueHWId::get(uint8_t* in, uint32_t size) {
2121
if (_init == false || size < BOARD_PROVISIONING_ID_SIZE) {
2222
Serial.println("BOARD_PROVISIONING_ID_SIZE ERROR");
2323
return false;
@@ -40,7 +40,7 @@ bool HWUniqueId::get(uint8_t* in, uint32_t size) {
4040
return true;
4141
}
4242

43-
String HWUniqueId::get() {
43+
String UniqueHWId::get() {
4444
uint8_t data[BOARD_PROVISIONING_ID_SIZE];
4545
if (!get(data, sizeof(data))) {
4646
return String("");

src/HWUniqueId.h renamed to src/uniqueHWId.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/*
1818
* This class contains the methods to get board hardware unique id
1919
*/
20-
class HWUniqueId {
20+
class UniqueHWId {
2121

2222
public:
2323
static constexpr int BOARD_PROVISIONING_ID_SIZE = UC_UID_SIZE +

0 commit comments

Comments
 (0)