@magicred-1/react-native-lxmf 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/useLxmf.d.ts
CHANGED
|
@@ -31,7 +31,9 @@ export declare enum LxmfNodeMode {
|
|
|
31
31
|
/** Listen via FFI's internal TCP (non-standard framing) */
|
|
32
32
|
TcpServer = 2,
|
|
33
33
|
/** Connect to standard Reticulum daemon (rnsd) via HDLC-framed TCP */
|
|
34
|
-
Reticulum = 3
|
|
34
|
+
Reticulum = 3,
|
|
35
|
+
/** TCP/Reticulum + BLE simultaneously on the same transport instance */
|
|
36
|
+
ReticulumAndBle = 4
|
|
35
37
|
}
|
|
36
38
|
export interface TcpInterface {
|
|
37
39
|
host: string;
|
package/build/useLxmf.js
CHANGED
|
@@ -15,6 +15,8 @@ var LxmfNodeMode;
|
|
|
15
15
|
LxmfNodeMode[LxmfNodeMode["TcpServer"] = 2] = "TcpServer";
|
|
16
16
|
/** Connect to standard Reticulum daemon (rnsd) via HDLC-framed TCP */
|
|
17
17
|
LxmfNodeMode[LxmfNodeMode["Reticulum"] = 3] = "Reticulum";
|
|
18
|
+
/** TCP/Reticulum + BLE simultaneously on the same transport instance */
|
|
19
|
+
LxmfNodeMode[LxmfNodeMode["ReticulumAndBle"] = 4] = "ReticulumAndBle";
|
|
18
20
|
})(LxmfNodeMode || (exports.LxmfNodeMode = LxmfNodeMode = {}));
|
|
19
21
|
function parseJson(value, fallback) {
|
|
20
22
|
if (!value)
|