@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.103 to 0.6.104
@@ -29,22 +29,6 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* NOTE: this field is _independent_ and unrelated to the concepts in channel.proto. | ||
* this is controlling the actual hardware frequency the radio is transmitting on. | ||
* In a perfect world we would have called it something else (band?) but I forgot to make this change during the big 1.2 renaming. | ||
* Most users should never need to be exposed to this field/concept. | ||
* A channel number between 1 and 13 (or whatever the max is in the current | ||
* region). If ZERO then the rule is "use the old channel name hash based | ||
* algorithm to derive the channel number") | ||
* If using the hash algorithm the channel number will be: hash(channel_name) % | ||
* NUM_CHANNELS (Where num channels depends on the regulatory region). | ||
* NUM_CHANNELS_US is 13, for other values see MeshRadio.h in the device code. | ||
* hash a string into an integer - djb2 by Dan Bernstein. - | ||
* http://www.cse.yorku.ca/~oz/hash.html | ||
* unsigned long hash(char *str) { | ||
* unsigned long hash = 5381; int c; | ||
* while ((c = *str++) != 0) | ||
* hash = ((hash << 5) + hash) + (unsigned char) c; | ||
* return hash; | ||
* } | ||
* Deprecated in favor of LoraConfig.channel_num | ||
* | ||
* @generated from protobuf field: uint32 channel_num = 1; | ||
* @deprecated | ||
* @generated from protobuf field: uint32 channel_num = 1 [deprecated = true]; | ||
*/ | ||
@@ -51,0 +35,0 @@ channelNum: number; |
@@ -666,2 +666,15 @@ import { MessageType } from "@protobuf-ts/runtime"; | ||
* | ||
* This is controlling the actual hardware frequency the radio is transmitting on. | ||
* Most users should never need to be exposed to this field/concept. | ||
* A channel number between 1 and NUM_CHANNELS (whatever the max is in the current region). | ||
* If ZERO then the rule is "use the old channel name hash based | ||
* algorithm to derive the channel number") | ||
* If using the hash algorithm the channel number will be: hash(channel_name) % | ||
* NUM_CHANNELS (Where num channels depends on the regulatory region). | ||
* | ||
* @generated from protobuf field: uint32 channel_num = 11; | ||
*/ | ||
channelNum: number; | ||
/** | ||
* | ||
* For testing it is useful sometimes to force a node to never listen to | ||
@@ -668,0 +681,0 @@ * particular other nodes (simulating radio out of range). All nodenums listed |
@@ -547,2 +547,3 @@ // @generated by protobuf-ts 2.8.1 with parameter long_type_string | ||
{ no: 10, name: "tx_power", kind: "scalar", T: 5 /*ScalarType.INT32*/ }, | ||
{ no: 11, name: "channel_num", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 103, name: "ignore_incoming", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ } | ||
@@ -549,0 +550,0 @@ ]); |
@@ -152,2 +152,12 @@ /** | ||
* | ||
* Used to let multiple instances of Linux native applications communicate | ||
* as if they did using their LoRa chip. | ||
* Maintained by GitHub user GUVWAF. | ||
* Project files at https://github.com/GUVWAF/Meshtasticator | ||
* | ||
* @generated from protobuf enum value: SIMULATOR_APP = 69; | ||
*/ | ||
SIMULATOR_APP = 69, | ||
/** | ||
* | ||
* Private applications should use portnums >= 256. | ||
@@ -154,0 +164,0 @@ * To simplify initial development and testing you can use "PRIVATE_APP" |
@@ -156,2 +156,12 @@ // @generated by protobuf-ts 2.8.1 with parameter long_type_string | ||
* | ||
* Used to let multiple instances of Linux native applications communicate | ||
* as if they did using their LoRa chip. | ||
* Maintained by GitHub user GUVWAF. | ||
* Project files at https://github.com/GUVWAF/Meshtasticator | ||
* | ||
* @generated from protobuf enum value: SIMULATOR_APP = 69; | ||
*/ | ||
PortNum[PortNum["SIMULATOR_APP"] = 69] = "SIMULATOR_APP"; | ||
/** | ||
* | ||
* Private applications should use portnums >= 256. | ||
@@ -158,0 +168,0 @@ * To simplify initial development and testing you can use "PRIVATE_APP" |
@@ -71,3 +71,3 @@ import { Protobuf, Types } from "./index.js"; | ||
if (!navigator.bluetooth) { | ||
this.log(Types.EmitterScope.iBleConnection, Types.Emitter.connect, `This browser doesn't support the WebBluetooth API`, Protobuf.LogRecord_Level.WARNING); | ||
this.log(Types.EmitterScope.iBleConnection, Types.Emitter.connect, `⚠️ This browser doesn't support the WebBluetooth API`, Protobuf.LogRecord_Level.WARNING); | ||
} | ||
@@ -74,0 +74,0 @@ /** Set device state to connecting */ |
@@ -69,3 +69,3 @@ import { Protobuf, Types } from "./index.js"; | ||
if (!navigator.serial) { | ||
this.log(Types.EmitterScope.iSerialConnection, Types.Emitter.connect, `This browser doesn't support the WebSerial API`, Protobuf.LogRecord_Level.WARNING); | ||
this.log(Types.EmitterScope.iSerialConnection, Types.Emitter.connect, `⚠️ This browser doesn't support the WebSerial API`, Protobuf.LogRecord_Level.WARNING); | ||
} | ||
@@ -72,0 +72,0 @@ /** Set device state to connecting */ |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.103", | ||
"version": "0.6.104", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0-only", |
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
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
536971
10834