We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8763000 commit 59ace63Copy full SHA for 59ace63
src/uniqueHWId.cpp
@@ -19,22 +19,18 @@ bool UniqueHWId::begin() {
19
20
bool UniqueHWId::get(uint8_t* in, uint32_t size) {
21
if (_init == false || size < BOARD_PROVISIONING_ID_SIZE) {
22
- Serial.println("BOARD_PROVISIONING_ID_SIZE ERROR");
23
return false;
24
}
25
uint8_t offset = 0;
26
if (!microId::get(&in[offset], size)) {
27
- Serial.println("microId ERROR");
28
29
30
offset += UC_UID_SIZE;
31
if (!_nId.get(&in[offset], size - offset)) {
32
- Serial.println("networkId ERROR");
33
34
35
offset += IFACE_MAC_ADDR_LENGTH;
36
if (!_sId.get(&in[offset], size - offset)) {
37
- Serial.println("secureId ERROR");
38
39
40
return true;
0 commit comments