Skip to content

Commit

Permalink
Copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Jun 23, 2024
1 parent 38ae5c5 commit 9e71f0d
Show file tree
Hide file tree
Showing 14 changed files with 706 additions and 8 deletions.
28 changes: 23 additions & 5 deletions src/auth.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
/**
* This file contains the auth functions.
*
* @file src\auth.ts
* @author Luca Liguori
* @date 2024-05-01
* @version 1.0.0
*
* Copyright 2024, 2025 Luca Liguori.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. *
*/

import crypto from 'crypto';
/*
import { AnsiLogger, TimestampFormat, db, idn, rs, zb } from 'node-ansi-logger';
import { Shelly } from './shelly.js';
import { ShellyDevice } from './shellyDevice.js';
*/

export interface AuthParams {
realm: string; // device_id
Expand Down
23 changes: 23 additions & 0 deletions src/ble.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
/**
* This file contains the ble functions.
*
* @file src\ble.ts
* @author Luca Liguori
* @date 2024-05-01
* @version 1.0.0
*
* Copyright 2024, 2025 Luca Liguori.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. *
*/

/*
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { AnsiLogger, TimestampFormat, db, debugStringify, dn, hk, nf, rs, wr, zb } from 'node-ansi-logger';
Expand Down
23 changes: 23 additions & 0 deletions src/coapServer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
/**
* This file contains the class CoapServer.
*
* @file src\coapServer.ts
* @author Luca Liguori
* @date 2024-05-01
* @version 1.0.0
*
* Copyright 2024, 2025 Luca Liguori.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. *
*/

import { AnsiLogger, BLUE, CYAN, MAGENTA, RESET, TimestampFormat, db, debugStringify, idn, rs } from 'node-ansi-logger';
import coap, { Server, IncomingMessage, OutgoingMessage, globalAgent } from 'coap';
import EventEmitter from 'events';
Expand Down
Loading

0 comments on commit 9e71f0d

Please sign in to comment.