@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.63 to 0.6.64
@@ -104,2 +104,9 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
debugLogEnabled: boolean; | ||
/** | ||
* | ||
* NTP server to use if WiFi is conneced, defaults to `0.pool.ntp.org` | ||
* | ||
* @generated from protobuf field: string ntp_server = 5; | ||
*/ | ||
ntpServer: string; | ||
} | ||
@@ -106,0 +113,0 @@ /** |
@@ -513,3 +513,4 @@ // @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
{ no: 3, name: "factory_reset", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 4, name: "debug_log_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 4, name: "debug_log_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 5, name: "ntp_server", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
]); | ||
@@ -516,0 +517,0 @@ } |
@@ -1018,16 +1018,2 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* Deprecated! ONLY USED IN DEVICE CODE (for upgrading old 1.0 firmwares) DO NOT READ ELSEWHERE. | ||
* The region code for my radio (US, CN, etc...) | ||
* Note: This string is deprecated. | ||
* The 1.0 builds populate it based on the flashed firmware name. | ||
* But for newer builds this string will be unpopulated (missing/null). | ||
* For those builds you should instead look at the new read/write region enum in UserSettings | ||
* The format of this string was 1.0-US or 1.0-CN etc.. Or empty string if unset. | ||
* | ||
* @deprecated | ||
* @generated from protobuf field: string region = 4 [deprecated = true]; | ||
*/ | ||
region: string; | ||
/** | ||
* | ||
* 0.0.5 etc... | ||
@@ -1407,2 +1393,24 @@ * | ||
* | ||
* Compressed message payload | ||
* | ||
* @generated from protobuf message Compressed | ||
*/ | ||
export interface Compressed { | ||
/** | ||
* | ||
* PortNum to determine the how to handle the compressed payload. | ||
* | ||
* @generated from protobuf field: PortNum portnum = 1; | ||
*/ | ||
portnum: PortNum; | ||
/** | ||
* | ||
* Compressed data. | ||
* | ||
* @generated from protobuf field: bytes data = 2; | ||
*/ | ||
data: Uint8Array; | ||
} | ||
/** | ||
* | ||
* Note: these enum names must EXACTLY match the string used in the device | ||
@@ -1581,2 +1589,16 @@ * bin/build-all.sh script. | ||
* | ||
* Custom Disaster Radio esp32 v3 device https://github.com/sudomesh/disaster-radio/tree/master/hardware/board_esp32_v3 | ||
* | ||
* @generated from protobuf enum value: DR_DEV = 43; | ||
*/ | ||
DR_DEV = 43, | ||
/** | ||
* | ||
* M5 esp32 based MCU modules with enclosure, TFT and LORA Shields. All Variants (Basic, Core, Fire, Core2, Paper) https://m5stack.com/ | ||
* | ||
* @generated from protobuf enum value: M5STACK = 44; | ||
*/ | ||
M5STACK = 44, | ||
/** | ||
* | ||
* Reserved ID For developing private Ports. These will show up in live traffic sparsely, so we can use a high number. Keep it within 8 bits. | ||
@@ -1801,2 +1823,9 @@ * | ||
export declare const ToRadio_PeerInfo: ToRadio_PeerInfo$Type; | ||
declare class Compressed$Type extends MessageType<Compressed> { | ||
constructor(); | ||
} | ||
/** | ||
* @generated MessageType for protobuf message Compressed | ||
*/ | ||
export declare const Compressed: Compressed$Type; | ||
export {}; |
@@ -529,2 +529,16 @@ // @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
* | ||
* Custom Disaster Radio esp32 v3 device https://github.com/sudomesh/disaster-radio/tree/master/hardware/board_esp32_v3 | ||
* | ||
* @generated from protobuf enum value: DR_DEV = 43; | ||
*/ | ||
HardwareModel[HardwareModel["DR_DEV"] = 43] = "DR_DEV"; | ||
/** | ||
* | ||
* M5 esp32 based MCU modules with enclosure, TFT and LORA Shields. All Variants (Basic, Core, Fire, Core2, Paper) https://m5stack.com/ | ||
* | ||
* @generated from protobuf enum value: M5STACK = 44; | ||
*/ | ||
HardwareModel[HardwareModel["M5STACK"] = 44] = "M5STACK"; | ||
/** | ||
* | ||
* Reserved ID For developing private Ports. These will show up in live traffic sparsely, so we can use a high number. Keep it within 8 bits. | ||
@@ -824,3 +838,2 @@ * | ||
{ no: 15, name: "max_channels", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 4, name: "region", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 6, name: "firmware_version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
@@ -907,2 +920,15 @@ { no: 7, name: "error_code", kind: "enum", T: () => ["CriticalErrorCode", CriticalErrorCode] }, | ||
export const ToRadio_PeerInfo = new ToRadio_PeerInfo$Type(); | ||
// @generated message type with reflection information, may provide speed optimized methods | ||
class Compressed$Type extends MessageType { | ||
constructor() { | ||
super("Compressed", [ | ||
{ no: 1, name: "portnum", kind: "enum", T: () => ["PortNum", PortNum] }, | ||
{ no: 2, name: "data", kind: "scalar", T: 12 /*ScalarType.BYTES*/ } | ||
]); | ||
} | ||
} | ||
/** | ||
* @generated MessageType for protobuf message Compressed | ||
*/ | ||
export const Compressed = new Compressed$Type(); | ||
//# sourceMappingURL=mesh.js.map |
@@ -33,3 +33,2 @@ /** | ||
* even signal might send messages in this form (see below) | ||
* Formerly called CLEAR_TEXT | ||
* | ||
@@ -139,2 +138,9 @@ * @generated from protobuf enum value: TEXT_MESSAGE_APP = 1; | ||
* | ||
* Compressed payloads. | ||
* | ||
* @generated from protobuf enum value: COMPRESSION_APP = 69; | ||
*/ | ||
COMPRESSION_APP = 69, | ||
/** | ||
* | ||
* Private applications should use portnums >= 256. | ||
@@ -141,0 +147,0 @@ * To simplify initial development and testing you can use "PRIVATE_APP" |
@@ -37,3 +37,2 @@ // @generated by protobuf-ts 2.5.0 with parameter long_type_string | ||
* even signal might send messages in this form (see below) | ||
* Formerly called CLEAR_TEXT | ||
* | ||
@@ -143,2 +142,9 @@ * @generated from protobuf enum value: TEXT_MESSAGE_APP = 1; | ||
* | ||
* Compressed payloads. | ||
* | ||
* @generated from protobuf enum value: COMPRESSION_APP = 69; | ||
*/ | ||
PortNum[PortNum["COMPRESSION_APP"] = 69] = "COMPRESSION_APP"; | ||
/** | ||
* | ||
* Private applications should use portnums >= 256. | ||
@@ -145,0 +151,0 @@ * To simplify initial development and testing you can use "PRIVATE_APP" |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.63", | ||
"version": "0.6.64", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0-only", |
# Meshtastic.js | ||
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/meshtastic/meshtastic.js) ![NPM](https://badgen.net/npm/v/@meshtastic/meshtasticjs) ![Downloads](https://badgen.net/npm/dt/@meshtastic/meshtasticjs) [![CI](https://github.com/meshtastic/meshtastic.js/actions/workflows/ci.yml/badge.svg)](https://github.com/meshtastic/meshtastic.js/actions/workflows/ci.yml) | ||
[![NPM](https://badgen.net/npm/v/@meshtastic/meshtasticjs)](https://www.npmjs.com/package/@meshtastic/meshtasticjs) | ||
[![Downloads](https://badgen.net/npm/dt/@meshtastic/meshtasticjs)](https://www.npmjs.com/package/@meshtastic/meshtasticjs) | ||
[![CI](https://img.shields.io/github/workflow/status/meshtastic/meshtastic.js/CI?label=actions&logo=github&color=yellow)](https://github.com/meshtastic/meshtastic.js/actions/workflows/ci.yml) | ||
[![CLA assistant](https://cla-assistant.io/readme/badge/meshtastic/meshtastic.js)](https://cla-assistant.io/meshtastic/meshtastic.js) | ||
[![Fiscal Contributors](https://opencollective.com/meshtastic/tiers/badge.svg?label=Fiscal%20Contributors&color=deeppink)](https://opencollective.com/meshtastic/) | ||
[![Vercel](https://img.shields.io/static/v1?label=Powered%20by&message=Vercel&style=flat&logo=vercel&color=000000)](https://vercel.com?utm_source=meshtastic&utm_campaign=oss) | ||
@@ -11,4 +15,9 @@ ## Overview | ||
**[Getting Started Guide](https://meshtastic.org/docs/software/js/getting-started)** | ||
**[Documentation/API Reference](https://js.meshtastic.org)** | ||
## Stats | ||
![Alt](https://repobeats.axiom.co/api/embed/8a0bb0a0222172b4eda88c3119b8291813a83994.svg "Repobeats analytics image") | ||
## Installation & Usage | ||
@@ -54,3 +63,1 @@ | ||
![Web Serial compatability matrix](https://caniuse.bitsofco.de/image/web-serial.png) | ||
[![Powered by Vercel](https://raw.githubusercontent.com/abumalick/powered-by-vercel/master/powered-by-vercel.svg)](https://vercel.com?utm_source=meshtastic&utm_campaign=oss) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
490423
10215
62